<%GLibNormalizeMode>

<%GLibNormalizeMode>

Description

Defines how a Unicode string is transformed in a canonical form, standardizing such issues as whether a character with an accent is represented as a base character and combining accent or as a single precomposed character. Unicode strings should generally be normalized before comparing them.

Members

default

alias G_NORMALIZE_DEFAULT

standardize differences that do not affect the text content, such as the above-mentioned accent representation

nfd

alias G_NORMALIZE_NFD

another name for G_NORMALIZE_DEFAULT

default-compose

alias G_NORMALIZE_DEFAULT_COMPOSE

like G_NORMALIZE_DEFAULT, but with composed forms rather than a maximally decomposed form

nfc

alias G_NORMALIZE_NFC

another name for G_NORMALIZE_DEFAULT_COMPOSE

all

alias G_NORMALIZE_ALL

beyond G_NORMALIZE_DEFAULT also standardize the "compatibility" characters in Unicode, such as SUPERSCRIPT THREE to the standard forms (in this case DIGIT THREE). Formatting information may be lost but for most text operations such characters should be considered the same

nfkd

alias G_NORMALIZE_NFKD

another name for G_NORMALIZE_ALL

all-compose

alias G_NORMALIZE_ALL_COMPOSE

like G_NORMALIZE_ALL, but with composed forms rather than a maximally decomposed form

nfkc

alias G_NORMALIZE_NFKC

another name for G_NORMALIZE_ALL_COMPOSE