Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Encoding::UndefinedConversionError#destination_encoding_name
ecerr.destination_encoding_name → string
transcode.c
View on GitHub ↗
static VALUE
ecerr_destination_encoding_name(VALUE self)
{
return rb_attr_get(self, id_destination_encoding_name);
}
Returns the destination encoding name as a string.
See also
#destination_encoding
#error_char
#source_encoding
also in
4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0