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
收信人 Jan Niklas Hasse, abarry, akira, barry, deleted250130, ezio.melotti, lemburg, methane, ncoghlan, r.david.murray, vstinner, yan12125
日期 2017-01-05.03:32:15
SpamBayes Score -1.0
Marked as misclassified
Message-id <1483587136.15.0.871659882246.issue28180@psf.upfronthosting.co.za>
In-reply-to
内容
On Linux, I think most people wants UTF-8:surrogateescape by default, without fighting against locale and environment variables.

There are already `#if defined(__APPLE__) || defined(__ANDROID__)` path for it.
How about adding configure option to use same logic? (say `--with-encoding=(locale|utf-8)`, preferred encoding is changed in same way).

It may help many people building Python themselves without having root privilege for generating C.UTF-8 locale.
历史
日期 用户 动作 参数
2017-01-05 03:32:16methane修改recipients: + methane, lemburg, barry, ncoghlan, vstinner, ezio.melotti, r.david.murray, akira, deleted250130, yan12125, abarry, Jan Niklas Hasse
2017-01-05 03:32:16methane修改messageid: <1483587136.15.0.871659882246.issue28180@psf.upfronthosting.co.za>
2017-01-05 03:32:16methane链接issue28180 messages
2017-01-05 03:32:15methane创建