changes the encoding to ansi