I have to put an html-like strings inside a QTextEdit.
In my string there is a special character (e.g. "città ").
But in the TextEdit only a strange character appears: cittA
Any suggestion?
I have to put an html-like strings inside a QTextEdit.
In my string there is a special character (e.g. "città ").
But in the TextEdit only a strange character appears: cittA
Any suggestion?
How are you setting the string on text edit ??
are u using setHtml or setPlainText ?
Yes, I am setting it via setHtml.
G
Are you using a proper encoding? To omit problems with encodings it is best to use an html entity here, like "´".
maybe this function will help you Qt::escape
Bookmarks