summaryrefslogtreecommitdiffstats
path: root/usr/local/www/graph_cpu.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-03-23 10:18:55 -0300
committerRenato Botelho <garga@FreeBSD.org>2015-03-23 10:18:55 -0300
commitcd94a9a8d9ea4ba99576da957e18c23472d59f85 (patch)
tree1e64bb663391476732588e833752ed27858ae70b /usr/local/www/graph_cpu.php
parente2173e062b141acf8e6e45c775840c0fe433a3b2 (diff)
downloadpfsense-cd94a9a8d9ea4ba99576da957e18c23472d59f85.zip
pfsense-cd94a9a8d9ea4ba99576da957e18c23472d59f85.tar.gz
Add missing encoding, as suggested by yakar
Diffstat (limited to 'usr/local/www/graph_cpu.php')
-rw-r--r--usr/local/www/graph_cpu.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/graph_cpu.php b/usr/local/www/graph_cpu.php
index 200b9ea..ef3f22d 100644
--- a/usr/local/www/graph_cpu.php
+++ b/usr/local/www/graph_cpu.php
@@ -68,7 +68,7 @@ $height=100; // SVG internal height : do not modify
$width=200; // SVG internal width : do not modify
/********* Graph DATA **************/
-print('<?xml version="1.0" ?>' . "\n");?>
+print('<?xml version="1.0" encoding="UTF-8"?>' . "\n");?>
<svg width="100%" height="100%" viewBox="0 0 <?=$width?> <?=$height?>" preserveAspectRatio="none" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="init(evt);">
<g id="graph">
<rect id="bg" x1="0" y1="0" width="100%" height="100%" fill="white"/>
OpenPOWER on IntegriCloud