> 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: https://en.wikipedia.org/wiki/ISO/IEC_8859-11#Code_page_874 https://en.wikipedia.org/wiki/ISO/IEC_8859-11#Code_page_1162 -- Steve _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/