Skip to content

TUCA_DataBook

Collation data book.

Declaration

Source position: unicodedata.pas line 415

type
  TUCA_DataBook = record
    Base: PUCA_DataBook = ^TUCA_DataBook;
    Version: TCollationVersion = TCollationName;
    CollationName: Array[0..(128-1)] of Byte;
    VariableWeight: TUCA_VariableKind = (ucaShifted,ucaNonIgnorable,ucaBlanked,
                     ucaShiftedTrimmed,ucaIgnoreSP);
    Backwards: Array[0..3] of Boolean;
    BMP_Table1: PByte = ^Byte;
    BMP_Table2: PUInt24 = ^UInt24;
    OBMP_Table1: PWord = ^Word;
    OBMP_Table2: PUInt24 = ^UInt24;
    PropCount: Integer;
    Props: PUCA_PropItemRec = ^TUCA_PropItemRec;
    VariableLowLimit: Word;
    VariableHighLimit: Word;
    NoNormalization: Boolean;
    ComparisonStrength: Byte;
    Dynamic: Boolean;
    function IsVariable : Boolean;
  end;

Description

TUCA_DataBook describes a Unicode Collation Algorithm data set. data sets can be registered using the RegisterCollation function or loaded from file using LoadCollation. A collation data book must be specified when comparing unicode strings.

See also

Name Description
RegisterCollation Register a new collation.
LoadCollation Load a binary collation data file from file.
IncrementalCompareString Compare 2 strings using the specified collation.