Compliance cases

These are the 11,911 inputs a submission must normalize. Each output must match the expected text byte for byte. You can run the suite without reading it, or open any case to see its input and expected output.

NFC as UAX #15 defines it, pinned to Unicode 17.0.0: canonical decomposition, canonical ordering of combining marks, then canonical composition, with Hangul by arithmetic. The decomposition, combining class and composition tables are what make the Wasm big, so size is ranked on the gzipped download. The compliance suite has every line of NormalizationTest.txt, every other assigned code point, every quick-check Maybe and No character in context, targeted cases on exclusions, blocking, Hangul, long runs of marks and 16-byte boundaries, and seeded random text. A UAX #15 reference, ICU and Python agree on every answer.

Run the full compliance suite locally. Replace your-component.wasm with your compiled component. Download the suite

curl -fLo normalize_nfc.comply.wasm https://calculated.world/comply/normalize_nfc.wasm
npx qipok your-component.wasm --suite normalize_nfc.comply.wasm
Clear

727 of 11,911 cases

Case Name Expected Note Size
008084 unicode/part4/line 19318 NormalizationTest.txt Ǖ␊Ǖ␊Ǖ Line 19318: LATIN CAPITAL LETTER U WITH DIAERESIS, COMBINING MACRON. Its distinct columns, one per line. 13 B
008085 unicode/part4/line 19319 NormalizationTest.txt ǖ␊ǖ␊ǖ Line 19319: LATIN SMALL LETTER U WITH DIAERESIS, COMBINING MACRON. Its distinct columns, one per line. 13 B
008086 unicode/part4/line 19320 NormalizationTest.txt Ǘ␊Ǘ␊Ǘ Line 19320: LATIN CAPITAL LETTER U, COMBINING GREEK DIALYTIKA TONOS. Its distinct columns, one per line. 12 B
008087 unicode/part4/line 19321 NormalizationTest.txt Ǘ␊Ǘ␊Ǘ Line 19321: LATIN CAPITAL LETTER U WITH DIAERESIS, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 13 B
008088 unicode/part4/line 19322 NormalizationTest.txt Ǘ␊Ǘ␊Ǘ Line 19322: LATIN CAPITAL LETTER U WITH DIAERESIS, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 13 B
008089 unicode/part4/line 19323 NormalizationTest.txt ǘ␊ǘ␊ǘ Line 19323: LATIN SMALL LETTER U, COMBINING GREEK DIALYTIKA TONOS. Its distinct columns, one per line. 12 B
008090 unicode/part4/line 19324 NormalizationTest.txt ǘ␊ǘ␊ǘ Line 19324: LATIN SMALL LETTER U WITH DIAERESIS, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 13 B
008091 unicode/part4/line 19325 NormalizationTest.txt ǘ␊ǘ␊ǘ Line 19325: LATIN SMALL LETTER U WITH DIAERESIS, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 13 B
008092 unicode/part4/line 19326 NormalizationTest.txt Ǚ␊Ǚ␊Ǚ Line 19326: LATIN CAPITAL LETTER U WITH DIAERESIS, COMBINING CARON. Its distinct columns, one per line. 13 B
008093 unicode/part4/line 19327 NormalizationTest.txt ǚ␊ǚ␊ǚ Line 19327: LATIN SMALL LETTER U WITH DIAERESIS, COMBINING CARON. Its distinct columns, one per line. 13 B
008094 unicode/part4/line 19328 NormalizationTest.txt Ǜ␊Ǜ␊Ǜ Line 19328: LATIN CAPITAL LETTER U WITH DIAERESIS, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 13 B
008095 unicode/part4/line 19329 NormalizationTest.txt Ǜ␊Ǜ␊Ǜ Line 19329: LATIN CAPITAL LETTER U WITH DIAERESIS, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 13 B
008096 unicode/part4/line 19330 NormalizationTest.txt ǜ␊ǜ␊ǜ Line 19330: LATIN SMALL LETTER U WITH DIAERESIS, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 13 B
008097 unicode/part4/line 19331 NormalizationTest.txt ǜ␊ǜ␊ǜ Line 19331: LATIN SMALL LETTER U WITH DIAERESIS, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 13 B
008098 unicode/part4/line 19332 NormalizationTest.txt Ǟ␊Ǟ␊Ǟ Line 19332: LATIN CAPITAL LETTER A WITH DIAERESIS, COMBINING MACRON. Its distinct columns, one per line. 13 B
008099 unicode/part4/line 19333 NormalizationTest.txt ǟ␊ǟ␊ǟ Line 19333: LATIN SMALL LETTER A WITH DIAERESIS, COMBINING MACRON. Its distinct columns, one per line. 13 B
008100 unicode/part4/line 19334 NormalizationTest.txt Ǡ␊Ǡ␊Ǡ Line 19334: LATIN CAPITAL LETTER A WITH DOT ABOVE, COMBINING MACRON. Its distinct columns, one per line. 13 B
008101 unicode/part4/line 19335 NormalizationTest.txt ǡ␊ǡ␊ǡ Line 19335: LATIN SMALL LETTER A WITH DOT ABOVE, COMBINING MACRON. Its distinct columns, one per line. 13 B
008102 unicode/part4/line 19336 NormalizationTest.txt Ǭ␊Ǭ␊Ǭ Line 19336: LATIN CAPITAL LETTER O WITH MACRON, COMBINING OGONEK. Its distinct columns, one per line. 13 B
008103 unicode/part4/line 19337 NormalizationTest.txt Ǭ␊Ǭ␊Ǭ Line 19337: LATIN CAPITAL LETTER O WITH OGONEK, COMBINING MACRON. Its distinct columns, one per line. 13 B
008104 unicode/part4/line 19338 NormalizationTest.txt ǭ␊ǭ␊ǭ Line 19338: LATIN SMALL LETTER O WITH MACRON, COMBINING OGONEK. Its distinct columns, one per line. 13 B
008105 unicode/part4/line 19339 NormalizationTest.txt ǭ␊ǭ␊ǭ Line 19339: LATIN SMALL LETTER O WITH OGONEK, COMBINING MACRON. Its distinct columns, one per line. 13 B
008106 unicode/part4/line 19340 NormalizationTest.txt Ǻ␊Ǻ␊Ǻ Line 19340: LATIN CAPITAL LETTER A WITH RING ABOVE, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 13 B
008107 unicode/part4/line 19341 NormalizationTest.txt Ǻ␊Ǻ␊Ǻ Line 19341: LATIN CAPITAL LETTER A WITH RING ABOVE, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 13 B
008108 unicode/part4/line 19342 NormalizationTest.txt Ǻ␊Ǻ␊Ǻ Line 19342: ANGSTROM SIGN, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008109 unicode/part4/line 19343 NormalizationTest.txt Ǻ␊Ǻ␊Ǻ Line 19343: ANGSTROM SIGN, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 B
008110 unicode/part4/line 19344 NormalizationTest.txt ǻ␊ǻ␊ǻ Line 19344: LATIN SMALL LETTER A WITH RING ABOVE, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 13 B
008111 unicode/part4/line 19345 NormalizationTest.txt ǻ␊ǻ␊ǻ Line 19345: LATIN SMALL LETTER A WITH RING ABOVE, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 13 B
008112 unicode/part4/line 19346 NormalizationTest.txt Ȫ␊Ȫ␊Ȫ Line 19346: LATIN CAPITAL LETTER O WITH DIAERESIS, COMBINING MACRON. Its distinct columns, one per line. 13 B
008113 unicode/part4/line 19347 NormalizationTest.txt ȫ␊ȫ␊ȫ Line 19347: LATIN SMALL LETTER O WITH DIAERESIS, COMBINING MACRON. Its distinct columns, one per line. 13 B
008114 unicode/part4/line 19348 NormalizationTest.txt Ȭ␊Ȭ␊Ȭ Line 19348: LATIN CAPITAL LETTER O WITH TILDE, COMBINING MACRON. Its distinct columns, one per line. 13 B
008115 unicode/part4/line 19349 NormalizationTest.txt ȭ␊ȭ␊ȭ Line 19349: LATIN SMALL LETTER O WITH TILDE, COMBINING MACRON. Its distinct columns, one per line. 13 B
008116 unicode/part4/line 19350 NormalizationTest.txt Ȱ␊Ȱ␊Ȱ Line 19350: LATIN CAPITAL LETTER O WITH DOT ABOVE, COMBINING MACRON. Its distinct columns, one per line. 13 B
008117 unicode/part4/line 19351 NormalizationTest.txt ȱ␊ȱ␊ȱ Line 19351: LATIN SMALL LETTER O WITH DOT ABOVE, COMBINING MACRON. Its distinct columns, one per line. 13 B
008118 unicode/part4/line 19352 NormalizationTest.txt ΐ␊ΐ␊ΐ Line 19352: GREEK SMALL LETTER IOTA, COMBINING GREEK DIALYTIKA TONOS. Its distinct columns, one per line. 14 B
008119 unicode/part4/line 19353 NormalizationTest.txt ΐ␊ΐ␊ΐ Line 19353: GREEK SMALL LETTER IOTA WITH DIALYTIKA, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008120 unicode/part4/line 19354 NormalizationTest.txt ΐ␊ΐ␊ΐ Line 19354: GREEK SMALL LETTER IOTA WITH DIALYTIKA, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 B
008121 unicode/part4/line 19355 NormalizationTest.txt ΐ␊ΐ␊ΐ Line 19355: GREEK PROSGEGRAMMENI, COMBINING GREEK DIALYTIKA TONOS. Its distinct columns, one per line. 15 B
008122 unicode/part4/line 19356 NormalizationTest.txt ΰ␊ΰ␊ΰ Line 19356: GREEK SMALL LETTER UPSILON, COMBINING GREEK DIALYTIKA TONOS. Its distinct columns, one per line. 14 B
008123 unicode/part4/line 19357 NormalizationTest.txt ΰ␊ΰ␊ΰ Line 19357: GREEK SMALL LETTER UPSILON WITH DIALYTIKA, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008124 unicode/part4/line 19358 NormalizationTest.txt ΰ␊ΰ␊ΰ Line 19358: GREEK SMALL LETTER UPSILON WITH DIALYTIKA, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 B
008125 unicode/part4/line 19359 NormalizationTest.txt ೋ␊ೋ␊ೋ Line 19359: KANNADA VOWEL SIGN O, KANNADA LENGTH MARK. Its distinct columns, one per line. 20 B
008126 unicode/part4/line 19360 NormalizationTest.txt ෝ␊ෝ␊ෝ Line 19360: SINHALA VOWEL SIGN KOMBUVA HAA AELA-PILLA, SINHALA SIGN AL-LAKUNA. Its distinct columns, one per line. 20 B
008127 unicode/part4/line 19361 NormalizationTest.txt Ḉ␊Ḉ␊Ḉ Line 19361: LATIN CAPITAL LETTER C WITH CEDILLA, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008128 unicode/part4/line 19362 NormalizationTest.txt Ḉ␊Ḉ␊Ḉ Line 19362: LATIN CAPITAL LETTER C WITH CEDILLA, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 B
008129 unicode/part4/line 19363 NormalizationTest.txt Ḉ␊Ḉ␊Ḉ Line 19363: LATIN CAPITAL LETTER C WITH ACUTE, COMBINING CEDILLA. Its distinct columns, one per line. 14 B
008130 unicode/part4/line 19364 NormalizationTest.txt ḉ␊ḉ␊ḉ Line 19364: LATIN SMALL LETTER C WITH CEDILLA, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008131 unicode/part4/line 19365 NormalizationTest.txt ḉ␊ḉ␊ḉ Line 19365: LATIN SMALL LETTER C WITH CEDILLA, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 B
008132 unicode/part4/line 19366 NormalizationTest.txt ḉ␊ḉ␊ḉ Line 19366: LATIN SMALL LETTER C WITH ACUTE, COMBINING CEDILLA. Its distinct columns, one per line. 14 B
008133 unicode/part4/line 19368 NormalizationTest.txt Ḕ␊Ḕ␊Ḕ Line 19368: LATIN CAPITAL LETTER E WITH MACRON, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 14 B

Where these rules come from

NFC is defined by UAX #15, Unicode Normalization Forms, and chapter 3.11 of the Unicode Standard, here pinned to Unicode 17.0.0. Every answer is agreed by a direct reading of UAX #15 over the pinned data files, ICU 78.3 and Python’s unicodedata.normalize; the suite’s own tests add Node.js’s String.prototype.normalize. Combining marks merge into the character before them, so each case also lists its code points.