[issue6058] Add cp65001 to encodings/aliases.py

Marc-Andre Lemburg report at bugs.python.org
Mon Dec 7 23:41:42 CET 2009


Marc-Andre Lemburg <mal at egenix.com> added the comment:

Here's a script for IronPython 2.6 that checks a few encoders.

Since IronPython doesn't appear to come with the full set of Python
codecs and it's also not clear whether the implemented codecs actually
match the default Python ones, I'm not sure how reliable this output is.

It's probably better to dump the encoded data to a file and compare
against a CPython run.

Anyway, here's the output:

Code Page 65000 vs. encoding 'utf-7'

0 errors

Code Page 65001 vs. encoding 'utf-8'

0 errors

Code Page 1200 vs. encoding 'utf-16-le'

0 errors

Code Page 1201 vs. encoding 'utf-16-be'

0 errors

Code Page 28591 vs. encoding 'iso-8859-1'

0 errors

----------
Added file: http://bugs.python.org/file15477/testnetcodecs.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6058>
_______________________________________


More information about the Python-bugs-list mailing list