View Single Post
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#2
Python should handle UTF-8 natively, though converting to/from a QString can be a bit more tricky. If it's been input in UTF-8, you should be able to use QString.fromUtf8 to convert it to a QString. To do the reverse, I had to do 'unicode(strng.toUtf8(), "utf-8")'.
 

The Following User Says Thank You to Rob1n For This Useful Post: