View Single Post
Old 02-15-2016, 07:56 AM   #1886
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by NiLuJe View Post
@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 .
knc1 is offline   Reply With Quote