Le jeu. 2 juil. 2020 à 14:44, Barry Scott <ba...@barrys-emacs.org> a écrit :
> It's not obvious to me why the latin1 encoding is in this list as its just 
> one of all the 8-bit char sets.
> Why is it needed?

The Latin-1 (ISO 8859-1) charset is kind of special: it maps bytes
0x00-0xFF to Unicode characters U+0000-U+00FF and decoding from latin1
cannot fail.

It was commonly used as the locale encoding in Europe 10 years ago,
but nowadays most Linux distributions use UTF-8 as the locale
encoding.

I'm also fine with restricting the list to 3 encodings: ASCII, UTF-8
and Windows ANSI code page.

Victor
-- 
Night gathers, and now my watch begins. It shall not end until my death.
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/YWL3WU3PN7NXIGZNLIBLAO7O225VF46C/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to