Suggested command reports the same "UTF-8" output and thus using one or the other LANG variable.
$ export LANG=en_US.UTF-8 $ python -c "import sys; print sys.getfilesystemencoding()" $ UTF-8
$ export LANG=fr_FR.UTF-8 $ python -c "import sys; print sys.getfilesystemencoding()" $ UTF-8
Suggested command reports the same "UTF-8" output and thus using one or the other LANG variable.
$ export LANG=en_US.UTF-8 emencoding( )"
$ python -c "import sys; print sys.getfilesyst
$ UTF-8
$ export LANG=fr_FR.UTF-8 emencoding( )"
$ python -c "import sys; print sys.getfilesyst
$ UTF-8