[issue28333] input() with Unicode prompt produces mojibake on Windows
Eryk Sun
report at bugs.python.org
Thu Oct 13 19:04:07 EDT 2016
Eryk Sun added the comment:
MultibyteToWideChar includes the trailing NUL when it gets the string length, so the WriteConsoleW call needs to use (wlen - 1).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28333>
_______________________________________
More information about the Python-bugs-list
mailing list