Unicode error

Chris Rebert clp2 at rebertia.com
Fri Jul 23 06:45:19 EDT 2010


On Fri, Jul 23, 2010 at 3:14 AM, dirknbr <dirknbr at gmail.com> wrote:
> 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)

Please include the full Traceback and the actual code that's causing
the error! We aren't mind readers.

This error basically indicates that you're incorrectly mixing byte
strings and Unicode strings somewhere.

Cheers,
Chris
--
http://blog.rebertia.com



More information about the Python-list mailing list