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
000750 unicode/part1/U+1E77 NormalizationTest.txt ṷ␊ṷ Line 803: LATIN SMALL LETTER U WITH CIRCUMFLEX BELOW. Its distinct columns, one per line. 7 B
000751 unicode/part1/U+1E78 NormalizationTest.txt Ṹ␊Ṹ Line 804: LATIN CAPITAL LETTER U WITH TILDE AND ACUTE. Its distinct columns, one per line. 9 B
000752 unicode/part1/U+1E79 NormalizationTest.txt ṹ␊ṹ Line 805: LATIN SMALL LETTER U WITH TILDE AND ACUTE. Its distinct columns, one per line. 9 B
000753 unicode/part1/U+1E7A NormalizationTest.txt Ṻ␊Ṻ Line 806: LATIN CAPITAL LETTER U WITH MACRON AND DIAERESIS. Its distinct columns, one per line. 9 B
000754 unicode/part1/U+1E7B NormalizationTest.txt ṻ␊ṻ Line 807: LATIN SMALL LETTER U WITH MACRON AND DIAERESIS. Its distinct columns, one per line. 9 B
000755 unicode/part1/U+1E7C NormalizationTest.txt Ṽ␊Ṽ Line 808: LATIN CAPITAL LETTER V WITH TILDE. Its distinct columns, one per line. 7 B
000756 unicode/part1/U+1E7D NormalizationTest.txt ṽ␊ṽ Line 809: LATIN SMALL LETTER V WITH TILDE. Its distinct columns, one per line. 7 B
000757 unicode/part1/U+1E7E NormalizationTest.txt Ṿ␊Ṿ Line 810: LATIN CAPITAL LETTER V WITH DOT BELOW. Its distinct columns, one per line. 7 B
000758 unicode/part1/U+1E7F NormalizationTest.txt ṿ␊ṿ Line 811: LATIN SMALL LETTER V WITH DOT BELOW. Its distinct columns, one per line. 7 B
000759 unicode/part1/U+1E80 NormalizationTest.txt Ẁ␊Ẁ Line 812: LATIN CAPITAL LETTER W WITH GRAVE. Its distinct columns, one per line. 7 B
000760 unicode/part1/U+1E81 NormalizationTest.txt ẁ␊ẁ Line 813: LATIN SMALL LETTER W WITH GRAVE. Its distinct columns, one per line. 7 B
000761 unicode/part1/U+1E82 NormalizationTest.txt Ẃ␊Ẃ Line 814: LATIN CAPITAL LETTER W WITH ACUTE. Its distinct columns, one per line. 7 B
000762 unicode/part1/U+1E83 NormalizationTest.txt ẃ␊ẃ Line 815: LATIN SMALL LETTER W WITH ACUTE. Its distinct columns, one per line. 7 B
000763 unicode/part1/U+1E84 NormalizationTest.txt Ẅ␊Ẅ Line 816: LATIN CAPITAL LETTER W WITH DIAERESIS. Its distinct columns, one per line. 7 B
000764 unicode/part1/U+1E85 NormalizationTest.txt ẅ␊ẅ Line 817: LATIN SMALL LETTER W WITH DIAERESIS. Its distinct columns, one per line. 7 B
000765 unicode/part1/U+1E86 NormalizationTest.txt Ẇ␊Ẇ Line 818: LATIN CAPITAL LETTER W WITH DOT ABOVE. Its distinct columns, one per line. 7 B
000766 unicode/part1/U+1E87 NormalizationTest.txt ẇ␊ẇ Line 819: LATIN SMALL LETTER W WITH DOT ABOVE. Its distinct columns, one per line. 7 B
000767 unicode/part1/U+1E88 NormalizationTest.txt Ẉ␊Ẉ Line 820: LATIN CAPITAL LETTER W WITH DOT BELOW. Its distinct columns, one per line. 7 B
000768 unicode/part1/U+1E89 NormalizationTest.txt ẉ␊ẉ Line 821: LATIN SMALL LETTER W WITH DOT BELOW. Its distinct columns, one per line. 7 B
000769 unicode/part1/U+1E8A NormalizationTest.txt Ẋ␊Ẋ Line 822: LATIN CAPITAL LETTER X WITH DOT ABOVE. Its distinct columns, one per line. 7 B
000770 unicode/part1/U+1E8B NormalizationTest.txt ẋ␊ẋ Line 823: LATIN SMALL LETTER X WITH DOT ABOVE. Its distinct columns, one per line. 7 B
000771 unicode/part1/U+1E8C NormalizationTest.txt Ẍ␊Ẍ Line 824: LATIN CAPITAL LETTER X WITH DIAERESIS. Its distinct columns, one per line. 7 B
000772 unicode/part1/U+1E8D NormalizationTest.txt ẍ␊ẍ Line 825: LATIN SMALL LETTER X WITH DIAERESIS. Its distinct columns, one per line. 7 B
000773 unicode/part1/U+1E8E NormalizationTest.txt Ẏ␊Ẏ Line 826: LATIN CAPITAL LETTER Y WITH DOT ABOVE. Its distinct columns, one per line. 7 B
000774 unicode/part1/U+1E8F NormalizationTest.txt ẏ␊ẏ Line 827: LATIN SMALL LETTER Y WITH DOT ABOVE. Its distinct columns, one per line. 7 B
000775 unicode/part1/U+1E90 NormalizationTest.txt Ẑ␊Ẑ Line 828: LATIN CAPITAL LETTER Z WITH CIRCUMFLEX. Its distinct columns, one per line. 7 B
000776 unicode/part1/U+1E91 NormalizationTest.txt ẑ␊ẑ Line 829: LATIN SMALL LETTER Z WITH CIRCUMFLEX. Its distinct columns, one per line. 7 B
000777 unicode/part1/U+1E92 NormalizationTest.txt Ẓ␊Ẓ Line 830: LATIN CAPITAL LETTER Z WITH DOT BELOW. Its distinct columns, one per line. 7 B
000778 unicode/part1/U+1E93 NormalizationTest.txt ẓ␊ẓ Line 831: LATIN SMALL LETTER Z WITH DOT BELOW. Its distinct columns, one per line. 7 B
000779 unicode/part1/U+1E94 NormalizationTest.txt Ẕ␊Ẕ Line 832: LATIN CAPITAL LETTER Z WITH LINE BELOW. Its distinct columns, one per line. 7 B
000780 unicode/part1/U+1E95 NormalizationTest.txt ẕ␊ẕ Line 833: LATIN SMALL LETTER Z WITH LINE BELOW. Its distinct columns, one per line. 7 B
000781 unicode/part1/U+1E96 NormalizationTest.txt ẖ␊ẖ Line 834: LATIN SMALL LETTER H WITH LINE BELOW. Its distinct columns, one per line. 7 B
000782 unicode/part1/U+1E97 NormalizationTest.txt ẗ␊ẗ Line 835: LATIN SMALL LETTER T WITH DIAERESIS. Its distinct columns, one per line. 7 B
000783 unicode/part1/U+1E98 NormalizationTest.txt ẘ␊ẘ Line 836: LATIN SMALL LETTER W WITH RING ABOVE. Its distinct columns, one per line. 7 B
000784 unicode/part1/U+1E99 NormalizationTest.txt ẙ␊ẙ Line 837: LATIN SMALL LETTER Y WITH RING ABOVE. Its distinct columns, one per line. 7 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
000786 unicode/part1/U+1E9B NormalizationTest.txt ẛ␊ẛ␊ṡ␊ṡ Line 839: LATIN SMALL LETTER LONG S WITH DOT ABOVE. Its distinct columns, one per line. 16 B
000787 unicode/part1/U+1EA0 NormalizationTest.txt Ạ␊Ạ Line 840: LATIN CAPITAL LETTER A WITH DOT BELOW. Its distinct columns, one per line. 7 B
000788 unicode/part1/U+1EA1 NormalizationTest.txt ạ␊ạ Line 841: LATIN SMALL LETTER A WITH DOT BELOW. Its distinct columns, one per line. 7 B
000789 unicode/part1/U+1EA2 NormalizationTest.txt Ả␊Ả Line 842: LATIN CAPITAL LETTER A WITH HOOK ABOVE. Its distinct columns, one per line. 7 B
000790 unicode/part1/U+1EA3 NormalizationTest.txt ả␊ả Line 843: LATIN SMALL LETTER A WITH HOOK ABOVE. Its distinct columns, one per line. 7 B
000791 unicode/part1/U+1EA4 NormalizationTest.txt Ấ␊Ấ Line 844: LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND ACUTE. Its distinct columns, one per line. 9 B
000792 unicode/part1/U+1EA5 NormalizationTest.txt ấ␊ấ Line 845: LATIN SMALL LETTER A WITH CIRCUMFLEX AND ACUTE. Its distinct columns, one per line. 9 B
000793 unicode/part1/U+1EA6 NormalizationTest.txt Ầ␊Ầ Line 846: LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND GRAVE. Its distinct columns, one per line. 9 B
000794 unicode/part1/U+1EA7 NormalizationTest.txt ầ␊ầ Line 847: LATIN SMALL LETTER A WITH CIRCUMFLEX AND GRAVE. Its distinct columns, one per line. 9 B
000795 unicode/part1/U+1EA8 NormalizationTest.txt Ẩ␊Ẩ Line 848: LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND HOOK ABOVE. Its distinct columns, one per line. 9 B
000796 unicode/part1/U+1EA9 NormalizationTest.txt ẩ␊ẩ Line 849: LATIN SMALL LETTER A WITH CIRCUMFLEX AND HOOK ABOVE. Its distinct columns, one per line. 9 B
000797 unicode/part1/U+1EAA NormalizationTest.txt Ẫ␊Ẫ Line 850: LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND TILDE. Its distinct columns, one per line. 9 B
000798 unicode/part1/U+1EAB NormalizationTest.txt ẫ␊ẫ Line 851: LATIN SMALL LETTER A WITH CIRCUMFLEX AND TILDE. Its distinct columns, one per line. 9 B
000799 unicode/part1/U+1EAC NormalizationTest.txt Ậ␊Ậ Line 852: LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND DOT BELOW. Its distinct columns, one per line. 9 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.