[issue11022] locale.setlocale() doesn't change I/O codec, os.environ does
report at bugs.python.org
Thu Jan 27 19:50:21 CET 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
> Both cases indicate the users desire to change a specific locale
> setting and thus - of course - all the changes which that implies!
> So why should there be a difference?
I don't think it's intentional. I would be +1 on changing to getpreferredencoding(False).
nosy: +loewis, pitrou
versions: +Python 3.2
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list