View Single Post
Posts: 133 | Thanked: 108 times | Joined on Mar 2012
#3502
Originally Posted by CepiPerez View Post
@TMavica:
sorry, it was encode("utf8") not decode("utf8")
@Cepi

In contacts.py

line 264
wc.status = wc.status.decode('utf-8');

line 266
wc.pushname = wc.pushname.decode('utf-8');

Do they need to change to .encode('utf-8') as well?


In waxmpp.py
You suggest to add
pushName = pushName.decode("utf8")

Is this .decode("uft8") OK?


By the way, is format be ('utf-8') or ("uft8")?
Sorry for being noob
 

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