Type:
Class
Constants:
INVALID_MASK : Document-const

INVALID_MASK

Mask for invalid byte sequences

INVALID_REPLACE : Document-const

INVALID_REPLACE

Replace invalid byte sequences

UNDEF_MASK : Document-const

UNDEF_MASK

Mask for a valid character in the source encoding but no related character(s) in destination encoding.

UNDEF_REPLACE : Document-const

UNDEF_REPLACE

Replace byte sequences that are undefined in the destination encoding.

UNDEF_HEX_CHARREF : Document-const

UNDEF_HEX_CHARREF

Replace byte sequences that are undefined in the destination encoding with an XML hexadecimal character reference. This is valid for XML conversion.

PARTIAL_INPUT : Document-const

PARTIAL_INPUT

Indicates the source may be part of a larger string. See #primitive_convert for an example.

AFTER_OUTPUT : Document-const

AFTER_OUTPUT

Stop converting after some output is complete but before all of the input was consumed. See #primitive_convert for an example.

UNIVERSAL_NEWLINE_DECORATOR : Document-const

UNIVERSAL_NEWLINE_DECORATOR

Decorator for converting CRLF and CR to LF

CRLF_NEWLINE_DECORATOR : Document-const

CRLF_NEWLINE_DECORATOR

Decorator for converting LF to CRLF

CR_NEWLINE_DECORATOR : Document-const

CR_NEWLINE_DECORATOR

Decorator for converting LF to CR

XML_TEXT_DECORATOR : Document-const

XML_TEXT_DECORATOR

Escape as XML CharData

XML_ATTR_CONTENT_DECORATOR : Document-const

XML_ATTR_CONTENT_DECORATOR

Escape as XML AttValue

XML_ATTR_QUOTE_DECORATOR : Document-const

XML_ATTR_QUOTE_DECORATOR

Escape as XML AttValue

primitive_convert

ec.primitive_convert(source_buffer, destination_buffer) â symbolec.primitive_convert(source_buffer, destination_buffer, destination_byteoffset) â symbol

2015-04-04 18:53:48
putback

putback(p1 = v1) Instance Public methods call-seq

2015-04-04 19:02:54
search_convpath

Encoding::Converter.search_convpath(source_encoding, destination_encoding) â aryEncoding::Converter.search_convpath(source_encoding, destination_encoding

2015-04-04 18:24:46
convert

ec.convert(source_string) â destination_string Instance Public methods Convert

2015-04-04 18:35:46
insert_output

ec.insert_output(string) â nil Instance Public methods Inserts string into

2015-04-04 18:46:32
replacement

ec.replacement â string Instance Public methods Returns the replacement string

2015-04-04 19:07:42
inspect

ec.inspect â string Instance Public methods Returns a printable version

2015-04-04 18:48:47
replacement=

ec.replacement = string Instance Public methods Sets the replacement string

2015-04-04 19:11:15
==

ec == other â true or false Instance Public methods

2015-04-04 18:30:21
destination_encoding

ec.destination_encoding â encoding Instance Public methods Returns the destination

2015-04-04 18:37:59