added utf8 functions