add character encoding tag and title