I am having some problems with unicode from json. This is the error I get
UnicodeEncodeError: 'ascii' codec can't encode character u'\x93' in
position 61: ordinal not in range(128)
I have kind of developped this but obviously it's not nice, any better
ideas?
try:
text=texts[i]
text=text.encode('latin-1')
text=text.encode('utf-8')
except:
text=' '
Dirk
--
http://mail.python.org/mailman/listinfo/python-list
