[docs] [issue18870] eval() uses latin-1 to decode str

STINNER Victor report at bugs.python.org
Wed Aug 28 22:23:29 CEST 2013


STINNER Victor added the comment:

Where / how do you type the eval() instruction? In IDLE, in the interactive prompt (>>>) or in a script (test.py)? What is your OS and what is your locale encoding?

Example:

$ python -m platform
Linux-3.9.4-200.fc18.x86_64-x86_64-with-fedora-18-Spherical_Cow
$ python -c 'import locale; print(locale.getpreferredencoding())'
UTF-8

----------
nosy: +haypo

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


More information about the docs mailing list