{
  "slug": "unicode-normalization",
  "term": "Unicode normalization",
  "aliases": [
    "Unicode normalization forms"
  ],
  "definition": "Unicode normalization transforms Unicode text into a specified form so that canonically or compatibility-equivalent strings can be compared consistently.",
  "note": "Forms: NFD applies canonical decomposition; NFC additionally applies canonical composition. NFKD and NFKC use compatibility decomposition, with composition for NFKC. Compatibility normalization can remove distinctions that matter to an application: U+2460 becomes U+0031 under NFKC but not NFC. [unicode-normalization]\n\nBoundaries: Normalizing fragments independently does not guarantee that their concatenation is normalized. U+0065 and U+0301 are each NFC, but their concatenation becomes U+00E9 when normalized together. Recheck the assembled text or use a normalization-aware boundary algorithm. [unicode-concatenation]\n\nStorage: Normalization is not case folding, visual-confusable detection or a universal filename-equality rule. It may change bytes and collapse distinct original names under an application's mapping. Keep original names and validate the actual destination comparison policy when restoring an archive. [hesela-filenames]",
  "status": "shipping",
  "advantages": [],
  "limitations": [
    "The selected form and Unicode version must be explicit; normalization does not preserve the original code-point sequence or encoded bytes in every case."
  ],
  "related": [
    "character-encoding",
    "utf-8",
    "filename-collision",
    "byte",
    "grapheme-cluster"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-17",
  "citations": [
    {
      "id": "unicode-normalization",
      "title": "Unicode Standard Annex 15 revision 57: sections 1.1 and 1.2, equivalence and normalization forms",
      "url": "https://www.unicode.org/reports/tr15/tr15-57.html#Introduction",
      "accessed": "2026-11-17"
    },
    {
      "id": "unicode-concatenation",
      "title": "Unicode Standard Annex 15 revision 57: section 1.4, concatenation of normalized strings",
      "url": "https://www.unicode.org/reports/tr15/tr15-57.html#Concatenation",
      "accessed": "2026-11-17"
    },
    {
      "id": "hesela-filenames",
      "title": "Hesela: filename identity and backup restores",
      "url": "https://hesela.com/analyses/filename-identity-backup-restores/#text-encoding",
      "accessed": "2026-11-17"
    }
  ],
  "provenance": [
    "Pinned to Unicode 17.0.0 / UAX 15 revision 57. Exact small examples use the runtime's Unicode database; the executable probe reports Node, ICU and Unicode versions separately."
  ]
}
