using a library to handle utf8 conversion