I hav a label that contains german letters ex: gültig special alphabets....I am reading the
text from a txt file into a QList and setting the label based on the index of the QList.. I am getting all the characters except for special characeters...
I hav a label that contains german letters ex: gültig special alphabets....I am reading the
text from a txt file into a QList and setting the label based on the index of the QList.. I am getting all the characters except for special characeters...
Save your file utf-8 format and read it as utf-8... or write string to
QApplication::translate(this, "Isch immer gültig geil öder?", 0, QApplication::UnicodeUTF8));
Or write to xml ...
if nothing play, have a look on linux locale if utf-8 exist?
Qt Code:
QTextCodec *codecx; { sw.setCodec(codecx); sw << xml; f.close(); return true; } return false;To copy to clipboard, switch view to plain text mode
Krish_ng (16th July 2007)
I had a similar problem.
Maybe this thread will help:
http://www.qtcentre.org/forum/f-newb...file-8001.html
Krish_ng (16th July 2007)
Bookmarks