Rewrite UTF8 test