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

3,833 of 11,911 cases

Case Name Expected Note Size
000608 unicode/part1/U+1DA6 NormalizationTest.txt ᶦ␊ɪ Line 658: MODIFIER LETTER SMALL CAPITAL I. Its distinct columns, one per line. 6 B
000609 unicode/part1/U+1DA7 NormalizationTest.txt ᶧ␊ᵻ Line 659: MODIFIER LETTER SMALL CAPITAL I WITH STROKE. Its distinct columns, one per line. 7 B
000610 unicode/part1/U+1DA8 NormalizationTest.txt ᶨ␊ʝ Line 660: MODIFIER LETTER SMALL J WITH CROSSED-TAIL. Its distinct columns, one per line. 6 B
000611 unicode/part1/U+1DA9 NormalizationTest.txt ᶩ␊ɭ Line 661: MODIFIER LETTER SMALL L WITH RETROFLEX HOOK. Its distinct columns, one per line. 6 B
000612 unicode/part1/U+1DAA NormalizationTest.txt ᶪ␊ᶅ Line 662: MODIFIER LETTER SMALL L WITH PALATAL HOOK. Its distinct columns, one per line. 7 B
000613 unicode/part1/U+1DAB NormalizationTest.txt ᶫ␊ʟ Line 663: MODIFIER LETTER SMALL CAPITAL L. Its distinct columns, one per line. 6 B
000614 unicode/part1/U+1DAC NormalizationTest.txt ᶬ␊ɱ Line 664: MODIFIER LETTER SMALL M WITH HOOK. Its distinct columns, one per line. 6 B
000615 unicode/part1/U+1DAD NormalizationTest.txt ᶭ␊ɰ Line 665: MODIFIER LETTER SMALL TURNED M WITH LONG LEG. Its distinct columns, one per line. 6 B
000616 unicode/part1/U+1DAE NormalizationTest.txt ᶮ␊ɲ Line 666: MODIFIER LETTER SMALL N WITH LEFT HOOK. Its distinct columns, one per line. 6 B
000617 unicode/part1/U+1DAF NormalizationTest.txt ᶯ␊ɳ Line 667: MODIFIER LETTER SMALL N WITH RETROFLEX HOOK. Its distinct columns, one per line. 6 B
000618 unicode/part1/U+1DB0 NormalizationTest.txt ᶰ␊ɴ Line 668: MODIFIER LETTER SMALL CAPITAL N. Its distinct columns, one per line. 6 B
000619 unicode/part1/U+1DB1 NormalizationTest.txt ᶱ␊ɵ Line 669: MODIFIER LETTER SMALL BARRED O. Its distinct columns, one per line. 6 B
000620 unicode/part1/U+1DB2 NormalizationTest.txt ᶲ␊ɸ Line 670: MODIFIER LETTER SMALL PHI. Its distinct columns, one per line. 6 B
000621 unicode/part1/U+1DB3 NormalizationTest.txt ᶳ␊ʂ Line 671: MODIFIER LETTER SMALL S WITH HOOK. Its distinct columns, one per line. 6 B
000622 unicode/part1/U+1DB4 NormalizationTest.txt ᶴ␊ʃ Line 672: MODIFIER LETTER SMALL ESH. Its distinct columns, one per line. 6 B
000623 unicode/part1/U+1DB5 NormalizationTest.txt ᶵ␊ƫ Line 673: MODIFIER LETTER SMALL T WITH PALATAL HOOK. Its distinct columns, one per line. 6 B
000624 unicode/part1/U+1DB6 NormalizationTest.txt ᶶ␊ʉ Line 674: MODIFIER LETTER SMALL U BAR. Its distinct columns, one per line. 6 B
000625 unicode/part1/U+1DB7 NormalizationTest.txt ᶷ␊ʊ Line 675: MODIFIER LETTER SMALL UPSILON. Its distinct columns, one per line. 6 B
000626 unicode/part1/U+1DB8 NormalizationTest.txt ᶸ␊ᴜ Line 676: MODIFIER LETTER SMALL CAPITAL U. Its distinct columns, one per line. 7 B
000627 unicode/part1/U+1DB9 NormalizationTest.txt ᶹ␊ʋ Line 677: MODIFIER LETTER SMALL V WITH HOOK. Its distinct columns, one per line. 6 B
000628 unicode/part1/U+1DBA NormalizationTest.txt ᶺ␊ʌ Line 678: MODIFIER LETTER SMALL TURNED V. Its distinct columns, one per line. 6 B
000629 unicode/part1/U+1DBB NormalizationTest.txt ᶻ␊z Line 679: MODIFIER LETTER SMALL Z. Its distinct columns, one per line. 5 B
000630 unicode/part1/U+1DBC NormalizationTest.txt ᶼ␊ʐ Line 680: MODIFIER LETTER SMALL Z WITH RETROFLEX HOOK. Its distinct columns, one per line. 6 B
000631 unicode/part1/U+1DBD NormalizationTest.txt ᶽ␊ʑ Line 681: MODIFIER LETTER SMALL Z WITH CURL. Its distinct columns, one per line. 6 B
000632 unicode/part1/U+1DBE NormalizationTest.txt ᶾ␊ʒ Line 682: MODIFIER LETTER SMALL EZH. Its distinct columns, one per line. 6 B
000633 unicode/part1/U+1DBF NormalizationTest.txt ᶿ␊θ Line 683: MODIFIER LETTER SMALL THETA. Its distinct columns, one per line. 6 B
000785 unicode/part1/U+1E9A NormalizationTest.txt ẚ␊aʾ Line 838: LATIN SMALL LETTER A WITH RIGHT HALF RING. Its distinct columns, one per line. 7 B
001051 unicode/part1/U+1FBD NormalizationTest.txt ᾽␊ ̓ Line 1104: GREEK KORONIS. Its distinct columns, one per line. 7 B
001053 unicode/part1/U+1FBF NormalizationTest.txt ᾿␊ ̓ Line 1106: GREEK PSILI. Its distinct columns, one per line. 7 B
001054 unicode/part1/U+1FC0 NormalizationTest.txt ῀␊ ͂ Line 1107: GREEK PERISPOMENI. Its distinct columns, one per line. 7 B
001109 unicode/part1/U+1FFE NormalizationTest.txt ῾␊ ̔ Line 1162: GREEK DASIA. Its distinct columns, one per line. 7 B
001112 unicode/part1/U+2002 NormalizationTest.txt  ␊ Line 1165: EN SPACE. Its distinct columns, one per line. 5 B
001113 unicode/part1/U+2003 NormalizationTest.txt  ␊ Line 1166: EM SPACE. Its distinct columns, one per line. 5 B
001114 unicode/part1/U+2004 NormalizationTest.txt  ␊ Line 1167: THREE-PER-EM SPACE. Its distinct columns, one per line. 5 B
001115 unicode/part1/U+2005 NormalizationTest.txt  ␊ Line 1168: FOUR-PER-EM SPACE. Its distinct columns, one per line. 5 B
001116 unicode/part1/U+2006 NormalizationTest.txt  ␊ Line 1169: SIX-PER-EM SPACE. Its distinct columns, one per line. 5 B
001117 unicode/part1/U+2007 NormalizationTest.txt  ␊ Line 1170: FIGURE SPACE. Its distinct columns, one per line. 5 B
001118 unicode/part1/U+2008 NormalizationTest.txt  ␊ Line 1171: PUNCTUATION SPACE. Its distinct columns, one per line. 5 B
001119 unicode/part1/U+2009 NormalizationTest.txt  ␊ Line 1172: THIN SPACE. Its distinct columns, one per line. 5 B
001120 unicode/part1/U+200A NormalizationTest.txt  ␊ Line 1173: HAIR SPACE. Its distinct columns, one per line. 5 B
001121 unicode/part1/U+2011 NormalizationTest.txt ‑␊‐ Line 1174: NON-BREAKING HYPHEN. Its distinct columns, one per line. 7 B
001122 unicode/part1/U+2017 NormalizationTest.txt ‗␊ ̳ Line 1175: DOUBLE LOW LINE. Its distinct columns, one per line. 7 B
001123 unicode/part1/U+2024 NormalizationTest.txt ․␊. Line 1176: ONE DOT LEADER. Its distinct columns, one per line. 5 B
001124 unicode/part1/U+2025 NormalizationTest.txt ‥␊.. Line 1177: TWO DOT LEADER. Its distinct columns, one per line. 6 B
001125 unicode/part1/U+2026 NormalizationTest.txt …␊... Line 1178: HORIZONTAL ELLIPSIS. Its distinct columns, one per line. 7 B
001126 unicode/part1/U+202F NormalizationTest.txt  ␊ Line 1179: NARROW NO-BREAK SPACE. Its distinct columns, one per line. 5 B
001127 unicode/part1/U+2033 NormalizationTest.txt ″␊′′ Line 1180: DOUBLE PRIME. Its distinct columns, one per line. 10 B
001128 unicode/part1/U+2034 NormalizationTest.txt ‴␊′′′ Line 1181: TRIPLE PRIME. Its distinct columns, one per line. 13 B
001129 unicode/part1/U+2036 NormalizationTest.txt ‶␊‵‵ Line 1182: REVERSED DOUBLE PRIME. Its distinct columns, one per line. 10 B
001130 unicode/part1/U+2037 NormalizationTest.txt ‷␊‵‵‵ Line 1183: REVERSED TRIPLE PRIME. Its distinct columns, one per line. 13 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.