[Qt-interest] QByteArray can't not show japanese language chars?
ri at eeda.denso.co.jp
ri at eeda.denso.co.jp
Tue Feb 17 09:03:00 CET 2009
hi
I build a QByteArray list like this:
>> QList<QByteArray> myList;
>> myList.append( QFile->readLine() )
there're some japanese language characters contained in some lines.
I read all the lines in the file, do my job with myList, and want to save it back
to the file.
QTextStream out(&file);
out << myList.at(xxx) << "\n";
but found that all the japanese language characters are transformed to "?"
How do I solve this problem?
Please give me some hint!
- Shinijiro Mizuki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090217/07443fb9/attachment.html
More information about the Qt-interest-old
mailing list