[Overview][Resource strings][Constants][Types][Procedures and functions][Index] | Reference for unit 'unicodedata' (#rtl)

# TUCA_DataBook

Collation data book

## Declaration

Source position: unicodedata.pas line 402

`type TUCA_DataBook = record`
`public`
`Base: PUCA_DataBook;` |  | Collation set on which this collation set is based.
`Version: TCollationVersion;` |  | Version of this collation.
`CollationName: TCollationName;` |  | Name of this collation
`VariableWeight: TUCA_VariableKind;` |  | How collation weights are encoded
`Backwards: ;` |  | Is the collation weighting in backwards direction
`BMP_Table1: PByte;` |  | Basic Multilingual Plane Data, table 1 (code points U+0000..U+FFFF)
`BMP_Table2: PUInt24;` |  | Basic Multilingual Plane Data, table 2 (code points U+0000..U+FFFF)
`OBMP_Table1: PWord;` |  | Data for code points above U+FFFF, table 1
`OBMP_Table2: PUInt24;` |  | Data for code points above U+FFFF, table 2
`PropCount: Integer;` |  | Property count (number of items in table)
`Props: PUCA_PropItemRec;` |  | Property data.
`VariableLowLimit: Word;` |  | First variable weighted weight
`VariableHighLimit: Word;` |  | Last variable weighted weight
`NoNormalization: Boolean;`
`ComparisonStrength: Byte;`
`Dynamic: Boolean;` |  | Indicates the data was loaded from file (True) or is compiled-in (False).
`function IsVariable();` |  | Check if a weight is a variable weight
``
`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

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

Documentation generated on: May 14 2021