strio.set_encoding(ext_enc, [int_enc[, opt]]) => strio
Instance Public methods
Specify the encoding of the StringIO as ext_enc. Use the default external encoding if ext_enc is nil. 2nd argument int_enc and optional hash opt argument are ignored; they are for API compatibility to IO.
Please login to continue.