On 29 Jun 2020, at 10:57, Victor Stinner <vstinner@python.org> wrote:

I would prefer to only have a fast-path for the most common encodings:
ASCII, Latin1, UTF-8, Windows ANSI code page. That's all.

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?