Sign in Join
FPDoc Onlineexperiment

TConvertEncodingErrorMode enumeration

In unit LConvEncoding

Represents the behaviors for an error occurring in an encoding conversion.

Declaration

pascal
TConvertEncodingErrorMode = (ceemSkip,ceemException,ceemReplace,
 ceemReturnEmpty)

Description

TConvertEncodingErrorMode is an enumerated type with values that represent the behavior applied when an encoding conversion error is detected. TConvertEncodingErrorMode is the type used for the ConvertEncodingErrorMode variable.

Introduced in version 2.2.

See also

Values

ceemSkipSkip or ignore the encoding conversion error.
ceemExceptionRaises an EConvertError exception with a message relevant to the conversion error.
ceemReplaceReplace the suspect value with an error placeholder (usually the '?' character).
ceemReturnEmptyReturn an empty string ('') for the suspect value.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.