Which form should I use for comparing ordinary accented text?
Use the form required by your destination. NFC is a common choice for storing canonically equivalent text in a consistent composed form.
Normalize accented and compatibility characters before comparing text, preparing search keys, or moving data between systems. Review the transformed text and its sizes.
Two strings may look identical while using different Unicode values. For example, a letter e followed by a combining acute accent and the precomposed é can compare differently in software. NFC composes eligible characters. NFD expresses them in their canonically decomposed form.
NFKC and NFKD also standardize compatibility forms such as fullwidth letters and some ligatures. That is useful for search and matching when those differences are unimportant. Keep the original for uses where typography or compatibility distinctions matter.
Use the form required by your destination. NFC is a common choice for storing canonically equivalent text in a consistent composed form.
Canonical decomposition represents accents as separate code points while preserving them in the string. Compatibility normalization can transform certain symbols and variants according to Unicode rules.
A composition can join multiple code points into one. A decomposition can expand one code point into several. The byte count measures the UTF-8 form of the result.