fix Utf8#unescape() override global i and prev variable