Hacker News new | past | comments | ask | show | jobs | submit login

This really has nothing to do with Python per se. Python should do the exact same thing that C does, which is to say, what mbstowcs and wcstombs do. And those do "infer" encoding from locale.

I agree that the conflation of encodings and locales in Unix is rather unfortunate, but, again - nothing to do with Python. On Unix, Python should do what well-behaved Unix apps do, for the sake of consistency and interoperability.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: