require iconv when String#encode missing