repair utf-8 error