switch from iconv to String#encode