]> granicus.if.org Git - graphviz/commitdiff
add UTF8 rtest case from b993
authorellson <devnull@localhost>
Tue, 15 Aug 2006 13:41:54 +0000 (13:41 +0000)
committerellson <devnull@localhost>
Tue, 15 Aug 2006 13:41:54 +0000 (13:41 +0000)
support charset=utf8 as synonym for charset="utf-8"
add charset=latin1 to latin1 examples and rtest cases

rtest/graphs/Latin1.dot
rtest/graphs/b56.dot
rtest/graphs/b993.dot [new file with mode: 0644]

index 0223029be77dd548d4ffd43346666b97b1656cbd..7b22a3c98afb1bd1ac12db8bcb1aaa907a9e03f8 100644 (file)
@@ -1,4 +1,5 @@
 digraph G {
+graph [charset=latin1]
 node [fontsize=10]
 a [label = "áâãäåæçèéêëìíîïðñòóôõöøùúûü"];
 }
index 572d2888414d4fb641cdd1c4d0c4522b43aacd44..c165abb0cad52727a138b36f0fbd7b6379d2a065 100644 (file)
@@ -1,6 +1,7 @@
 digraph "g" {
        graph [
                concentrate="true" /* Edges are merged and have common endpoints*/
+               charset=latin1
                fontsize = "14"
                fontname = "Helvetica"
                fontcolor = "black"
diff --git a/rtest/graphs/b993.dot b/rtest/graphs/b993.dot
new file mode 100644 (file)
index 0000000..e87e112
--- /dev/null
@@ -0,0 +1,10 @@
+diGraph G{\r
+graph [charset="utf8"]\r
+1[label="Umlaut"];\r
+2[label="ü"];\r
+3[label="ä"];\r
+4[label="ö"];\r
+1->2;\r
+1->3;\r
+1->4;\r
+}\r