Well, you wonder why umlauts could not be encoded to ascii? It's because they are not covered by ascii. Well, serious, what do you want to achieve? Why is it necessary to use toAscii or toLatin1? Qt uses utf8 as default encoding and you can work fine with that. Also toPlainEdit returns a QString which is correctly encoded in Utf8 with your umlauts.





Reply With Quote

Bookmarks