View Single Post
blubbi's Avatar
Posts: 288 | Thanked: 113 times | Joined on Dec 2009 @ Germany
#222
Originally Posted by Joorin View Post
What symbols do you get? It helps a lot with debugging.

One reason for the problem might be that Python is unicode clean and produces UTF-8 somewhere along the way.
I ran into the same problem with www2sms and i hat to decode/encode alle strings retrieved from the contact book and retrieved from the QT input fields before I could re display or pass them to the website:

MY_VAR.encode('utf-8')
or
ITEM.decode('utf-8')

This was very helpful:
http://www.joelonsoftware.com/articles/Unicode.html
http://farmdev.com/talks/unicode/

Cheers
Bjoern
 

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