[Qt-interest] Accented characters and QDom in Windows
Ellen Kestrel
dragonflykes at gmail.com
Fri Aug 21 11:35:55 CEST 2009
Hi Ellen
>
> There should be no problem with those characters.
>
> I'm seeing them right now and it's a Qt4 application using QTextEdit
> (KMail,
> actually KTextEdit). I can copy and paste them without a problem: ɾ ʃ ʧ ʤ
>
> Can you post a small code sample showing how the problem happens?
You mean where I initialize the QLineEdit? It's just the standard QLineEdit
*lineEdit = new QLineEdit. The part where the keystrokes/copy-pasting is
received and displayed by the widget is part of the widget code, and nothing
written by me. And yes, all those work fine in linux.
> That's correct: it's an encoding mismatch. Please make sure your Windows
> program is reading those files in UTF-8.
Yes, on closer inspection it does look like gvim has its encoding set wrong.
EK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090821/5a618f3b/attachment.html
More information about the Qt-interest-old
mailing list