Fix _run to reset LANGUAGE env variable

Change cmdmod.py to reset LANGUAGE alongside with the LC_* variables
This commit is contained in:
Aurelien Rouene 2018-05-02 23:41:06 +02:00
parent 63baf4c4f8
commit ee2ab38c8c

View file

@ -507,6 +507,7 @@ def _run(cmd,
env.setdefault('LC_TELEPHONE', 'C')
env.setdefault('LC_MEASUREMENT', 'C')
env.setdefault('LC_IDENTIFICATION', 'C')
env.setdefault('LANGUAGE', 'C')
else:
# On Windows set the codepage to US English.
if python_shell: