Thread
:
Non-Ascii characters in Python
View Single Post
cheungs
2010-07-12 , 16:58
Posts: 70 | Thanked: 39 times | Joined on Mar 2010
#
5
Depending on the encoding of your input, you could do something like this:
Code:
encoding = "utf-8" decoded = encoded.decode(encoding) qStr = QString("Decoded: %s", decoded)
Quote & Reply
|
The Following User Says Thank You to cheungs For This Useful Post:
Nathraiben
cheungs
View Public Profile
Send a private message to cheungs
Find all posts by cheungs