Problm with QTextEdit and accents
I have written an application that request the opinion of the user on it. So, users can fill a QTextEdit to write their comments. The problem is that I am in France. So a lot of word contain accents. I have absolutely no problem to write text with accents in the QTextEdit. But whatever the method I use (toPlainText() or toHtml()), the resulting QString replace the accented characters by obscure characters. And I do not arrive to convert this to a right string.
So, how can I do this?
Thanks for your help.
@Alain38 OK: It seems in fact that wat just a problem with the console. By sending the text to the URL (using QUrlQuery for encoding) I have the text with the accents.