Fix Character set for DB Connect. Remove unused code in rrd.php