[prev in list] [next in list] [prev in thread] [next in thread]
List: graphviz-interest
Subject: [graphviz-interest] Dot rejects accents
From: ellson () research ! att ! com (John Ellson)
Date: 2005-10-28 19:40:16
Message-ID: 4362B6D7.1040508 () research ! att ! com
[Download RAW message or body]
John Currier wrote:
> I've got to be doing something wrong this time. I've got a user that
> submitted a bug<https://sourceforge.net/tracker/index.php?func=detail&aid=1340880&group_id=137197&atid=737987>where
> dot gives this error message when it runs into an accented character:
> Error: not well-formed (invalid token) in line 10
> I have no idea how dot is calculating line numbers, but the problem seems
> to be caused by the ? characters.
> The user was running dot 2.6 on Windows XP, and I've reproduced the problem
> using the attached .dot.
> Is there something that I can do? Is this character not in the default
> UTF-8 charset?
> Thanks,
> John
>
The problem is that your input graph is not UTF-8.
I've attached the results of:
iconv -f LATIN2 -t UTF-8 <Tirage.1degree.dot >Tirage.1degree.utf8.dot
dot Tirage.1degree.utf8.dot -Tpng >Tirage.1degree.utf8.png
John
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Tirage.1degree.utf8.dot
Type: application/x-dot
Size: 1576 bytes
Desc: not available
Url : https://mailman.research.att.com/pipermail/graphviz-interest/attachments/20051028/5e9b4c29/Tirage.1degree.utf8.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Tirage.1degree.utf8.png
Type: image/png
Size: 16942 bytes
Desc: not available
Url : https://mailman.research.att.com/pipermail/graphviz-interest/attachments/20051028/5e9b4c29/Tirage.1degree.utf8.png
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic