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

5,928 of 11,911 cases

Case Name Expected Note Size
000595 unicode/part1/U+1D6A NormalizationTest.txt ᵪ␊χ Line 645: GREEK SUBSCRIPT SMALL LETTER CHI. Its distinct columns, one per line. 6 B
000596 unicode/part1/U+1D78 NormalizationTest.txt ᵸ␊н Line 646: MODIFIER LETTER CYRILLIC EN. Its distinct columns, one per line. 6 B
000597 unicode/part1/U+1D9B NormalizationTest.txt ᶛ␊ɒ Line 647: MODIFIER LETTER SMALL TURNED ALPHA. Its distinct columns, one per line. 6 B
000598 unicode/part1/U+1D9C NormalizationTest.txt ᶜ␊c Line 648: MODIFIER LETTER SMALL C. Its distinct columns, one per line. 5 B
000599 unicode/part1/U+1D9D NormalizationTest.txt ᶝ␊ɕ Line 649: MODIFIER LETTER SMALL C WITH CURL. Its distinct columns, one per line. 6 B
000600 unicode/part1/U+1D9E NormalizationTest.txt ᶞ␊ð Line 650: MODIFIER LETTER SMALL ETH. Its distinct columns, one per line. 6 B
000601 unicode/part1/U+1D9F NormalizationTest.txt ᶟ␊ɜ Line 651: MODIFIER LETTER SMALL REVERSED OPEN E. Its distinct columns, one per line. 6 B
000602 unicode/part1/U+1DA0 NormalizationTest.txt ᶠ␊f Line 652: MODIFIER LETTER SMALL F. Its distinct columns, one per line. 5 B
000603 unicode/part1/U+1DA1 NormalizationTest.txt ᶡ␊ɟ Line 653: MODIFIER LETTER SMALL DOTLESS J WITH STROKE. Its distinct columns, one per line. 6 B
000604 unicode/part1/U+1DA2 NormalizationTest.txt ᶢ␊ɡ Line 654: MODIFIER LETTER SMALL SCRIPT G. Its distinct columns, one per line. 6 B
000605 unicode/part1/U+1DA3 NormalizationTest.txt ᶣ␊ɥ Line 655: MODIFIER LETTER SMALL TURNED H. Its distinct columns, one per line. 6 B
000606 unicode/part1/U+1DA4 NormalizationTest.txt ᶤ␊ɨ Line 656: MODIFIER LETTER SMALL I WITH STROKE. Its distinct columns, one per line. 6 B
000607 unicode/part1/U+1DA5 NormalizationTest.txt ᶥ␊ɩ Line 657: MODIFIER LETTER SMALL IOTA. Its distinct columns, one per line. 6 B
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
000634 unicode/part1/U+1E00 NormalizationTest.txt Ḁ␊Ḁ Line 684: LATIN CAPITAL LETTER A WITH RING BELOW. Its distinct columns, one per line. 7 B
000635 unicode/part1/U+1E01 NormalizationTest.txt ḁ␊ḁ Line 685: LATIN SMALL LETTER A WITH RING BELOW. Its distinct columns, one per line. 7 B
000636 unicode/part1/U+1E02 NormalizationTest.txt Ḃ␊Ḃ Line 686: LATIN CAPITAL LETTER B WITH DOT ABOVE. Its distinct columns, one per line. 7 B
000637 unicode/part1/U+1E03 NormalizationTest.txt ḃ␊ḃ Line 687: LATIN SMALL LETTER B WITH DOT ABOVE. Its distinct columns, one per line. 7 B
000638 unicode/part1/U+1E04 NormalizationTest.txt Ḅ␊Ḅ Line 688: LATIN CAPITAL LETTER B WITH DOT BELOW. Its distinct columns, one per line. 7 B
000639 unicode/part1/U+1E05 NormalizationTest.txt ḅ␊ḅ Line 689: LATIN SMALL LETTER B WITH DOT BELOW. Its distinct columns, one per line. 7 B
000640 unicode/part1/U+1E06 NormalizationTest.txt Ḇ␊Ḇ Line 690: LATIN CAPITAL LETTER B WITH LINE BELOW. Its distinct columns, one per line. 7 B
000641 unicode/part1/U+1E07 NormalizationTest.txt ḇ␊ḇ Line 691: LATIN SMALL LETTER B WITH LINE BELOW. Its distinct columns, one per line. 7 B
000642 unicode/part1/U+1E08 NormalizationTest.txt Ḉ␊Ḉ Line 692: LATIN CAPITAL LETTER C WITH CEDILLA AND ACUTE. Its distinct columns, one per line. 9 B
000643 unicode/part1/U+1E09 NormalizationTest.txt ḉ␊ḉ Line 693: LATIN SMALL LETTER C WITH CEDILLA AND ACUTE. Its distinct columns, one per line. 9 B
000644 unicode/part1/U+1E0B NormalizationTest.txt ḋ␊ḋ Line 695: LATIN SMALL LETTER D WITH DOT ABOVE. Its distinct columns, one per line. 7 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.