convert to utf8 encodings.