Fix UTF-8 invalid char sequence