Maintenance Ruby 3.3 gets fixes, but no new features. 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, id_source_encoding_name);
}
Returns the source encoding name as a string.