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
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
000800 unicode/part1/U+1EAD NormalizationTest.txt ậ␊ậ Line 853: LATIN SMALL LETTER A WITH CIRCUMFLEX AND DOT BELOW. Its distinct columns, one per line. 9 B
000801 unicode/part1/U+1EAE NormalizationTest.txt Ắ␊Ắ Line 854: LATIN CAPITAL LETTER A WITH BREVE AND ACUTE. Its distinct columns, one per line. 9 B
000802 unicode/part1/U+1EAF NormalizationTest.txt ắ␊ắ Line 855: LATIN SMALL LETTER A WITH BREVE AND ACUTE. Its distinct columns, one per line. 9 B
000803 unicode/part1/U+1EB0 NormalizationTest.txt Ằ␊Ằ Line 856: LATIN CAPITAL LETTER A WITH BREVE AND GRAVE. Its distinct columns, one per line. 9 B
000804 unicode/part1/U+1EB1 NormalizationTest.txt ằ␊ằ Line 857: LATIN SMALL LETTER A WITH BREVE AND GRAVE. Its distinct columns, one per line. 9 B
000805 unicode/part1/U+1EB2 NormalizationTest.txt Ẳ␊Ẳ Line 858: LATIN CAPITAL LETTER A WITH BREVE AND HOOK ABOVE. Its distinct columns, one per line. 9 B
000806 unicode/part1/U+1EB3 NormalizationTest.txt ẳ␊ẳ Line 859: LATIN SMALL LETTER A WITH BREVE AND HOOK ABOVE. Its distinct columns, one per line. 9 B
000807 unicode/part1/U+1EB4 NormalizationTest.txt Ẵ␊Ẵ Line 860: LATIN CAPITAL LETTER A WITH BREVE AND TILDE. Its distinct columns, one per line. 9 B
000808 unicode/part1/U+1EB5 NormalizationTest.txt ẵ␊ẵ Line 861: LATIN SMALL LETTER A WITH BREVE AND TILDE. Its distinct columns, one per line. 9 B
000809 unicode/part1/U+1EB6 NormalizationTest.txt Ặ␊Ặ Line 862: LATIN CAPITAL LETTER A WITH BREVE AND DOT BELOW. Its distinct columns, one per line. 9 B
000810 unicode/part1/U+1EB7 NormalizationTest.txt ặ␊ặ Line 863: LATIN SMALL LETTER A WITH BREVE AND DOT BELOW. Its distinct columns, one per line. 9 B
000811 unicode/part1/U+1EB8 NormalizationTest.txt Ẹ␊Ẹ Line 864: LATIN CAPITAL LETTER E WITH DOT BELOW. Its distinct columns, one per line. 7 B
000812 unicode/part1/U+1EB9 NormalizationTest.txt ẹ␊ẹ Line 865: LATIN SMALL LETTER E WITH DOT BELOW. Its distinct columns, one per line. 7 B
000813 unicode/part1/U+1EBA NormalizationTest.txt Ẻ␊Ẻ Line 866: LATIN CAPITAL LETTER E WITH HOOK ABOVE. Its distinct columns, one per line. 7 B
000814 unicode/part1/U+1EBB NormalizationTest.txt ẻ␊ẻ Line 867: LATIN SMALL LETTER E WITH HOOK ABOVE. Its distinct columns, one per line. 7 B
000815 unicode/part1/U+1EBC NormalizationTest.txt Ẽ␊Ẽ Line 868: LATIN CAPITAL LETTER E WITH TILDE. Its distinct columns, one per line. 7 B
000816 unicode/part1/U+1EBD NormalizationTest.txt ẽ␊ẽ Line 869: LATIN SMALL LETTER E WITH TILDE. Its distinct columns, one per line. 7 B
000817 unicode/part1/U+1EBE NormalizationTest.txt Ế␊Ế Line 870: LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND ACUTE. Its distinct columns, one per line. 9 B
000818 unicode/part1/U+1EBF NormalizationTest.txt ế␊ế Line 871: LATIN SMALL LETTER E WITH CIRCUMFLEX AND ACUTE. Its distinct columns, one per line. 9 B
000819 unicode/part1/U+1EC0 NormalizationTest.txt Ề␊Ề Line 872: LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND GRAVE. Its distinct columns, one per line. 9 B
000820 unicode/part1/U+1EC1 NormalizationTest.txt ề␊ề Line 873: LATIN SMALL LETTER E WITH CIRCUMFLEX AND GRAVE. Its distinct columns, one per line. 9 B
000821 unicode/part1/U+1EC2 NormalizationTest.txt Ể␊Ể Line 874: LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND HOOK ABOVE. Its distinct columns, one per line. 9 B
000822 unicode/part1/U+1EC3 NormalizationTest.txt ể␊ể Line 875: LATIN SMALL LETTER E WITH CIRCUMFLEX AND HOOK ABOVE. Its distinct columns, one per line. 9 B
000823 unicode/part1/U+1EC4 NormalizationTest.txt Ễ␊Ễ Line 876: LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND TILDE. Its distinct columns, one per line. 9 B
000824 unicode/part1/U+1EC5 NormalizationTest.txt ễ␊ễ Line 877: LATIN SMALL LETTER E WITH CIRCUMFLEX AND TILDE. Its distinct columns, one per line. 9 B
000825 unicode/part1/U+1EC6 NormalizationTest.txt Ệ␊Ệ Line 878: LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND DOT BELOW. Its distinct columns, one per line. 9 B
000826 unicode/part1/U+1EC7 NormalizationTest.txt ệ␊ệ Line 879: LATIN SMALL LETTER E WITH CIRCUMFLEX AND DOT BELOW. Its distinct columns, one per line. 9 B
000827 unicode/part1/U+1EC8 NormalizationTest.txt Ỉ␊Ỉ Line 880: LATIN CAPITAL LETTER I WITH HOOK ABOVE. Its distinct columns, one per line. 7 B
000828 unicode/part1/U+1EC9 NormalizationTest.txt ỉ␊ỉ Line 881: LATIN SMALL LETTER I WITH HOOK ABOVE. Its distinct columns, one per line. 7 B
000829 unicode/part1/U+1ECA NormalizationTest.txt Ị␊Ị Line 882: LATIN CAPITAL LETTER I WITH DOT BELOW. Its distinct columns, one per line. 7 B
000830 unicode/part1/U+1ECB NormalizationTest.txt ị␊ị Line 883: LATIN SMALL LETTER I WITH DOT BELOW. Its distinct columns, one per line. 7 B
000831 unicode/part1/U+1ECC NormalizationTest.txt Ọ␊Ọ Line 884: LATIN CAPITAL LETTER O WITH DOT BELOW. Its distinct columns, one per line. 7 B
000832 unicode/part1/U+1ECD NormalizationTest.txt ọ␊ọ Line 885: LATIN SMALL LETTER O WITH DOT BELOW. Its distinct columns, one per line. 7 B
000833 unicode/part1/U+1ECE NormalizationTest.txt Ỏ␊Ỏ Line 886: LATIN CAPITAL LETTER O WITH HOOK ABOVE. Its distinct columns, one per line. 7 B
000834 unicode/part1/U+1ECF NormalizationTest.txt ỏ␊ỏ Line 887: LATIN SMALL LETTER O WITH HOOK ABOVE. Its distinct columns, one per line. 7 B
000835 unicode/part1/U+1ED0 NormalizationTest.txt Ố␊Ố Line 888: LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND ACUTE. Its distinct columns, one per line. 9 B
000836 unicode/part1/U+1ED1 NormalizationTest.txt ố␊ố Line 889: LATIN SMALL LETTER O WITH CIRCUMFLEX AND ACUTE. Its distinct columns, one per line. 9 B
000837 unicode/part1/U+1ED2 NormalizationTest.txt Ồ␊Ồ Line 890: LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND GRAVE. Its distinct columns, one per line. 9 B
000838 unicode/part1/U+1ED3 NormalizationTest.txt ồ␊ồ Line 891: LATIN SMALL LETTER O WITH CIRCUMFLEX AND GRAVE. Its distinct columns, one per line. 9 B
000839 unicode/part1/U+1ED4 NormalizationTest.txt Ổ␊Ổ Line 892: LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND HOOK ABOVE. Its distinct columns, one per line. 9 B
000840 unicode/part1/U+1ED5 NormalizationTest.txt ổ␊ổ Line 893: LATIN SMALL LETTER O WITH CIRCUMFLEX AND HOOK ABOVE. Its distinct columns, one per line. 9 B
000841 unicode/part1/U+1ED6 NormalizationTest.txt Ỗ␊Ỗ Line 894: LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND TILDE. Its distinct columns, one per line. 9 B
000842 unicode/part1/U+1ED7 NormalizationTest.txt ỗ␊ỗ Line 895: LATIN SMALL LETTER O WITH CIRCUMFLEX AND TILDE. Its distinct columns, one per line. 9 B
000843 unicode/part1/U+1ED8 NormalizationTest.txt Ộ␊Ộ Line 896: LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND DOT BELOW. Its distinct columns, one per line. 9 B
000844 unicode/part1/U+1ED9 NormalizationTest.txt ộ␊ộ Line 897: LATIN SMALL LETTER O 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.