utf8 fix in tokenizer