Fallback()

EncoderFallbackBuffer::Fallback(char_t, int) method

Implements actual fallback procedure.

virtual bool System::Text::EncoderFallbackBuffer::Fallback(char_t charUnknown, int index)=0

Arguments

ParameterTypeDescription
charUnknownchar_tCharacter encoder fails to encode.
indexintIndex of character that triggered error.

Return Value

True if buffer processes unknown characters, false if it ignores them.

EncoderFallbackBuffer::Fallback(char_t, char_t, int) method

Implements actual fallback procedure.

virtual bool System::Text::EncoderFallbackBuffer::Fallback(char_t charUnknownHigh, char_t charUnknownLow, int index)=0

Arguments

ParameterTypeDescription
charUnknownHighchar_tHigh part of surrogate pair that triggered error.
charUnknownLowchar_tLow part of surrogate pair that triggered error.
indexintIndex of character that triggered error.

Return Value

True if buffer processes unknown characters, false if it ignores them.

See Also