CanonicalOrder¶
Put unicode string in canonical order.
Declaration¶
Source position: unicodedata.pas line 515
procedure CanonicalOrder(var AString: UnicodeString); overload; overload;
procedure CanonicalOrder(AStr: PUnicodeChar; const ALength: SizeInt)
; overload; overload;
Description¶
CanonicalOrder transforms a unicode string AString (or the alternate form using a null-terminated AStr with length Alength) so it is in canonical order (as defined by the unicode specification). A string needs to be in canonical order to be able to compare strings. This function is called as part of NormalizeNFD.
See also¶
| Name | Description |
|---|---|
| NormalizeNFD | Perform unicode normalization D on a string. |