Hi, The QML engine expects all QML files to be UTF-8 encoded (http://doc.qt.nokia.com/4.7-snapshot/qdeclarativedocuments.html). In Qt Creator, you can change the file encoding via the Edit menu (Select Encoding...).
Regards, Michael On 20/12/2010, at 6:20 AM, ext [email protected] wrote: > 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
