Skip to content

Fix content of line with incomplete encoding

Friedrich W. H. Kossebau requested to merge work/kossebau/fixencodingwarning into 1.7

newline is a QString. Assigning the return type of codec->fromUnicode() which is a QByteArray invokes the fromUtf8 conversion. Which is the wrong encoding, as the returned QByteArray does not hold the string in UTF-8 but the very encoding of the used coded.

@psn @hein @argonel

Merge request reports