Fix UTF8 encoding issues