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
000900 unicode/part1/U+1F19 NormalizationTest.txt Ἑ␊Ἑ Line 953: GREEK CAPITAL LETTER EPSILON WITH DASIA. Its distinct columns, one per line. 8 B
000901 unicode/part1/U+1F1A NormalizationTest.txt Ἒ␊Ἒ Line 954: GREEK CAPITAL LETTER EPSILON WITH PSILI AND VARIA. Its distinct columns, one per line. 10 B
000902 unicode/part1/U+1F1B NormalizationTest.txt Ἓ␊Ἓ Line 955: GREEK CAPITAL LETTER EPSILON WITH DASIA AND VARIA. Its distinct columns, one per line. 10 B
000903 unicode/part1/U+1F1C NormalizationTest.txt Ἔ␊Ἔ Line 956: GREEK CAPITAL LETTER EPSILON WITH PSILI AND OXIA. Its distinct columns, one per line. 10 B
000904 unicode/part1/U+1F1D NormalizationTest.txt Ἕ␊Ἕ Line 957: GREEK CAPITAL LETTER EPSILON WITH DASIA AND OXIA. Its distinct columns, one per line. 10 B
000905 unicode/part1/U+1F20 NormalizationTest.txt ἠ␊ἠ Line 958: GREEK SMALL LETTER ETA WITH PSILI. Its distinct columns, one per line. 8 B
000906 unicode/part1/U+1F21 NormalizationTest.txt ἡ␊ἡ Line 959: GREEK SMALL LETTER ETA WITH DASIA. Its distinct columns, one per line. 8 B
000907 unicode/part1/U+1F22 NormalizationTest.txt ἢ␊ἢ Line 960: GREEK SMALL LETTER ETA WITH PSILI AND VARIA. Its distinct columns, one per line. 10 B
000908 unicode/part1/U+1F23 NormalizationTest.txt ἣ␊ἣ Line 961: GREEK SMALL LETTER ETA WITH DASIA AND VARIA. Its distinct columns, one per line. 10 B
000909 unicode/part1/U+1F24 NormalizationTest.txt ἤ␊ἤ Line 962: GREEK SMALL LETTER ETA WITH PSILI AND OXIA. Its distinct columns, one per line. 10 B
000910 unicode/part1/U+1F25 NormalizationTest.txt ἥ␊ἥ Line 963: GREEK SMALL LETTER ETA WITH DASIA AND OXIA. Its distinct columns, one per line. 10 B
000911 unicode/part1/U+1F26 NormalizationTest.txt ἦ␊ἦ Line 964: GREEK SMALL LETTER ETA WITH PSILI AND PERISPOMENI. Its distinct columns, one per line. 10 B
000912 unicode/part1/U+1F27 NormalizationTest.txt ἧ␊ἧ Line 965: GREEK SMALL LETTER ETA WITH DASIA AND PERISPOMENI. Its distinct columns, one per line. 10 B
000913 unicode/part1/U+1F28 NormalizationTest.txt Ἠ␊Ἠ Line 966: GREEK CAPITAL LETTER ETA WITH PSILI. Its distinct columns, one per line. 8 B
000914 unicode/part1/U+1F29 NormalizationTest.txt Ἡ␊Ἡ Line 967: GREEK CAPITAL LETTER ETA WITH DASIA. Its distinct columns, one per line. 8 B
000915 unicode/part1/U+1F2A NormalizationTest.txt Ἢ␊Ἢ Line 968: GREEK CAPITAL LETTER ETA WITH PSILI AND VARIA. Its distinct columns, one per line. 10 B
000916 unicode/part1/U+1F2B NormalizationTest.txt Ἣ␊Ἣ Line 969: GREEK CAPITAL LETTER ETA WITH DASIA AND VARIA. Its distinct columns, one per line. 10 B
000917 unicode/part1/U+1F2C NormalizationTest.txt Ἤ␊Ἤ Line 970: GREEK CAPITAL LETTER ETA WITH PSILI AND OXIA. Its distinct columns, one per line. 10 B
000918 unicode/part1/U+1F2D NormalizationTest.txt Ἥ␊Ἥ Line 971: GREEK CAPITAL LETTER ETA WITH DASIA AND OXIA. Its distinct columns, one per line. 10 B
000919 unicode/part1/U+1F2E NormalizationTest.txt Ἦ␊Ἦ Line 972: GREEK CAPITAL LETTER ETA WITH PSILI AND PERISPOMENI. Its distinct columns, one per line. 10 B
000920 unicode/part1/U+1F2F NormalizationTest.txt Ἧ␊Ἧ Line 973: GREEK CAPITAL LETTER ETA WITH DASIA AND PERISPOMENI. Its distinct columns, one per line. 10 B
000921 unicode/part1/U+1F30 NormalizationTest.txt ἰ␊ἰ Line 974: GREEK SMALL LETTER IOTA WITH PSILI. Its distinct columns, one per line. 8 B
000922 unicode/part1/U+1F31 NormalizationTest.txt ἱ␊ἱ Line 975: GREEK SMALL LETTER IOTA WITH DASIA. Its distinct columns, one per line. 8 B
000923 unicode/part1/U+1F32 NormalizationTest.txt ἲ␊ἲ Line 976: GREEK SMALL LETTER IOTA WITH PSILI AND VARIA. Its distinct columns, one per line. 10 B
000924 unicode/part1/U+1F33 NormalizationTest.txt ἳ␊ἳ Line 977: GREEK SMALL LETTER IOTA WITH DASIA AND VARIA. Its distinct columns, one per line. 10 B
000925 unicode/part1/U+1F34 NormalizationTest.txt ἴ␊ἴ Line 978: GREEK SMALL LETTER IOTA WITH PSILI AND OXIA. Its distinct columns, one per line. 10 B
000926 unicode/part1/U+1F35 NormalizationTest.txt ἵ␊ἵ Line 979: GREEK SMALL LETTER IOTA WITH DASIA AND OXIA. Its distinct columns, one per line. 10 B
000927 unicode/part1/U+1F36 NormalizationTest.txt ἶ␊ἶ Line 980: GREEK SMALL LETTER IOTA WITH PSILI AND PERISPOMENI. Its distinct columns, one per line. 10 B
000928 unicode/part1/U+1F37 NormalizationTest.txt ἷ␊ἷ Line 981: GREEK SMALL LETTER IOTA WITH DASIA AND PERISPOMENI. Its distinct columns, one per line. 10 B
000929 unicode/part1/U+1F38 NormalizationTest.txt Ἰ␊Ἰ Line 982: GREEK CAPITAL LETTER IOTA WITH PSILI. Its distinct columns, one per line. 8 B
000930 unicode/part1/U+1F39 NormalizationTest.txt Ἱ␊Ἱ Line 983: GREEK CAPITAL LETTER IOTA WITH DASIA. Its distinct columns, one per line. 8 B
000931 unicode/part1/U+1F3A NormalizationTest.txt Ἲ␊Ἲ Line 984: GREEK CAPITAL LETTER IOTA WITH PSILI AND VARIA. Its distinct columns, one per line. 10 B
000932 unicode/part1/U+1F3B NormalizationTest.txt Ἳ␊Ἳ Line 985: GREEK CAPITAL LETTER IOTA WITH DASIA AND VARIA. Its distinct columns, one per line. 10 B
000933 unicode/part1/U+1F3C NormalizationTest.txt Ἴ␊Ἴ Line 986: GREEK CAPITAL LETTER IOTA WITH PSILI AND OXIA. Its distinct columns, one per line. 10 B
000934 unicode/part1/U+1F3D NormalizationTest.txt Ἵ␊Ἵ Line 987: GREEK CAPITAL LETTER IOTA WITH DASIA AND OXIA. Its distinct columns, one per line. 10 B
000935 unicode/part1/U+1F3E NormalizationTest.txt Ἶ␊Ἶ Line 988: GREEK CAPITAL LETTER IOTA WITH PSILI AND PERISPOMENI. Its distinct columns, one per line. 10 B
000936 unicode/part1/U+1F3F NormalizationTest.txt Ἷ␊Ἷ Line 989: GREEK CAPITAL LETTER IOTA WITH DASIA AND PERISPOMENI. Its distinct columns, one per line. 10 B
000937 unicode/part1/U+1F40 NormalizationTest.txt ὀ␊ὀ Line 990: GREEK SMALL LETTER OMICRON WITH PSILI. Its distinct columns, one per line. 8 B
000938 unicode/part1/U+1F41 NormalizationTest.txt ὁ␊ὁ Line 991: GREEK SMALL LETTER OMICRON WITH DASIA. Its distinct columns, one per line. 8 B
000939 unicode/part1/U+1F42 NormalizationTest.txt ὂ␊ὂ Line 992: GREEK SMALL LETTER OMICRON WITH PSILI AND VARIA. Its distinct columns, one per line. 10 B
000940 unicode/part1/U+1F43 NormalizationTest.txt ὃ␊ὃ Line 993: GREEK SMALL LETTER OMICRON WITH DASIA AND VARIA. Its distinct columns, one per line. 10 B
000941 unicode/part1/U+1F44 NormalizationTest.txt ὄ␊ὄ Line 994: GREEK SMALL LETTER OMICRON WITH PSILI AND OXIA. Its distinct columns, one per line. 10 B
000942 unicode/part1/U+1F45 NormalizationTest.txt ὅ␊ὅ Line 995: GREEK SMALL LETTER OMICRON WITH DASIA AND OXIA. Its distinct columns, one per line. 10 B
000943 unicode/part1/U+1F48 NormalizationTest.txt Ὀ␊Ὀ Line 996: GREEK CAPITAL LETTER OMICRON WITH PSILI. Its distinct columns, one per line. 8 B
000944 unicode/part1/U+1F49 NormalizationTest.txt Ὁ␊Ὁ Line 997: GREEK CAPITAL LETTER OMICRON WITH DASIA. Its distinct columns, one per line. 8 B
000945 unicode/part1/U+1F4A NormalizationTest.txt Ὂ␊Ὂ Line 998: GREEK CAPITAL LETTER OMICRON WITH PSILI AND VARIA. Its distinct columns, one per line. 10 B
000946 unicode/part1/U+1F4B NormalizationTest.txt Ὃ␊Ὃ Line 999: GREEK CAPITAL LETTER OMICRON WITH DASIA AND VARIA. Its distinct columns, one per line. 10 B
000947 unicode/part1/U+1F4C NormalizationTest.txt Ὄ␊Ὄ Line 1000: GREEK CAPITAL LETTER OMICRON WITH PSILI AND OXIA. Its distinct columns, one per line. 10 B
000948 unicode/part1/U+1F4D NormalizationTest.txt Ὅ␊Ὅ Line 1001: GREEK CAPITAL LETTER OMICRON WITH DASIA AND OXIA. Its distinct columns, one per line. 10 B
000949 unicode/part1/U+1F50 NormalizationTest.txt ὐ␊ὐ Line 1002: GREEK SMALL LETTER UPSILON WITH PSILI. Its distinct columns, one per line. 8 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.