speed up utf8 vocab check