SetActiveCollation¶
Set the active collation for the current thread.
Declaration¶
Source position: fpwidestring.pp line 18
function SetActiveCollation(const AName: UnicodeString) : Boolean;
function SetActiveCollation(const ACollation: PUCA_DataBook) : Boolean;
Description¶
SetActiveCollation sets the collation used in the current thread of the application. This can be done using the name of the collation (AName) as registered or in the unicodedata unit or using the actual collation data (ACollation).
Errors¶
If the collation AName was not found, or ACollation is nil, then False is returned.
See also¶
| Name | Description |
|---|---|
| GetActiveCollation | Return the currently active collation for the current thread. |
| DefaultCollationName | Default collation for new threads. |