added utf8 conversion