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.

作者 methane
收信人 ezio.melotti, methane, vstinner
日期 2017-01-11.23:57:12
SpamBayes Score -1.0
Marked as misclassified
Message-id <1484179032.5.0.309996769515.issue29240@psf.upfronthosting.co.za>
In-reply-to
内容
> Hum, pep540-3.patch doesn't work if the locale encoding is different than ASCII and UTF-8. argv must be reencoded:

I want to skip reencoding.
On UTF-8 mode, arbitrary bytes in cmdline (e.g. broken filename passed by xarg) should be able to roundtrip by UTF-8/surrogateescape.

I don't trust wcstombs/mbstowcs.  It may not guarantee round tripping of arbitrary bytes.

Can -X utf8 option be processed before Py_Main()?
历史
日期 用户 动作 参数
2017-01-11 23:57:12methane修改recipients: + methane, vstinner, ezio.melotti
2017-01-11 23:57:12methane修改messageid: <1484179032.5.0.309996769515.issue29240@psf.upfronthosting.co.za>
2017-01-11 23:57:12methane链接issue29240 messages
2017-01-11 23:57:12methane创建