Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001962graphvizDotpublic2010-09-21 04:092011-04-28 04:03
ReporterPeter Landgren 
Assigned ToArif Bilgin 
PrioritynormalSeveritycriticalReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSOther-Windows-XP Sp3OS Version
Summary0001962: Problem with non latin characters in path for embedded images
Description



Hi,



I have no problem with including images in Linux.



In Windows XP: What encoding should I use in the dot file in order to get rid of error messasges like:



<CD>
Warning: No such file or directory while opening C:\Documents and Settings\P+ñr +à ke\Application Data\gramps\thumb\7dc8c0b6f143a24b7ab6644a58bd8fe4
.png
Error: No or improper image file="C:\Documents and Settings\P+ñr +à ke\Application Data\gramps\thumb\7dc8c0b6f143a24b7ab6644a58bd8fe4.png"
in label of node I0000
</CD>



The problem is that the path contains non latin characters. In this case "PÀr Ã#ke", which is a user name.



This is when my output text us encoded with "text.encode('utf8', 'xmlcharrefreplace')" or just "unicode(text)"



If I use "text.encode(sys.getfilesystemencoding())" to encode the output I get another error message.
<CD>
Error: not well-formed (invalid token) in line 1
.. <TD><IMG SRC="C:\Documents and Settings\Põr +ke\Application Data\gramps\thumb\7dc8c0b6f143a24b7ab6644a58bd8fe4.png"/> ...
</CD>
Additional Information
The resulting pdf file looks fine, but images are shown.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID2042
INPUT-FILEhttp://www.graphviz.org/bugs/b2042.gv [^]
OUTPUT-FILE
STATUS-COMMENT*
VERSION     2.26.3
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => Arif Bilgin


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker