Sign in Join
FPDoc Onlineexperiment

TConvertResult enumeration

In unit LazUTF8

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

Declaration

pascal
TConvertResult = (trSuccess,trNullSrc,trNullDest,trDestExhausted,
 trInvalidChar,trUnfinishedChar)

Description

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

Values

trSuccessIndicates a successful conversion with no errors.
trNullSrcSource value is null.
trNullDestDestination value is null.
trDestExhaustedDestination value is too small for the converted value.
trInvalidCharAn invalid encoding was found in the source value.
trUnfinishedCharAn unfinished encoding was found in the source value.

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