When I read file contents into a QString like following:
QFile myFile(test.u);
myFile.open(QIODevice::ReadOnly);
QTextStream ts(&myFile);
QString strContent = ts.ReadAll();
Is QTextStream smart enough to determine if the file content is Unicode or ASCII? Since QString holds data internally in Unicode format, I would get a totally different string if it cannot distinguish.
Thanks!
Bookmarks