Quote:
Originally Posted by NiLuJe
@nemiere: Python 2's handling of unicode and encodings and how it's handled on different platforms/environment being a fantastic mess unless you take a crazy amount of extra precautions in your code? :]
|
Isn't Python one of those languages where (for utf8 conversions) you have to set **both** the locale (done, by the pre-loaded .so) and the code-page for the non-utf8 (not done, by the pre-loaded .so)?
The code page (notice the single byte error report) for code conversions in es_ES.utf8 is not the same as for that in en_GB.utf8 .