Skip to content

Commit

Permalink
Workaround Qt being gimped and not understanding "utf8"
Browse files Browse the repository at this point in the history
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
  • Loading branch information
ikeydoherty committed May 28, 2018
1 parent 4a89646 commit eb78acc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions os_installer2/postinstall.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ def apply(self):
if not lang.endswith(".utf8"):
lc = lang.split(".")[0]
lang = "{}.utf8".format(lc)
lang = lang.replace(".utf8", ".UTF-8")
localef.write("LANG={}\n".format(lang))
except Exception as e:
self.set_errors(e)
Expand Down

0 comments on commit eb78acc

Please sign in to comment.