convert encoding to UTF-8.