Can't print Chinese to HTTP
Aahz
aahz at pythoncraft.com
Mon Nov 30 13:10:25 EST 2009
In article <e60da505-ac24-4307-b82e-9257de0fa690 at 1g2000vbm.googlegroups.com>,
Gnarlodious <gnarlodious at gmail.com> wrote:
>
>Thanks for the help, but it doesn't work. All I get is an error like:
>
>UnicodeEncodeError: 'ascii' codec can't encode character '\\u0107' in
>position 0: ordinal not in range(128)
No time to give you more info, but you probably need to change the
encoding of sys.stdout.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
The best way to get information on Usenet is not to ask a question, but
to post the wrong information.
More information about the Python-list
mailing list