Handle multibyte chars in Tokenizer (thanks to nene for the fix)