Author methane
Recipients Jan Niklas Hasse, Sworddragon, abarry, akira, barry, ezio.melotti, lemburg, methane, ncoghlan, r.david.murray, vstinner, yan12125
Date 2017-01-05.03:32:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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.
Date User Action Args
2017-01-05 03:32:16methanesetrecipients: + methane, lemburg, barry, ncoghlan, vstinner, ezio.melotti, r.david.murray, akira, Sworddragon, yan12125, abarry, Jan Niklas Hasse
2017-01-05 03:32:16methanesetmessageid: <>
2017-01-05 03:32:16methanelinkissue28180 messages
2017-01-05 03:32:15methanecreate