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

TConvertResult

Indicates the result from UTF-8 <-> UTF-16 conversions.

Declaration

Source position: lazutf8.pas line 198

type TConvertResult = (

  trNoError,

  

No error in the conversion.

  trNullSrc,

  

Source value is null.

  trNullDest,

  

Destination value is null.

  trDestExhausted,

  

Destination value is too small for the converted value.

  trInvalidChar,

  

An invalid encoding was found in the source value.

  trUnfinishedChar

  

An unfinished encoding was found in the source value.

);

Description

TConvertResult is an enumeration type with values that indicate the result from ConvertUTF8ToUTF16 and ConvertUTF16ToUTF8 function calls.


Version 3.2 Generated 2024-02-25 Home