Nick Coghlan <ncogh...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue34914> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com