[Dot] Please always uses quotes with -Txdot
Ported Issue from Mantis Original ID: 1531 Reported By: Vsevolod Krishchenko
SEVERITY: COSMETIC Submitted: 2009-02-12 13:12:07
OS: --
VERSION: 2.20.2
DESCRIPTION
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="ЯЯЯ",
```</CD>
STEPS TO REPRODUCE
------------------
digraph G { node x [label="ЯЯЯ"]; }