R. David Murray added the comment:
This is surprisingly non-transparent. However, it works as documented
in py3.
It sorta works as documented in p2, except that there's a bit left out
of the docs.
In py2, the code that results in getfilesystemencoding's value sets the
locale based on the envi
naktinis added the comment:
I guess this is still not answered.
Documentation (http://docs.python.org/library/sys.html) clearly states:
"On Unix, the encoding is the user’s preference according to the result
of nl_langinfo(CODESET), or None if the nl_langinfo(CODESET) failed."
So in case setloc