Thread
:
Hermes Thread: questions, suggestions regarding Facebook, Twitter, etc. contact synchronization
View Single Post
Legis
2010-01-19 , 06:13
Posts: 20 | Thanked: 0 times | Joined on Oct 2009
#
113
I think I find the root cause.
This code --> key = unicode(friend['name']).encode('trans')
lib/trans.py does not provide the encode behavior for Chinese character. So most Chinese is translated into the same ascii code. so overwrite.
So I just modify as "key = friend['name']" or key = friend['uid'] to avoid this. But it does not work for "auto match". You must do it by hand.
So unicode to ascii encode for Chinese is the root cause.
Quote & Reply
|
Legis
View Public Profile
Send a private message to Legis
Find all posts by Legis