From 5949ebc53c19c64be3ed1e7892048c7b4d264dca Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Mon, 12 Aug 2013 19:20:37 -0400 Subject: [PATCH] TracZephyrPlugin: Set Zephyr charset to UTF-8 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This way we don’t need to rely on a UTF-8 locale from the environment. Signed-off-by: Anders Kaseorg --- TracZephyrPlugin/ZephyrPlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TracZephyrPlugin/ZephyrPlugin.py b/TracZephyrPlugin/ZephyrPlugin.py index a1978b6..0c904b4 100644 --- a/TracZephyrPlugin/ZephyrPlugin.py +++ b/TracZephyrPlugin/ZephyrPlugin.py @@ -18,7 +18,7 @@ class ZephyrPlugin(Component): return command = shlex.split(self.config.get('ZephyrPlugin', 'command').encode('utf-8')) if not command: - command = ['zwrite', '-q', '-l', '-d'] + command = ['zwrite', '-q', '-l', '-d', '-x', 'UTF-8'] opcode = self.config.get('ZephyrPlugin', 'opcode') if opcode: command += ['-O', opcode] -- 2.44.0