[Python-ideas] [issue33865] [EASY] Missing code page aliases: "unknown encoding: 874"

Steven D'Aprano steve at pearwood.info
Sat Jun 16 06:59:24 EDT 2018

> It is easy to test it. Encoding/decoding with '874' should give the 
> same result as with 'cp874'.

I know it is too late to remove that feature, but why do we support 
digit-only IDs for encodings? They can be ambiguous. If Wikipedia is 
correct, cp874 (also known as ibm874) and Windows-874 (also known as 
cp1162) are different:




More information about the Python-ideas mailing list