changes for the character encoding