supported multi-byte characters

I was extend it to be able to use multi-byte characters.