]> git.ozlabs.org Git - patchwork/blobdiff - apps/patchwork/bin/pwclient
pwclient fix for handling messages with UTF-8
[patchwork] / apps / patchwork / bin / pwclient
index e25212a8a4088c4def4f608071e971c63db997e9..6a1a36acc089e480778ec10104f1e084fafe5b94 100755 (executable)
@@ -408,7 +408,7 @@ def main():
 
         s = rpc.patch_get_mbox(patch_id)
         if len(s) > 0:
-            print s
+            print unicode(s).encode("utf-8")
 
     elif action == 'get' or action == 'save':
         try: