add character encoding and head.php