Fix character encoding issues