View Full Version : inverse of Qt::escape

20th June 2009, 00:08
Qt::escape(...) :

Converts the plain text string plain to a HTML string with HTML metacharacters <, >, and & replaced by HTML entities.

I need to convert a String containing HTM entities like &amp; / &gt; ... to a plain unicode text string.

I could not find any information about that...

21st June 2009, 15:13
maybe someone has an idea?

21st June 2009, 15:38
I don't know such a function in Qt, but it isn't that hard to write your function which do the conversion. (use QString::replace())