From: Sebastian Harl Date: Sun, 26 Jul 2009 13:01:53 +0000 (+0200) Subject: collection3/etc/collection.conf: Reencoded in UTF-8. X-Git-Tag: collectd-4.6.5~29^2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=ff607e9d1abc8f738b15626b5d30145d9a9f3f0d;p=collectd.git collection3/etc/collection.conf: Reencoded in UTF-8. 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. --- diff --git a/contrib/collection3/bin/graph.cgi b/contrib/collection3/bin/graph.cgi index c096dc94..8a5bf85a 100755 --- a/contrib/collection3/bin/graph.cgi +++ b/contrib/collection3/bin/graph.cgi @@ -3,6 +3,7 @@ use strict; use warnings; use lib ('../lib'); +use utf8; use FindBin ('$RealBin'); use Carp (qw(confess cluck)); diff --git a/contrib/collection3/etc/collection.conf b/contrib/collection3/etc/collection.conf index 9497d8e3..c5a0e9f1 100644 --- a/contrib/collection3/etc/collection.conf +++ b/contrib/collection3/etc/collection.conf @@ -498,8 +498,8 @@ GraphWidth 400 DataSources value DSName value Temp RRDTitle "Temperature ({instance})" - RRDVerticalLabel "°Celsius" - RRDFormat "%4.1lf°C" + RRDVerticalLabel "°Celsius" + RRDFormat "%4.1lf°C" DataSources users @@ -525,4 +525,4 @@ GraphWidth 400 RRDVerticalLabel "W" RRDFormat "%4.1lfW" -# vim: set sw=2 sts=2 et syntax=apache fileencoding=latin-1 : +# vim: set sw=2 sts=2 et syntax=apache fileencoding=utf-8 :