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

956 of 11,911 cases

Case Name Expected Note Size
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
000950 unicode/part1/U+1F51 NormalizationTest.txt ὑ␊ὑ Line 1003: GREEK SMALL LETTER UPSILON WITH DASIA. Its distinct columns, one per line. 8 B
000951 unicode/part1/U+1F52 NormalizationTest.txt ὒ␊ὒ Line 1004: GREEK SMALL LETTER UPSILON WITH PSILI AND VARIA. Its distinct columns, one per line. 10 B
000952 unicode/part1/U+1F53 NormalizationTest.txt ὓ␊ὓ Line 1005: GREEK SMALL LETTER UPSILON WITH DASIA AND VARIA. Its distinct columns, one per line. 10 B
000953 unicode/part1/U+1F54 NormalizationTest.txt ὔ␊ὔ Line 1006: GREEK SMALL LETTER UPSILON WITH PSILI AND OXIA. Its distinct columns, one per line. 10 B
000954 unicode/part1/U+1F55 NormalizationTest.txt ὕ␊ὕ Line 1007: GREEK SMALL LETTER UPSILON WITH DASIA AND OXIA. Its distinct columns, one per line. 10 B
000955 unicode/part1/U+1F56 NormalizationTest.txt ὖ␊ὖ Line 1008: GREEK SMALL LETTER UPSILON WITH PSILI AND PERISPOMENI. Its distinct columns, one per line. 10 B
000956 unicode/part1/U+1F57 NormalizationTest.txt ὗ␊ὗ Line 1009: GREEK SMALL LETTER UPSILON WITH DASIA AND PERISPOMENI. Its distinct columns, one per line. 10 B
000957 unicode/part1/U+1F59 NormalizationTest.txt Ὑ␊Ὑ Line 1010: GREEK CAPITAL LETTER UPSILON WITH DASIA. Its distinct columns, one per line. 8 B
000958 unicode/part1/U+1F5B NormalizationTest.txt Ὓ␊Ὓ Line 1011: GREEK CAPITAL LETTER UPSILON WITH DASIA AND VARIA. Its distinct columns, one per line. 10 B
000959 unicode/part1/U+1F5D NormalizationTest.txt Ὕ␊Ὕ Line 1012: GREEK CAPITAL LETTER UPSILON WITH DASIA AND OXIA. Its distinct columns, one per line. 10 B
000960 unicode/part1/U+1F5F NormalizationTest.txt Ὗ␊Ὗ Line 1013: GREEK CAPITAL LETTER UPSILON WITH DASIA AND PERISPOMENI. Its distinct columns, one per line. 10 B
000961 unicode/part1/U+1F60 NormalizationTest.txt ὠ␊ὠ Line 1014: GREEK SMALL LETTER OMEGA WITH PSILI. Its distinct columns, one per line. 8 B
000962 unicode/part1/U+1F61 NormalizationTest.txt ὡ␊ὡ Line 1015: GREEK SMALL LETTER OMEGA WITH DASIA. Its distinct columns, one per line. 8 B
000963 unicode/part1/U+1F62 NormalizationTest.txt ὢ␊ὢ Line 1016: GREEK SMALL LETTER OMEGA WITH PSILI AND VARIA. Its distinct columns, one per line. 10 B
000964 unicode/part1/U+1F63 NormalizationTest.txt ὣ␊ὣ Line 1017: GREEK SMALL LETTER OMEGA WITH DASIA AND VARIA. Its distinct columns, one per line. 10 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.