[Python-ideas] Fix default encodings on Windows
Paul Moore
p.f.moore at gmail.com
Wed Aug 10 16:56:03 EDT 2016
On 10 August 2016 at 21:16, eryk sun <eryksun at gmail.com> wrote:
> IMO, Python needs a C implementation of the win_unicode_console
> module, using the wide-character APIs ReadConsoleW and WriteConsoleW.
> Note that this sets sys.std*.encoding as UTF-8 and transcodes, so
> Python code never has to work directly with UTF-16 encoded text.
+1 on this (and if this means we need to wait till 3.7, so be it). I'd
originally thought this was what Steve was proposing.
Paul
More information about the Python-ideas
mailing list