QChar::unicode() would be useful but only after the file read takes place. I'm looking for something that will do a unicode character file read.
QChar::unicode() would be useful but only after the file read takes place. I'm looking for something that will do a unicode character file read.
Have a look at QTextStream. There you can set the codec and get a single character via QTextStream::read( qint64 maxlen ).
mclark (22nd April 2009)
Thanks people!
It looks like the QTextStream::setAutoDetectUnicode() should do what I need.
Bookmarks