Author eryksun
Recipients ZackerySpytz, eryksun, izbyshev, paul.moore, steve.dower, terry.reedy, tim.golden, vstinner, zach.ware
Date 2019-05-06.19:18:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557170333.04.0.876419717701.issue32592@roundup.psfhosted.org>
In-reply-to
Content
> 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.
History
Date User Action Args
2019-05-06 19:18:53eryksunsetrecipients: + eryksun, terry.reedy, paul.moore, vstinner, tim.golden, zach.ware, steve.dower, izbyshev, ZackerySpytz
2019-05-06 19:18:53eryksunsetmessageid: <1557170333.04.0.876419717701.issue32592@roundup.psfhosted.org>
2019-05-06 19:18:53eryksunlinkissue32592 messages
2019-05-06 19:18:52eryksuncreate