ARGF.set_encoding(ext_enc) â ARGFARGF.set_encoding("ext_enc:int_enc") â ARGFARGF.set_encoding(ext_enc, int_enc) â ARGFARGF.set_encoding("ext_enc:int_enc", opt) â ARGFARGF.set_encoding(ext_enc, int_enc, opt) â ARGF
Instance Public methods
If single argument is specified, strings read from ARGF are tagged with the encoding specified.
If two encoding names separated by a colon are given, e.g. âascii:utf-8â,
the read string is converted from the first encodi