Fix the encoding