[Qt-interest] Problesm with utf-8 encoded XML and japanese characters
Girish Ramakrishnan
girish at forwardbias.in
Thu Sep 24 05:37:10 CEST 2009
Chris W wrote:
> Scott Aron Bloom wrote:
>> When I get the QString for the value in question (for the simplified XML)
>> QString tmp = doc.firstChildElement().firstChildElement().text();
>>
>> The japansese characters have been replaced with the ascii
>> representation of the text, not the unicode.
>
> I cannot reproduce this (QT 4.5.2 on Linux). I get the Japanese
> characters reliably.
Same here, works for me with Qt 4.5.2 and master-stable (from a couple
of weeks back), with qDebug and in a label. The other thing might be if
the font you use in the app supports japanese.
Girish
More information about the Qt-interest-old
mailing list