From d8c3a38f8d94833808f5a6ab4b5aed07c22f508e Mon Sep 17 00:00:00 2001 From: Blake DeMarcy Date: Sat, 22 Apr 2017 11:26:45 -0500 Subject: [PATCH] hang me --- clients/urwid/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/urwid/main.py b/clients/urwid/main.py index 28c0990..a5815e5 100644 --- a/clients/urwid/main.py +++ b/clients/urwid/main.py @@ -1224,7 +1224,7 @@ class App(object): descriptor, path = tempfile.mkstemp() with open(path, "w") as _: _.write(init_body) - run("%s %s" % (self.prefs["editor"], path), shell=True) + run("export LANG=en_US.UTF-8; %s %s" % (self.prefs["editor"], path), shell=True) with open(path) as _: body = _.read() os.remove(path)