[Qt-qml] Scandinavian characters

joona.t.petrell at nokia.com joona.t.petrell at nokia.com
Mon Dec 20 02:55:09 CET 2010


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); qt-qml at qt.nokia.com
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: qt-qml-bounces+joona.t.petrell=nokia.com at qt.nokia.com [mailto:qt-qml-bounces+joona.t.petrell=nokia.com at qt.nokia.com] On Behalf Of Rikama Jarno.3 (EXT-Sasken/Berlin)
Sent: Monday, December 20, 2010 6:20 AM
To: qt-qml at qt.nokia.com
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); qt-qml at qt.nokia.com
Aihe: RE: Scandinavian characters

What encoding are you using?

Peppe
________________________________________
From: qt-qml-bounces+petrus.lundqvist=nokia.com at qt.nokia.com [qt-qml-bounces+petrus.lundqvist=nokia.com at qt.nokia.com] On Behalf Of ext ext-jarno.3.rikama at nokia.com [ext-jarno.3.rikama at nokia.com]
Sent: Saturday, December 18, 2010 3:30
To: qt-qml at qt.nokia.com
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
Qt-qml at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-qml
_______________________________________________
Qt-qml mailing list
Qt-qml at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-qml


More information about the Qt-qml mailing list