diff options
Diffstat (limited to 'usr/local/www/graph_cpu.php')
-rw-r--r-- | usr/local/www/graph_cpu.php | 2 |
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"/> |