[issue6058] Add cp65001 to encodings/aliases.py
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'
Code Page 65001 vs. encoding 'utf-8'
Code Page 1200 vs. encoding 'utf-16-le'
Code Page 1201 vs. encoding 'utf-16-be'
Code Page 28591 vs. encoding 'iso-8859-1'
Added file: http://bugs.python.org/file15477/testnetcodecs.py
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list