Make sure you run the test as a cgi ! cheers tobi
----- On Nov 2, 2017, at 11:02 AM, Joachim Hartmann joachim.hartm...@gmx-topmail.de wrote: > Hi Tobi, > Am 01.11.2017 um 20:19 schrieb Tobias Oetiker: >> Hi Joachim, >> >> Tobias Oetiker >> > >> I would suggest to use >> >> use POSIXqw(locale_h); >> use locale; >> setlocale(LC_CTYPE,"de_DE.UTF-8"); >> >> INSIDE the script >> >> More details on this to be found here >> https://perldoc.perl.org/perllocale.html >> >> Cheers >> Tobi > > the proposed solution shows no change. I then looked at the recommended > web page and ran the following script on the command line: > > ++++++++++++++++++++++++++++++++++++++++++++++++++++++ > #!/usr/bin/perl > use POSIX qw(strftime); > > for (1..7) { > $wochentag[$_] = strftime("%a", 0, 0, 0, $_, 3, 96); > printf "$wochentag[$_]\n"; > } > ++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > Here is the result: > > ++++++++++++++++++++++++++++++++++++++++++++++++++++++ > #~#. /test_locale. pl > Mo > Di > Wed > Thu > Fr > Sa > So > ++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > I think now rather that the solution can be found in rrdtool (1.6.0). > -- > Cheers > Jochen -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland www.oetiker.ch t...@oetiker.ch +41 62 775 9902 _______________________________________________ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users