Message384620
Ah, if you don't want to change the ANSI code page to cp932 (Japanese language) just to reproduce the issue, you can just set the stdio encoding:
-----
C:\> set PYTHONIOENCODING=cp932
C:\> python t.py|more
sys.stdout.encoding='cp1250'
TypeError: codec is unexpected type
(...)
----- |
|
| Date |
User |
Action |
Args |
| 2021-01-07 23:13:00 | vstinner | set | recipients:
+ vstinner, paul.moore, tim.golden, petr.viktorin, zach.ware, steve.dower, corona10, shihai1991, neonene, erlendaasland |
| 2021-01-07 23:13:00 | vstinner | set | messageid: <[email protected]> |
| 2021-01-07 23:13:00 | vstinner | link | issue42846 messages |
| 2021-01-07 23:12:59 | vstinner | create | |
|