[Python-ideas] Support WHATWG versions of legacy encodings

Paul Moore p.f.moore at gmail.com
Wed Jan 10 03:31:41 EST 2018

On 10 January 2018 at 04:16, Nick Coghlan <ncoghlan at gmail.com> wrote:
> On 10 January 2018 at 13:56, Rob Speer <rspeer at luminoso.com> wrote:
>> One other thing I've noticed that's related to the WHATWG encoding list: in
>> Python, the encoding name "windows-874" seems to be missing. The _encoding_
>> is there, as "cp874", but "windows-874" doesn't work as an alias for it the
>> way that "windows-1252" works as an alias for "cp1252". That alias should be
>> added, right?
> Aye, that would make sense.

Agreed - extending the encodings and adding the alias both sound like
reasonable enhancements to me.

More information about the Python-ideas mailing list