The first line make no sense, a QString is never in UTF-8, the second line is just unnecessary double conversion.
Looks like the console can't display arabic symbols or the local 8 bit encoding this encodes do can't.
Which obviously means you can't use it to check your values.
Cheers,
_
Bookmarks