iconv (Iconv)

    # File lib/gettext/iconv.rb, line 51
            def iconv(to, from, str)
              begin
                GLib.convert(str, to, from).split(//)
              rescue GLib::ConvertError => e
                case e.code
                when GLib::ConvertError::NO_CONVERSION
                  raise InvalidEncoding.new(str)
                when GLib::ConvertError::ILLEGAL_SEQUENCE
                  raise IllegalSequence.new(str)
                else
                  raise InvalidCharacter.new(str)
                end
              end
            end