Modify ↓
Opened 16 years ago
Last modified 13 years ago
#4106 new defect
patch for non-latin character error output
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | high | Component: | GraphvizPlugin |
Severity: | normal | Keywords: | unicode |
Cc: | Trac Release: | 0.10 |
Description (last modified by )
-
graphviz/graphviz.py
16 16 __version__ = '0.6.9' 17 17 18 18 19 try: 20 from cStringIO import StringIO 21 except ImportError: 22 from StringIO import StringIO 19 from StringIO import StringIO 23 20 import sha 24 21 import os 25 22 import sys … … 401 398 if input: 402 399 p_in.write(input) 403 400 p_in.close() 404 out = p_out.read() 405 err = p_err.read() 401 out = p_out.read().decode('utf-8') 402 err = p_err.read().decode('utf-8') 406 403 return out, err
cannot convert to ascii before this patch when there is an error output from graphviz with non-latin characters
Attachments (0)
Change History (2)
comment:2 Changed 16 years ago by
Keywords: | unicode added |
---|---|
Owner: | changed from Peter Kropf to Christian Boos |
Priority: | normal → high |
comment:3 Changed 13 years ago by
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.