]> snippets.scripts.mit.edu Git - Scripts/git/.git/blobdiff - TracZephyrPlugin/ZephyrPlugin.py
TracZephyrPlugin: Set Zephyr charset to UTF-8
[Scripts/git/.git] / TracZephyrPlugin / ZephyrPlugin.py
index a1978b611098f892c60599e1de45fb07d42a15f6..0c904b4082a8209d20c62bea653a322f8ed2af3c 100644 (file)
@@ -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]