Encoding::InvalidByteSequenceError

class Encoding::InvalidByteSequenceError

Parent:
rb_eEncodingError

Raised by Encoding and String methods when the string being transcoded contains a byte invalid for the either the source or target encoding.

Public Instance Methods

destination_encoding → string Show source

Returns the destination encoding as an encoding object.