debug utf8 errors