projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
497e873
)
collection3: Output graph.cgi debug as UTF-8
author
Chris Mayo
<aklhfex@gmail.com>
Wed, 6 Feb 2019 19:51:49 +0000
(19:51 +0000)
committer
Chris Mayo
<aklhfex@gmail.com>
Wed, 6 Feb 2019 19:51:49 +0000
(19:51 +0000)
Ensure text and symbols e.g. degrees Celsius are shown as intended.
contrib/collection3/bin/graph.cgi
patch
|
blob
|
history
diff --git
a/contrib/collection3/bin/graph.cgi
b/contrib/collection3/bin/graph.cgi
index
2b3f2fe
..
ba189de
100755
(executable)
--- a/
contrib/collection3/bin/graph.cgi
+++ b/
contrib/collection3/bin/graph.cgi
@@
-140,10
+140,10
@@
sub main
if (param ('debug'))
{
print <<HTTP;
-Content-Type: text/plain
+Content-Type: text/plain
; charset=utf-8
HTTP
- $ContentType = 'text/plain';
+ $ContentType = 'text/plain
; charset=utf-8
';
}
if ($GraphWidth)