Commit 168786a4 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

LANG should not be UTF-8 but like en_US.UTF-8.

also make it possible to specify LANG from the configuration file.
parent fe459a42
...@@ -150,7 +150,7 @@ class OpenOffice(Application): ...@@ -150,7 +150,7 @@ class OpenOffice(Application):
] ]
# To run soffice.bin, several environment variables should be set. # To run soffice.bin, several environment variables should be set.
env = self.environment_dict.copy() env = self.environment_dict.copy()
env["LANG"] = "UTF-8" env.setdefault("LANG", "en_US.UTF-8")
env["HOME"] = self.path_user_installation env["HOME"] = self.path_user_installation
env["TMP"] = self.path_user_installation env["TMP"] = self.path_user_installation
env["TMPDIR"] = self.path_user_installation env["TMPDIR"] = self.path_user_installation
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment