[issue1688] Incorrectly displayed non ascii characters in prompt using "input()" - Python 3.0a2

Martin v. Löwis report at bugs.python.org
Fri Jan 11 09:36:33 CET 2008


Martin v. Löwis added the comment:

> Isn't it enough to encode the prompt with the console encoding, instead
> of letting the default utf-8 conversion? This patch corrects the issue
> on Windows:

Sounds right. Technically, you should be using the stdout encoding, but
I don't think it should ever differ from the stdin_encoding.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1688>
__________________________________


More information about the Python-bugs-list mailing list