change encoding to ansi