print u"\u0432": why is this so hard? UnciodeEncodeError
"Martin v. Löwis"
martin at v.loewis.de
Fri Apr 9 06:24:34 EDT 2004
David Eppstein wrote:
> Well, no.
>
> Python 2.3 (#1, Sep 13 2003, 00:49:11)
> [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>
>>>>import sys;sys.stdin.encoding
>
> 'US-ASCII'
You did not follow Hye-Shik's instructions closely enough. You
failed to set the LANG environment variable before starting Python.
Regards,
Martin
More information about the Python-list
mailing list