Message354502
| Author |
vstinner |
| Recipients |
ezio.melotti, jwilk, koobs, ncoghlan, ned.deily, ronaldoussoren, vstinner |
| Date |
2019年10月11日.21:32:55 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1570829575.93.0.410995116988.issue32238@roundup.psfhosted.org> |
| In-reply-to |
| Content |
In Python 3.8, if the LC_CTYPE is "POSIX", the default stdio error handler is now "surrogateescape" instead of "strict", and the UTF-8 is now enabled. In short, LC_CTYPE="POSIX" now behaves as LC_CTYPE="C".
This change impacts at least FreeBSD. If I correctly, if there is no LC_ALL, LC_CTYPE or LANG environment variable on FreeBSD, the LC_CTYPE locale is "POSIX".
See bpo-34485, bpo-19977 and the "POSIX locale on FreeBSD" section of my article:
https://vstinner.github.io/python3-locales-encodings.html |
|