Message 162329 - Python tracker
I think it's absolutely necessary that text files, by default, are opened in the encoding of the user's locale, whether the script has called setlocale or not. There are reasons for C to not automatically call setlocale at startup (mostly backwards compatibility), but they don't apply to Python.