(original) (raw)
Congrats Victor! Thanks mr. Inada for reviewing this PEP (and 538). Thanks everyone else who participated in the lively discussion!
On Sun, Dec 10, 2017 at 4:00 PM, INADA Naoki <songofacandy@gmail.com> wrote:
>
\> Could you explain why not? utf-8 seems like the common thread for using
\> surrogateescape so I'm not sure what would make en\_US.UTF-8 different than
\> C.UTF-8.
\>
Because there are many lang\_COUNTRY.UTF-8 locales:
ja\_JP.UTF-8, zh\_TW.UTF-8, fr\_FR.UTF-8, etc...
If only en\_US.UTF-8 should use surrogateescape, it may make confusing situation
like: "This script works in English Linux desktop, but doesn't work in
Japanese Linux
desktop!"
I accepted PEP 540\. So even if failed to coerce locale, it is better
than Python 3.6.
Regards,
INADA Naoki <songofacandy@gmail.com>
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: https://mail.python.org/mailman/options/python-dev/ guido%40python.org
--
--Guido van Rossum (python.org/\~guido)