[Overview][Resource strings][Constants][Types][Procedures and functions][Index] |
Collation data book
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; |
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.
|
Register a new collation |
|
|
Load a binary collation data file from file |
|
|
Compare 2 strings using the specified collation |