Handle UTF-8 error