GLib.unicode_canonical_ordering

function unicode_canonical_ordering(string: String, len: Number(gsize)): void {
    // Gjs wrapper for g_unicode_canonical_ordering()
}
  

Computes the canonical ordering of a string in-place. This rearranges decomposed characters in the string according to their combining classes. See the Unicode manual for more information.

string

a UCS-4 encoded string.

len

the maximum length of string to use.