[issue28333] input() with Unicode prompt produces mojibake on Windows

Steve Dower report at bugs.python.org
Sat Oct 8 15:23:23 EDT 2016


Steve Dower added the comment:

I made some minor tweaks to the patch (no need for strlen() - passing -1 works equivalently), but otherwise it's exactly what I would have done so I committed it.

We currently have no tests to check which characters are written to a console output buffer. Issue28217 was tracking those, but considering how little code we have on top of output I don't think it's worth blocking anything on automating those tests.

----------

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


More information about the Python-bugs-list mailing list