Decode XML Characters (numeric) in Strings
General and Desktop
6
Posts
3
Posters
1.5k
Views
2
Watching
-
Hi,
to read XML strings the suggested way is to use
QXmlStreamReader.P.S. To write raw text you can include it in `<TEXT>`;
<pre><code>AAA ĵs</code></pre> -
If you aren't dealing with a complete XML document and don't want to use QXmlStreamReader and Writer you can just do
QString("My string with Photo's").replace("'", "'")to replace the entity with the actual character.