handle utf8 chars