[Overview][Resource strings][Constants][Types][Procedures and functions][Index] |
Register a new collation
Source position: unicodedata.pas line 415
function RegisterCollation( |
const ACollation: PUCA_DataBook |
):Boolean; overload; |
const ADirectory: string; |
const ALanguage: string |
):Boolean; overload; |
ACollation |
|
Pointer to collation data in memory |
True if the collation is registered correctly.
ADirectory |
|
Directory to search for ALanguage collation data. |
ALanguage |
|
Name of language data. |
RegisterCollation registers a new collation ACollation in the list of known collations. The collation data can be specified directly (ACollation) or a name of a language (ALanguage) in a directory (ADirectory). The latter option will load the binary encodeded collation from file using LoadCollation.
If the collation is loaded correctly, True is returned, otherwise False is returned (for instance when a collation with the same name is already loaded).
|
Remove a collation from the list of known collections. |
|
|
Unregister all collations. |
|
|
Load a binary collation data file from file |