Marc-Andre Lemburg <[email protected]> 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 <[email protected]> <http://bugs.python.org/issue6058> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
