Closed nobu closed 4 years ago
As rb_str_conv_enc() returns the argument string object itself unchanged when any conversion failed, check the incompatibility in that case.
rb_str_conv_enc()
Fixes https://github.com/ruby/stringio/issues/13
As
rb_str_conv_enc()
returns the argument string object itself unchanged when any conversion failed, check the incompatibility in that case.Fixes https://github.com/ruby/stringio/issues/13