Modify

Opened 16 years ago

Last modified 13 years ago

#4106 new defect

patch for non-latin character error output

Reported by: moo.tinys@… Owned by: Christian Boos
Priority: high Component: GraphvizPlugin
Severity: normal Keywords: unicode
Cc: Trac Release: 0.10

Description (last modified by Ryan J Ollos)

  • graphviz/graphviz.py

     
    1616__version__   = '0.6.9'
    1717
    1818
    19 try:
    20     from cStringIO import StringIO
    21 except ImportError:
    22     from StringIO import StringIO
     19from StringIO import StringIO
    2320import sha
    2421import os
    2522import sys
     
    401398        if input:
    402399            p_in.write(input)
    403400        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')
    406403        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 15 years ago by Christian Boos

Keywords: unicode added
Owner: changed from Peter Kropf to Christian Boos
Priority: normalhigh

comment:3 Changed 13 years ago by Ryan J Ollos

Description: modified (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Christian Boos.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.