Note that to type 'É' on a us keyboard you can use alt + 0201.
Regards,
Michel
Input:
Comments:
digraph CodePageBug
{
Reseau [label="RÉSEAU"]
}
[erg]
Since about April 2005, Latin-1 input needs to specify that is the
case by setting charset=latin1.
See
http://www.graphviz.org/doc/info/attrs.html#d:charset
In fact, more recent versions catch non-UTF8 input and warn about this.
If you run dot -Tsvg -Gcharset=latin1 on your input, you should find the SVG output is correct.
[mterrisse] Indeed if I specify charset="iso-8859-1", node labels are correctly converted to utf-8 when producing svg. However I could notice that this does not work for subgraph labels,
digraph DependancesFichiersBaseCommune { charset="iso-8859-1";
subgraph clusterFichiersGeneres { label="Fichiers générés"; FichierGenere [label="Fichier généré"]; } }
In the generated svg, the subgraph label is "Fichiers générés" whereas the node label is "Fichier généré".
[erg] Yes, you're correct. However, this problem has been fixed in the current version.
Owner: ellson
Status: Fixed