Message341612
> 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. |
|
Date |
User |
Action |
Args |
2019-05-06 19:18:53 | eryksun | set | recipients:
+ eryksun, terry.reedy, paul.moore, vstinner, tim.golden, zach.ware, steve.dower, izbyshev, ZackerySpytz |
2019-05-06 19:18:53 | eryksun | set | messageid: <1557170333.04.0.876419717701.issue32592@roundup.psfhosted.org> |
2019-05-06 19:18:53 | eryksun | link | issue32592 messages |
2019-05-06 19:18:52 | eryksun | create | |
|