Fix character encoding error