[issue14986] print() fails on latin1 characters on OSX

Ned Deily report at bugs.python.org
Sat Jun 2 23:31:12 CEST 2012


Ned Deily <nad at acm.org> added the comment:

I'm neither a PyDev nor an Eclipse user but there should be some way to set environment variables in it.  Undoubtedly, Eclipse is launched as an app so a shell is not involved and shell profile files are not processed.  However, the "Environment" section of this tutorial may help:

http://pydev.org/manual_101_interpreter.html

Try adding a definition for LANG or LC_CTYPE, as you prefer.  And you should use a valid localized definition, like LANG=en_US.UTF-8 for US English UTF-8.  The list of definitions is in Lib/locale.py.  Good luck!

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14986>
_______________________________________


More information about the Python-bugs-list mailing list