Martin v. Löwis <[email protected]> added the comment:

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.

----------

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue11022>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to