Depending on the locale settings, RRDtool might fail to handle "special
characters" correctly. Using UTF-8 is a way to work around that issue.
Thanks to Daniel Danner for reporting and testing this.
use strict;
use warnings;
use lib ('../lib');
+use utf8;
use FindBin ('$RealBin');
use Carp (qw(confess cluck));
DataSources value
DSName value Temp
RRDTitle "Temperature ({instance})"
- RRDVerticalLabel "°Celsius"
- RRDFormat "%4.1lf°C"
+ RRDVerticalLabel "°Celsius"
+ RRDFormat "%4.1lf°C"
</Type>
<Type users>
DataSources users
RRDVerticalLabel "W"
RRDFormat "%4.1lfW"
</Type>
-# vim: set sw=2 sts=2 et syntax=apache fileencoding=latin-1 :
+# vim: set sw=2 sts=2 et syntax=apache fileencoding=utf-8 :