change encoding of string types to utf-8