Author inada.naoki
Recipients Jan Niklas Hasse, Sworddragon, abarry, akira, barry, ezio.melotti, inada.naoki, lemburg, ncoghlan, r.david.murray, vstinner, yan12125
Date 2017-01-05.03:32:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483587136.15.0.871659882246.issue28180@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-01-05 03:32:16inada.naokisetrecipients: + inada.naoki, lemburg, barry, ncoghlan, vstinner, ezio.melotti, r.david.murray, akira, Sworddragon, yan12125, abarry, Jan Niklas Hasse
2017-01-05 03:32:16inada.naokisetmessageid: <1483587136.15.0.871659882246.issue28180@psf.upfronthosting.co.za>
2017-01-05 03:32:16inada.naokilinkissue28180 messages
2017-01-05 03:32:15inada.naokicreate