repair invalid UTF8