Message97731
| Author |
lemburg |
| Recipients |
ezio.melotti, lemburg, loewis, michael.foord, pitrou, skrah, tzot |
| Date |
2010年01月13日.19:15:18 |
| SpamBayes Score |
0.0014325962 |
| Marked as misclassified |
No |
| Message-id |
<1263410119.9.0.470447161219.issue6058@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|