INVALID_MASK
Mask for invalid byte sequences
INVALID_REPLACE
Replace invalid byte sequences
UNDEF_MASK
Mask for a valid character in the source encoding but no related character(s) in destination encoding.
UNDEF_REPLACE
Replace byte sequences that are undefined in the destination encoding.
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
Indicates the source may be part of a larger string. See #primitive_convert for an example.
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
Decorator for converting CRLF and CR to LF
CRLF_NEWLINE_DECORATOR
Decorator for converting LF to CRLF
CR_NEWLINE_DECORATOR
Decorator for converting LF to CR
XML_TEXT_DECORATOR
Escape as XML CharData
XML_ATTR_CONTENT_DECORATOR
Escape as XML AttValue
XML_ATTR_QUOTE_DECORATOR
Escape as XML AttValue