[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'LConvEncoding' (#lazutils)

TConvertEncodingErrorMode

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

Declaration

Source position: lconvencoding.pas line 34

type TConvertEncodingErrorMode = (

  ceemSkip,

  

Skip or ignore the encoding conversion error.

  ceemException,

  

Raises an EConvertError exception with a message relevant to the conversion error.

  ceemReplace,

  

Replace the suspect value with an error placeholder (usually the '?' character).

  ceemReturnEmpty

  

Return an empty string ('') for the suspect value.

);

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.

Version info

Introduced in version 2.2.

See also

ConvertEncodingErrorMode

  

Error handling behavior for encoding conversion errors.


Version 4.0 Generated 2025-05-03 Home