Fix UTF-8 string encoding.