summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c259328)
raw | patch | inline | side by side (parent: c259328)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 26 Jul 2009 13:01:53 +0000 (15:01 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 26 Jul 2009 13:05:21 +0000 (15:05 +0200) |
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.
characters" correctly. Using UTF-8 is a way to work around that issue.
Thanks to Daniel Danner for reporting and testing this.
contrib/collection3/bin/graph.cgi | patch | blob | history | |
contrib/collection3/etc/collection.conf | patch | blob | history |
index c096dc9444215f1707d18540b0f59b8b725bdc91..8a5bf85a17de71a3b978f55bab662d3cccc2197a 100755 (executable)
use strict;
use warnings;
use lib ('../lib');
+use utf8;
use FindBin ('$RealBin');
use Carp (qw(confess cluck));
index 9497d8e383e0dd2d5f50d90fcd041a0fe90052f3..c5a0e9f198c3f95ade401c9f52e4f8f1ef639015 100644 (file)
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 :