The axis labels come from the strftime library, which picks the abbreviation according to the Language settings. Set the environment LANG=de (I think) to make it pick German. However, under Windows, it should be picking this up from the internationalisation settings picked in the Windows OS?
To get non-ASCII characters inside the graph is a bit harder, though I believe it is possible under RRDTool 1.3 and later. Ive not tried this yet, but I think you need to use the font option to specify a TrueType font that has the required characters first. EG: --font DEFAULT:0:Courier New will change the default font name for all text to Courier New. See the documentation here http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html Steve _____ Steve Shipway ITS Unix Services Design Lead University of Auckland, New Zealand Floor 1, 58 Symonds Street, Auckland Phone: +64 (0)9 3737599 ext 86487 DDI: +64 (0)9 924 6487 Mobile: +64 (0)21 753 189 Email: <mailto:[email protected]> [email protected] P Please consider the environment before printing this e-mail From: [email protected] [mailto:[email protected]] On Behalf Of Peter Weischer Sent: Monday, 20 August 2012 2:20 a.m. To: [email protected] Subject: [rrd-users] Special language dependent characters in rrdtool runnin on Windows Hello, If running rrdtool (1.4.5) in Windows environment, I am not able to enter special German characters (like äöüß etc.) anywhere inside a graph (like in GPRINT, TITLE, COMMENT etc.). In addition, I would like to configure German labels on the axis like Mon,Die, Mit,Don, Fre, Sam, Son instead of Mon, Tue, Wed, Thu, Fri, Sat, Sun. The documentation says, these strings depend on the current locale but how can I set the current locale for rrdtool in a Windows environment? I do not use Perl just rrdtool.exe. Any hint would be very much appreciated! Piet
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
