End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Encoding::UndefinedConversionError#destination_encoding
ecerr.destination_encoding → string
transcode.c
View on GitHub ↗
static VALUE
ecerr_destination_encoding(VALUE self)
{
return rb_attr_get(self, rb_intern("destination_encoding"));
}
Returns the destination encoding as an encoding object.