Message284697
| Author |
methane |
| Recipients |
Jan Niklas Hasse, abarry, akira, barry, deleted250130, 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 |
<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:16 | methane | set | recipients:
+ methane, lemburg, barry, ncoghlan, vstinner, ezio.melotti, r.david.murray, akira, deleted250130, yan12125, abarry, Jan Niklas Hasse |
| 2017年01月05日 03:32:16 | methane | set | messageid: <1483587136.15.0.871659882246.issue28180@psf.upfronthosting.co.za> |
| 2017年01月05日 03:32:16 | methane | link | issue28180 messages |
| 2017年01月05日 03:32:15 | methane | create |
|