﻿id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
4106	patch for non-latin character error output	moo.tinys@…	Christian Boos	"{{{
#!patch
Index: graphviz/graphviz.py
===================================================================
--- graphviz/graphviz.py    (revision 3045)
+++ graphviz/graphviz.py    (working copy)
@@ -16,10 +16,7 @@
 __version__   = '0.6.9'


-try:
-    from cStringIO import StringIO
-except ImportError:
-    from StringIO import StringIO
+from StringIO import StringIO
 import sha
 import os
 import sys
@@ -401,8 +398,8 @@
         if input:
             p_in.write(input)
         p_in.close()
-        out = p_out.read()
-        err = p_err.read()
+        out = p_out.read().decode('utf-8')
+        err = p_err.read().decode('utf-8')
         return out, err
}}}

cannot convert to ascii before this patch when there is an error output from graphviz with non-latin characters"	defect	new	high	GraphvizPlugin	normal		unicode		0.10
