Quote Originally Posted by santosh.kumar View Post
But it show garbage character.. What am I doing wrong.
First thing you should try is calling QTextEdit::setHtml() instead of setText() if the content is HTML.

Second, check that your file is encoded in UTF-8 or set a different codec on the QTextStream.

Cheers,
_