[issue32592] Drop support of Windows Vista in Python 3.8
Eryk Sun
report at bugs.python.org
Mon May 6 15:18:53 EDT 2019
Eryk Sun <eryksun at gmail.com> added the comment:
> Maybe it's time to remove Lib/encodings/cp65001.py and make it an
> alias to utf_8 codec
Note that Unicode console support already assumes they're equivalent. For stdin, we read UTF-16LE via ReadConsoleW and encode bytes to the UTF-8 BufferedReader via WideCharToMultiByte with CP_UTF8 (65001). For stdout/stderr, we decode bytes from the UTF-8 BufferedWriter via MultiByteToWideChar with CP_UTF8 and write UTF-16LE via WriteConsoleW.
----------
nosy: +eryksun
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32592>
_______________________________________
More information about the Python-bugs-list
mailing list