Message345602
Isn't the point that device_encoding(FD) gets the encoding of the specified file? In this case stdout?
It seems odd that chcp doesn't actually update the console code page here, as that is its entire purpose. Perhaps TextIOWrapper is actually getting ACP rather than the console encoding through some other path? |
|
Date |
User |
Action |
Args |
2019-06-14 15:54:20 | steve.dower | set | recipients:
+ steve.dower, paul.moore, vstinner, tim.golden, methane, zach.ware, eryksun |
2019-06-14 15:54:20 | steve.dower | set | messageid: <1560527660.47.0.337399077679.issue37275@roundup.psfhosted.org> |
2019-06-14 15:54:20 | steve.dower | link | issue37275 messages |
2019-06-14 15:54:20 | steve.dower | create | |
|