Port to QStringConverter
-
Developer
If we have to expect arbitrary codecs here (ie. if this is received HTML, not something we generate) I think we instead need to drop using QTextStream here and manually push the data in blocks through QStringDecoder (since 6.4 that has a ctor for taking an arbitrary codec name).
IIRC we did a similar change in KTextEditor, QTextStream unfortunately lost that feature.
Please register or sign in to comment