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#source_encoding_name
ecerr.source_encoding_name → string
transcode.c
View on GitHub ↗
static VALUE
ecerr_source_encoding_name(VALUE self)
{
return rb_attr_get(self, rb_intern("source_encoding_name"));
}
Returns the source encoding name as a string.