[docs] [issue34914] Clarify text encoding used to enable UTF-8 mode

Nick Coghlan report at bugs.python.org
Thu Oct 18 04:06:11 EDT 2018


Nick Coghlan <ncoghlan at gmail.com> added the comment:

Your explanation is why this is a docs enhancement proposal rather than a
bug report: as far as we're aware, all encodings that get used as locale
encodings have the property that encoding "-X utf8" with the locale
encoding gives the same answer as encoding it with ASCII.

Encodings where this isn't true (like UTF-16-LE) don't get used as locale
encodings.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34914>
_______________________________________


More information about the docs mailing list