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

All 11,911 cases

Case Name Expected Note Size
000650 unicode/part1/U+1E12 NormalizationTest.txt Ḓ␊Ḓ Line 702: LATIN CAPITAL LETTER D WITH CIRCUMFLEX BELOW. Its distinct columns, one per line. 7 B
000651 unicode/part1/U+1E13 NormalizationTest.txt ḓ␊ḓ Line 703: LATIN SMALL LETTER D WITH CIRCUMFLEX BELOW. Its distinct columns, one per line. 7 B
000652 unicode/part1/U+1E15 NormalizationTest.txt ḕ␊ḕ Line 705: LATIN SMALL LETTER E WITH MACRON AND GRAVE. Its distinct columns, one per line. 9 B
000653 unicode/part1/U+1E16 NormalizationTest.txt Ḗ␊Ḗ Line 706: LATIN CAPITAL LETTER E WITH MACRON AND ACUTE. Its distinct columns, one per line. 9 B
000654 unicode/part1/U+1E17 NormalizationTest.txt ḗ␊ḗ Line 707: LATIN SMALL LETTER E WITH MACRON AND ACUTE. Its distinct columns, one per line. 9 B
000655 unicode/part1/U+1E18 NormalizationTest.txt Ḙ␊Ḙ Line 708: LATIN CAPITAL LETTER E WITH CIRCUMFLEX BELOW. Its distinct columns, one per line. 7 B
000656 unicode/part1/U+1E19 NormalizationTest.txt ḙ␊ḙ Line 709: LATIN SMALL LETTER E WITH CIRCUMFLEX BELOW. Its distinct columns, one per line. 7 B
000657 unicode/part1/U+1E1A NormalizationTest.txt Ḛ␊Ḛ Line 710: LATIN CAPITAL LETTER E WITH TILDE BELOW. Its distinct columns, one per line. 7 B
000658 unicode/part1/U+1E1B NormalizationTest.txt ḛ␊ḛ Line 711: LATIN SMALL LETTER E WITH TILDE BELOW. Its distinct columns, one per line. 7 B
000659 unicode/part1/U+1E1C NormalizationTest.txt Ḝ␊Ḝ Line 712: LATIN CAPITAL LETTER E WITH CEDILLA AND BREVE. Its distinct columns, one per line. 9 B
000660 unicode/part1/U+1E1D NormalizationTest.txt ḝ␊ḝ Line 713: LATIN SMALL LETTER E WITH CEDILLA AND BREVE. Its distinct columns, one per line. 9 B
000661 unicode/part1/U+1E1E NormalizationTest.txt Ḟ␊Ḟ Line 714: LATIN CAPITAL LETTER F WITH DOT ABOVE. Its distinct columns, one per line. 7 B
000662 unicode/part1/U+1E1F NormalizationTest.txt ḟ␊ḟ Line 715: LATIN SMALL LETTER F WITH DOT ABOVE. Its distinct columns, one per line. 7 B
000663 unicode/part1/U+1E20 NormalizationTest.txt Ḡ␊Ḡ Line 716: LATIN CAPITAL LETTER G WITH MACRON. Its distinct columns, one per line. 7 B
000664 unicode/part1/U+1E21 NormalizationTest.txt ḡ␊ḡ Line 717: LATIN SMALL LETTER G WITH MACRON. Its distinct columns, one per line. 7 B
000665 unicode/part1/U+1E22 NormalizationTest.txt Ḣ␊Ḣ Line 718: LATIN CAPITAL LETTER H WITH DOT ABOVE. Its distinct columns, one per line. 7 B
000666 unicode/part1/U+1E23 NormalizationTest.txt ḣ␊ḣ Line 719: LATIN SMALL LETTER H WITH DOT ABOVE. Its distinct columns, one per line. 7 B
000667 unicode/part1/U+1E24 NormalizationTest.txt Ḥ␊Ḥ Line 720: LATIN CAPITAL LETTER H WITH DOT BELOW. Its distinct columns, one per line. 7 B
000668 unicode/part1/U+1E25 NormalizationTest.txt ḥ␊ḥ Line 721: LATIN SMALL LETTER H WITH DOT BELOW. Its distinct columns, one per line. 7 B
000669 unicode/part1/U+1E26 NormalizationTest.txt Ḧ␊Ḧ Line 722: LATIN CAPITAL LETTER H WITH DIAERESIS. Its distinct columns, one per line. 7 B
000670 unicode/part1/U+1E27 NormalizationTest.txt ḧ␊ḧ Line 723: LATIN SMALL LETTER H WITH DIAERESIS. Its distinct columns, one per line. 7 B
000671 unicode/part1/U+1E28 NormalizationTest.txt Ḩ␊Ḩ Line 724: LATIN CAPITAL LETTER H WITH CEDILLA. Its distinct columns, one per line. 7 B
000672 unicode/part1/U+1E29 NormalizationTest.txt ḩ␊ḩ Line 725: LATIN SMALL LETTER H WITH CEDILLA. Its distinct columns, one per line. 7 B
000673 unicode/part1/U+1E2A NormalizationTest.txt Ḫ␊Ḫ Line 726: LATIN CAPITAL LETTER H WITH BREVE BELOW. Its distinct columns, one per line. 7 B
000674 unicode/part1/U+1E2B NormalizationTest.txt ḫ␊ḫ Line 727: LATIN SMALL LETTER H WITH BREVE BELOW. Its distinct columns, one per line. 7 B
000675 unicode/part1/U+1E2C NormalizationTest.txt Ḭ␊Ḭ Line 728: LATIN CAPITAL LETTER I WITH TILDE BELOW. Its distinct columns, one per line. 7 B
000676 unicode/part1/U+1E2D NormalizationTest.txt ḭ␊ḭ Line 729: LATIN SMALL LETTER I WITH TILDE BELOW. Its distinct columns, one per line. 7 B
000677 unicode/part1/U+1E2E NormalizationTest.txt Ḯ␊Ḯ Line 730: LATIN CAPITAL LETTER I WITH DIAERESIS AND ACUTE. Its distinct columns, one per line. 9 B
000678 unicode/part1/U+1E2F NormalizationTest.txt ḯ␊ḯ Line 731: LATIN SMALL LETTER I WITH DIAERESIS AND ACUTE. Its distinct columns, one per line. 9 B
000679 unicode/part1/U+1E30 NormalizationTest.txt Ḱ␊Ḱ Line 732: LATIN CAPITAL LETTER K WITH ACUTE. Its distinct columns, one per line. 7 B
000680 unicode/part1/U+1E31 NormalizationTest.txt ḱ␊ḱ Line 733: LATIN SMALL LETTER K WITH ACUTE. Its distinct columns, one per line. 7 B
000681 unicode/part1/U+1E32 NormalizationTest.txt Ḳ␊Ḳ Line 734: LATIN CAPITAL LETTER K WITH DOT BELOW. Its distinct columns, one per line. 7 B
000682 unicode/part1/U+1E33 NormalizationTest.txt ḳ␊ḳ Line 735: LATIN SMALL LETTER K WITH DOT BELOW. Its distinct columns, one per line. 7 B
000683 unicode/part1/U+1E34 NormalizationTest.txt Ḵ␊Ḵ Line 736: LATIN CAPITAL LETTER K WITH LINE BELOW. Its distinct columns, one per line. 7 B
000684 unicode/part1/U+1E35 NormalizationTest.txt ḵ␊ḵ Line 737: LATIN SMALL LETTER K WITH LINE BELOW. Its distinct columns, one per line. 7 B
000685 unicode/part1/U+1E36 NormalizationTest.txt Ḷ␊Ḷ Line 738: LATIN CAPITAL LETTER L WITH DOT BELOW. Its distinct columns, one per line. 7 B
000686 unicode/part1/U+1E37 NormalizationTest.txt ḷ␊ḷ Line 739: LATIN SMALL LETTER L WITH DOT BELOW. Its distinct columns, one per line. 7 B
000687 unicode/part1/U+1E38 NormalizationTest.txt Ḹ␊Ḹ Line 740: LATIN CAPITAL LETTER L WITH DOT BELOW AND MACRON. Its distinct columns, one per line. 9 B
000688 unicode/part1/U+1E39 NormalizationTest.txt ḹ␊ḹ Line 741: LATIN SMALL LETTER L WITH DOT BELOW AND MACRON. Its distinct columns, one per line. 9 B
000689 unicode/part1/U+1E3A NormalizationTest.txt Ḻ␊Ḻ Line 742: LATIN CAPITAL LETTER L WITH LINE BELOW. Its distinct columns, one per line. 7 B
000690 unicode/part1/U+1E3B NormalizationTest.txt ḻ␊ḻ Line 743: LATIN SMALL LETTER L WITH LINE BELOW. Its distinct columns, one per line. 7 B
000691 unicode/part1/U+1E3C NormalizationTest.txt Ḽ␊Ḽ Line 744: LATIN CAPITAL LETTER L WITH CIRCUMFLEX BELOW. Its distinct columns, one per line. 7 B
000692 unicode/part1/U+1E3D NormalizationTest.txt ḽ␊ḽ Line 745: LATIN SMALL LETTER L WITH CIRCUMFLEX BELOW. Its distinct columns, one per line. 7 B
000693 unicode/part1/U+1E3E NormalizationTest.txt Ḿ␊Ḿ Line 746: LATIN CAPITAL LETTER M WITH ACUTE. Its distinct columns, one per line. 7 B
000694 unicode/part1/U+1E3F NormalizationTest.txt ḿ␊ḿ Line 747: LATIN SMALL LETTER M WITH ACUTE. Its distinct columns, one per line. 7 B
000695 unicode/part1/U+1E40 NormalizationTest.txt Ṁ␊Ṁ Line 748: LATIN CAPITAL LETTER M WITH DOT ABOVE. Its distinct columns, one per line. 7 B
000696 unicode/part1/U+1E41 NormalizationTest.txt ṁ␊ṁ Line 749: LATIN SMALL LETTER M WITH DOT ABOVE. Its distinct columns, one per line. 7 B
000697 unicode/part1/U+1E42 NormalizationTest.txt Ṃ␊Ṃ Line 750: LATIN CAPITAL LETTER M WITH DOT BELOW. Its distinct columns, one per line. 7 B
000698 unicode/part1/U+1E43 NormalizationTest.txt ṃ␊ṃ Line 751: LATIN SMALL LETTER M WITH DOT BELOW. Its distinct columns, one per line. 7 B
000699 unicode/part1/U+1E44 NormalizationTest.txt Ṅ␊Ṅ Line 752: LATIN CAPITAL LETTER N 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.