change the format of text to utf-8