utf8 functions to be implemented