Hi
I am using Qt 4.8.7 on Windows. I have one Japanese HTML file, I have to read it using QTextStream's readAll() and display it into QTextEdit. But it show Garbage character and not actual Japanese character...
QFile file(FilePath);
file.open(QFile::ReadOnly | QFile::Text);
QTextStream in(&file);
QString strData = in.readAll();
m_pTextEdit->setText(strData);
But it show garbage character.. What am I doing wrong.
Thanks
Santosh
Bookmarks