[QScintilla] Problem with utf8 encoding

Micke dronten at gmail.com
Sat Oct 27 14:48:58 BST 2007


It looks like QScintilla does not detect utf8 mode when setting text.
Even if I force reading text with QTextStream::setCodec("UTF-8")

The same with saving, after using  QScinilla::setUtf8(true) and
QTextStream::setCodec("UTF-8") there are still no BOM characters in
the file.

And when the text is in latin1 mode, the extended latin characters
can't be used
(characters after '~'), like the swedish åäö.
Although they can be pasted into the editor.

/Micke



More information about the QScintilla mailing list