Message281107
| Author |
vstinner |
| Recipients |
Alex.Willmer, vstinner, xdegaye, yan12125 |
| Date |
2016年11月18日.12:22:30 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<CAMpsgwb=fpGSqEPEgF9XBwAVOqUsbVF3eW=kaeHowErbB6d+iA@mail.gmail.com> |
| In-reply-to |
<1479470642.81.0.390008878208.issue26928@psf.upfronthosting.co.za> |
| Content |
If it is not possible to change the locale, it makes sense to hardcode utf8.
Note: to avoid mojibake, it's better if sys.getfilesystemencoding() and
locale.getpreferredencoding(False) are equal. I understand that both must
be utf8. |
|