[Qt-interest] Displaying unicode strings

Eeli Reilin eeli.reilin at gmail.com
Sat Aug 28 18:51:35 CEST 2010


> How was the JSON data parsed into strings?

The data comes from the QNetworkReply::readAll() as a QByteArray, and is
then used to construct a QString. The data is parsed into strings using
the QString::mid method among other things. So the the strings are
actually just substrings of the actual JSON string.




More information about the Qt-interest-old mailing list