Why Unicode fonts are not showing properly in the QTextBrowser when Unicode contents are read from an html file?
I am reading an html file. The file basically contains Unicode texts as follows: <b>akko- sati (ā + kruś), akkhāti (ā + khyā), abbahati (ā + bṛh)</b> But the QTextBrowser is not interpreting the Unicode fonts. So the QTextBrowser shows them as follows: akko- sati (Ä + kruÅ›), akkhÄti (Ä + khyÄ), abbahati (Ä + bá¹›h) The QTextBrowser is correctly interpreting the html tags. But what’s wrong with the Unicode fonts? Following are my codes for reading and populating the Unicode contents: void MainWindow::populateTextBrowser(const QModelIndex &index) { QFile file("Data\\" + index.data().toString()