CifReplacingEncoderFallbackBuffer.Fallback

Fallback(char, int)

Called when a single-char character out of output codepage is encountered

public override bool Fallback(char charUnknown, int index)
ParameterTypeDescription
charUnknownCharOut of codepage character
indexInt32Index of character in the input string

Return Value

True if we do replace, false if not

See Also


Fallback(char, char, int)

Called when a surrogate pair of characters out of output codepage is encountered

public override bool Fallback(char charUnknownHigh, char charUnknownLow, int index)
ParameterTypeDescription
charUnknownHighCharOut of codepage character - high surrogate
charUnknownLowCharOut of codepage character - low surrogate
indexInt32Index of character in the input string

Return Value

True if we do replace, false if not

See Also