This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients corona10, erlendaasland, neonene, paul.moore, petr.viktorin, shihai1991, steve.dower, tim.golden, vstinner, zach.ware
Date 2021-01-07.23:12:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610061180.02.0.36322256817.issue42846@roundup.psfhosted.org>
In-reply-to
Content
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
(...)
-----
History
Date User Action Args
2021-01-07 23:13:00vstinnersetrecipients: + vstinner, paul.moore, tim.golden, petr.viktorin, zach.ware, steve.dower, corona10, shihai1991, neonene, erlendaasland
2021-01-07 23:13:00vstinnersetmessageid: <1610061180.02.0.36322256817.issue42846@roundup.psfhosted.org>
2021-01-07 23:13:00vstinnerlinkissue42846 messages
2021-01-07 23:12:59vstinnercreate