Hi, Michael is right, this is an encoding issue, QML source files need to use UTF-8 encoding for Scandinavian characters to display correctly. You can normally select the default encoding for the text files you edit in your editor or IDE. My test of pasteing Scandinavian characters to QLineEdit was incorrect as it retained the encoding. Closed the issue I raised as invalid.
Br, Joona -----Original Message----- From: Petrell Joona.T (Nokia-MS/Brisbane) Sent: Monday, December 20, 2010 11:35 AM To: Rikama Jarno.3 (EXT-Sasken/Berlin); [email protected] Subject: RE: Scandinavian characters Hi Jarno, I tested Scandinavian characters on Ubuntu Linux, Symbian^3 device and Windows XP. Scandinavian characters show correctly on Linux and Symbian. On Windows XP they show correctly on QWidget-based QLineEdits, but not on QML text elements, suggesting this is a valid bug for QML elements. Other localized characters like Chinese symbols did show correctly though if you have Chinese fonts installed on your Windows XP. I created a bug report about the issue: http://bugreports.qt.nokia.com/browse/QTBUG-16200 Br, Joona -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Rikama Jarno.3 (EXT-Sasken/Berlin) Sent: Monday, December 20, 2010 6:20 AM To: [email protected] Subject: Re: [Qt-qml] Scandinavian characters I used scands in plain QML file without any special measures and I ran it with qmlviewer from QtCreator on Windows XP. Don't know about encoding? Scands (and also other special characters) are then shown as a question marks inside square boxes like <?> Jarno ________________________________________ Lähettäjä: Lundqvist Petrus (Nokia-MS/Helsinki) Lähetetty: 18. joulukuuta 2010 8:53 Vastaanottaja: Rikama Jarno.3 (EXT-Sasken/Berlin); [email protected] Aihe: RE: Scandinavian characters What encoding are you using? Peppe ________________________________________ From: [email protected] [[email protected]] On Behalf Of ext [email protected] [[email protected]] Sent: Saturday, December 18, 2010 3:30 To: [email protected] Subject: [Qt-qml] Scandinavian characters QML doesn't seem to encode Scandinavian characters like ä, ö and å properly. All special characters are shown as question marks in qmlviewer. Is there a bug? How scands can be used? Br, Jarno _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
