I've been playing with generating SVGs with rrdgraph recently, but I can't seem to be able to include a degree sign in an SVG graph. I'd like to have vertical label like -v "Temperature (°C)". So far I've tried a literal ISO-8859-1 and UTF-8 in the script, but that seems to generate bad XML, or at least Firefox doesn't like it. That works for PNGs though.
<text font-size="14">Enc-Erature (&#-1374389534;���P!���</text> It's also interesting that Temperature becomes Enc-Erature... My other idea was using the XML notatation i.e. ° but unfortunately that's replaced with &#x00b0; so I end up with the literal string ° in the graph instead of the degree sign... So, any ideas? Using RRDtool 1.2.15 in Debian Etch. Anssi _______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
