[issue13395] Python ISO-8859-1 encoding problem
Martin v. Löwis
report at bugs.python.org
Sun Nov 13 10:33:29 CET 2011
Martin v. Löwis <martin at v.loewis.de> added the comment:
Apparently, you are using the interactive shell on Microsoft Windows. This will use the "OEM code page"; which one that is depends on the exact Windows regional version you are using.
You shouldn't decode the string with 'latin-1', but with sys.stdin.encoding. Alternatively, you should use Unicode string literals in Python in the first place.
In any case, Ezio is right: this is not a help forum, but a bug tracker.
----------
nosy: +loewis
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13395>
_______________________________________
More information about the Python-bugs-list
mailing list