Fixed g_utf8_validate(), needed to break in inner switch