Encoding file to utf8