Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
QScintilla - how to set Unix lf, ANSI encoding?
mbergmann-sh last edited by
I'm writing on asource code Editor for an Amiga Cross Compiling Environment under Linux/Windows/Mac, using Qt5 and QScintilla 2.9.
The Amiga used an encoding page simmilliar to ECMA Latin-1, which is identical to ISO-8859-1. When opened in Notepad++, an Amiga C source file shows up correctly when set to encoding: Unix lf, ANSI. How to tell my QScitilla textEditor widget to reproduce the same behaviour? ATM, I'm simply initializeing the widget with 'editor.setUtf8(false)' - which ends up in wrong characters. For example, '@' and other certain characters simply are represented as '?'.
Any help apreciated!
You should check the QScintilla mailing list. You'll more likely get an answer there for your problem.