Number: 1572
Title: Please always uses quotes with -Txdot
Submitter: Vsevolod Krishchenko
Date: Thu Feb 12 08:12:07 2009
Subsys: Dot
Version: 2.20.2
System: *-*-
Severity: cosmetic
Problem:
Dot uses quotes in xdot of label has spaces or other characters required escaping. So non-english unicode labels does not require quotes but I think it is bad idea.

Please always uses quotes in labels to make xdot parsing more convenient or at least use quotes for non-ascii letters..


Current xdot:
$ echo 'digraph G {node A [label="ЯЯЯ"];}' | dot -Txdot | grep ЯЯЯ | cut -f2 -d' '
[label=ЯЯЯ,


Proposion:
$ echo 'digraph G {node A [label="ЯЯЯ"];}' | dot -Txdot | grep ЯЯЯ | cut -f2 -d' '
[label="ЯЯЯ",

Input:
digraph G {
node x [label="ЯЯЯ"];
}
Owner: *
Status: Request