Marc-Andre Lemburg <m...@egenix.com> added the comment:

I created two scripts for exporting the IronPython findings and checking them 
in CPython.

These are the results:

Checking code Page 28591 against encoding 'iso-8859-1' using file 
'iso-8859-1.map'

0 errors

Checking code Page 28592 against encoding 'iso-8859-2' using file 
'iso-8859-2.map'

0 errors

Checking code Page 28593 against encoding 'iso-8859-3' using file 
'iso-8859-3.map'

0 errors

Checking code Page 28594 against encoding 'iso-8859-4' using file 
'iso-8859-4.map'

0 errors

Checking code Page 28595 against encoding 'iso-8859-5' using file 
'iso-8859-5.map'

0 errors

Checking code Page 1201 against encoding 'utf-16-be' using file 'utf-16-be.map'

2048 errors

Checking code Page 1200 against encoding 'utf-16-le' using file 'utf-16-le.map'

2048 errors

Checking code Page 65000 against encoding 'utf-7' using file 'utf-7.map'

21 errors

Checking code Page 65001 against encoding 'utf-8' using file 'utf-8.map'

2048 errors

Result:

We can add aliases for the various ISO mappings, but not for the UTF ones. .NET 
encodes the surrogates differently than Python's codecs and
it also produces different results for UTF-7 than Python's codec.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6058>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to