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

CanonicalOrder

Put unicode string in canonical order.

Declaration

Source position: unicodedata.pas line 502

procedure CanonicalOrder(

  var AString: UnicodeString

); overload;

procedure CanonicalOrder(

  AStr: PUnicodeChar;

  const ALength: SizeInt

); overload;

Arguments

AString

  

Unicode string

Arguments

AStr

  

Null-terminated string with length specified in ALength.

ALength

  

Length of null-terminated string AStr.

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

NormalizeNFD

  

Perform unicode normalization D on a string


Documentation generated on: Jun 22 2020