set the charset correctly