add character encoding