Unsolved String received with Html characters
-
i have a qstring that is a name that contains html characters for apostrophe , someone knows how i can convert it?
-
This post is deleted! -
'
is the character -
@rest
Some suggestions are at https://stackoverflow.com/questions/39328588/qt-translate-escape-sequence
The accepted solution usesQTextDocumentFragment::fromHtml(b).toPlainText();
Or, if you know what input HTML entities you expect, you could just do it with a regular expression.