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

ConvertEncodingErrorMode

Error handling behavior for encoding conversion errors.

Declaration

Source position: lconvencoding.pas line 44

var ConvertEncodingErrorMode: TConvertEncodingErrorMode = ceemSkip;

Description

ConvertEncodingErrorMode is a unit global TConvertEncodingErrorMode variable which controls the behavior when an error is detected in an encoding conversion routine. For example:

The default value for the variable is ceemSkip, and indicates that an error is skipped or ignored when encountered in an encoding conversion.

Version info

Introduced in version 2.2. Replaces use of the ConvertEncodingErrorRaisesException variable.

See also

TConvertEncodingErrorMode

  

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

UTF8ToSingleByte

  

Converts a UTF-8-encoded string value to a single-bye character set using a conversion function.


Version 4.0 Generated 2025-05-03 Home