[Python-Dev] PEP 540: Add a new UTF-8 mode (v3) (original) (raw)
Guido van Rossum guido at python.org
Mon Dec 11 15:10:04 EST 2017
- Previous message (by thread): [Python-Dev] PEP 540: Add a new UTF-8 mode (v3)
- Next message (by thread): [Python-Dev] PEP 540: Add a new UTF-8 mode (v3)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 at 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 enUS.UTF-8 different than > C.UTF-8. >
Because there are many langCOUNTRY.UTF-8 locales: jaJP.UTF-8, zhTW.UTF-8, frFR.UTF-8, etc... If only enUS.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 at gmail.com>
Python-Dev mailing list Python-Dev at 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) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20171211/b366d06c/attachment.html>
- Previous message (by thread): [Python-Dev] PEP 540: Add a new UTF-8 mode (v3)
- Next message (by thread): [Python-Dev] PEP 540: Add a new UTF-8 mode (v3)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]