09-19-2012 08:23 PM
Hi,
I've been trying to display in a ListView some words that contain Special Characters, but i can only manage to get garbage displayed when it comes to these chars. The groupdata assigned to the ListView contains data from an rss that looks like:
http://tr3sco.com/betas/BB10/news.xml
Is there any way to encode those special characters to view the correctly?
P.D.: I am using the QDomDocument to parse the doc and the values are obtained with "nodeValue();" which returns a QString
Solved! Go to Solution.
09-21-2012 03:39 PM
Unicode characters aren't supported right now as far as I know, hopefully in the near future.
Regards
Graham
10-11-2012 07:39 PM
Ive found the solution:
When downloading the info from the web and parsing it with the QDomDocument this will work:
QString aux(QString::fromUtf8(node1.nodeValue().toAscii()));
now if you assign aux to any label or text area it will show the accents...