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
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
000965 unicode/part1/U+1F64 NormalizationTest.txt ὤ␊ὤ Line 1018: GREEK SMALL LETTER OMEGA WITH PSILI AND OXIA. Its distinct columns, one per line. 10 B
000966 unicode/part1/U+1F65 NormalizationTest.txt ὥ␊ὥ Line 1019: GREEK SMALL LETTER OMEGA WITH DASIA AND OXIA. Its distinct columns, one per line. 10 B
000967 unicode/part1/U+1F66 NormalizationTest.txt ὦ␊ὦ Line 1020: GREEK SMALL LETTER OMEGA WITH PSILI AND PERISPOMENI. Its distinct columns, one per line. 10 B
000968 unicode/part1/U+1F67 NormalizationTest.txt ὧ␊ὧ Line 1021: GREEK SMALL LETTER OMEGA WITH DASIA AND PERISPOMENI. Its distinct columns, one per line. 10 B
000969 unicode/part1/U+1F68 NormalizationTest.txt Ὠ␊Ὠ Line 1022: GREEK CAPITAL LETTER OMEGA WITH PSILI. Its distinct columns, one per line. 8 B
000970 unicode/part1/U+1F69 NormalizationTest.txt Ὡ␊Ὡ Line 1023: GREEK CAPITAL LETTER OMEGA WITH DASIA. Its distinct columns, one per line. 8 B
000971 unicode/part1/U+1F6A NormalizationTest.txt Ὢ␊Ὢ Line 1024: GREEK CAPITAL LETTER OMEGA WITH PSILI AND VARIA. Its distinct columns, one per line. 10 B
000972 unicode/part1/U+1F6B NormalizationTest.txt Ὣ␊Ὣ Line 1025: GREEK CAPITAL LETTER OMEGA WITH DASIA AND VARIA. Its distinct columns, one per line. 10 B
000973 unicode/part1/U+1F6C NormalizationTest.txt Ὤ␊Ὤ Line 1026: GREEK CAPITAL LETTER OMEGA WITH PSILI AND OXIA. Its distinct columns, one per line. 10 B
000974 unicode/part1/U+1F6D NormalizationTest.txt Ὥ␊Ὥ Line 1027: GREEK CAPITAL LETTER OMEGA WITH DASIA AND OXIA. Its distinct columns, one per line. 10 B
000975 unicode/part1/U+1F6E NormalizationTest.txt Ὦ␊Ὦ Line 1028: GREEK CAPITAL LETTER OMEGA WITH PSILI AND PERISPOMENI. Its distinct columns, one per line. 10 B
000976 unicode/part1/U+1F6F NormalizationTest.txt Ὧ␊Ὧ Line 1029: GREEK CAPITAL LETTER OMEGA WITH DASIA AND PERISPOMENI. Its distinct columns, one per line. 10 B
000977 unicode/part1/U+1F70 NormalizationTest.txt ὰ␊ὰ Line 1030: GREEK SMALL LETTER ALPHA WITH VARIA. Its distinct columns, one per line. 8 B
000978 unicode/part1/U+1F71 NormalizationTest.txt ά␊ά␊ά Line 1031: GREEK SMALL LETTER ALPHA WITH OXIA. Its distinct columns, one per line. 11 B
000979 unicode/part1/U+1F72 NormalizationTest.txt ὲ␊ὲ Line 1032: GREEK SMALL LETTER EPSILON WITH VARIA. Its distinct columns, one per line. 8 B
000980 unicode/part1/U+1F73 NormalizationTest.txt έ␊έ␊έ Line 1033: GREEK SMALL LETTER EPSILON WITH OXIA. Its distinct columns, one per line. 11 B
000981 unicode/part1/U+1F74 NormalizationTest.txt ὴ␊ὴ Line 1034: GREEK SMALL LETTER ETA WITH VARIA. Its distinct columns, one per line. 8 B
000982 unicode/part1/U+1F75 NormalizationTest.txt ή␊ή␊ή Line 1035: GREEK SMALL LETTER ETA WITH OXIA. Its distinct columns, one per line. 11 B
000983 unicode/part1/U+1F76 NormalizationTest.txt ὶ␊ὶ Line 1036: GREEK SMALL LETTER IOTA WITH VARIA. Its distinct columns, one per line. 8 B
000984 unicode/part1/U+1F77 NormalizationTest.txt ί␊ί␊ί Line 1037: GREEK SMALL LETTER IOTA WITH OXIA. Its distinct columns, one per line. 11 B
000985 unicode/part1/U+1F78 NormalizationTest.txt ὸ␊ὸ Line 1038: GREEK SMALL LETTER OMICRON WITH VARIA. Its distinct columns, one per line. 8 B
000986 unicode/part1/U+1F79 NormalizationTest.txt ό␊ό␊ό Line 1039: GREEK SMALL LETTER OMICRON WITH OXIA. Its distinct columns, one per line. 11 B
000987 unicode/part1/U+1F7A NormalizationTest.txt ὺ␊ὺ Line 1040: GREEK SMALL LETTER UPSILON WITH VARIA. Its distinct columns, one per line. 8 B
000988 unicode/part1/U+1F7B NormalizationTest.txt ύ␊ύ␊ύ Line 1041: GREEK SMALL LETTER UPSILON WITH OXIA. Its distinct columns, one per line. 11 B
000989 unicode/part1/U+1F7C NormalizationTest.txt ὼ␊ὼ Line 1042: GREEK SMALL LETTER OMEGA WITH VARIA. Its distinct columns, one per line. 8 B
000990 unicode/part1/U+1F7D NormalizationTest.txt ώ␊ώ␊ώ Line 1043: GREEK SMALL LETTER OMEGA WITH OXIA. Its distinct columns, one per line. 11 B
000991 unicode/part1/U+1F80 NormalizationTest.txt ᾀ␊ᾀ Line 1044: GREEK SMALL LETTER ALPHA WITH PSILI AND YPOGEGRAMMENI. Its distinct columns, one per line. 10 B
000992 unicode/part1/U+1F81 NormalizationTest.txt ᾁ␊ᾁ Line 1045: GREEK SMALL LETTER ALPHA WITH DASIA AND YPOGEGRAMMENI. Its distinct columns, one per line. 10 B
000993 unicode/part1/U+1F82 NormalizationTest.txt ᾂ␊ᾂ Line 1046: GREEK SMALL LETTER ALPHA WITH PSILI AND VARIA AND YPOGEGRAMMENI. Its distinct columns, one per line. 12 B
000994 unicode/part1/U+1F83 NormalizationTest.txt ᾃ␊ᾃ Line 1047: GREEK SMALL LETTER ALPHA WITH DASIA AND VARIA AND YPOGEGRAMMENI. Its distinct columns, one per line. 12 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.