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
5,928 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 000945 | unicode/part1/U+1F4A NormalizationTest.txt |
Ὂ␊Ὂ
|
10 B | |
| 000946 | unicode/part1/U+1F4B NormalizationTest.txt |
Ὃ␊Ὃ
|
10 B | |
| 000947 | unicode/part1/U+1F4C NormalizationTest.txt |
Ὄ␊Ὄ
|
10 B | |
| 000948 | unicode/part1/U+1F4D NormalizationTest.txt |
Ὅ␊Ὅ
|
10 B | |
| 000949 | unicode/part1/U+1F50 NormalizationTest.txt |
ὐ␊ὐ
|
8 B | |
| 000950 | unicode/part1/U+1F51 NormalizationTest.txt |
ὑ␊ὑ
|
8 B | |
| 000951 | unicode/part1/U+1F52 NormalizationTest.txt |
ὒ␊ὒ
|
10 B | |
| 000952 | unicode/part1/U+1F53 NormalizationTest.txt |
ὓ␊ὓ
|
10 B | |
| 000953 | unicode/part1/U+1F54 NormalizationTest.txt |
ὔ␊ὔ
|
10 B | |
| 000954 | unicode/part1/U+1F55 NormalizationTest.txt |
ὕ␊ὕ
|
10 B | |
| 000955 | unicode/part1/U+1F56 NormalizationTest.txt |
ὖ␊ὖ
|
10 B | |
| 000956 | unicode/part1/U+1F57 NormalizationTest.txt |
ὗ␊ὗ
|
10 B | |
| 000957 | unicode/part1/U+1F59 NormalizationTest.txt |
Ὑ␊Ὑ
|
8 B | |
| 000958 | unicode/part1/U+1F5B NormalizationTest.txt |
Ὓ␊Ὓ
|
10 B | |
| 000959 | unicode/part1/U+1F5D NormalizationTest.txt |
Ὕ␊Ὕ
|
10 B | |
| 000960 | unicode/part1/U+1F5F NormalizationTest.txt |
Ὗ␊Ὗ
|
10 B | |
| 000961 | unicode/part1/U+1F60 NormalizationTest.txt |
ὠ␊ὠ
|
8 B | |
| 000962 | unicode/part1/U+1F61 NormalizationTest.txt |
ὡ␊ὡ
|
8 B | |
| 000963 | unicode/part1/U+1F62 NormalizationTest.txt |
ὢ␊ὢ
|
10 B | |
| 000964 | unicode/part1/U+1F63 NormalizationTest.txt |
ὣ␊ὣ
|
10 B | |
| 000965 | unicode/part1/U+1F64 NormalizationTest.txt |
ὤ␊ὤ
|
10 B | |
| 000966 | unicode/part1/U+1F65 NormalizationTest.txt |
ὥ␊ὥ
|
10 B | |
| 000967 | unicode/part1/U+1F66 NormalizationTest.txt |
ὦ␊ὦ
|
10 B | |
| 000968 | unicode/part1/U+1F67 NormalizationTest.txt |
ὧ␊ὧ
|
10 B | |
| 000969 | unicode/part1/U+1F68 NormalizationTest.txt |
Ὠ␊Ὠ
|
8 B | |
| 000970 | unicode/part1/U+1F69 NormalizationTest.txt |
Ὡ␊Ὡ
|
8 B | |
| 000971 | unicode/part1/U+1F6A NormalizationTest.txt |
Ὢ␊Ὢ
|
10 B | |
| 000972 | unicode/part1/U+1F6B NormalizationTest.txt |
Ὣ␊Ὣ
|
10 B | |
| 000973 | unicode/part1/U+1F6C NormalizationTest.txt |
Ὤ␊Ὤ
|
10 B | |
| 000974 | unicode/part1/U+1F6D NormalizationTest.txt |
Ὥ␊Ὥ
|
10 B | |
| 000975 | unicode/part1/U+1F6E NormalizationTest.txt |
Ὦ␊Ὦ
|
10 B | |
| 000976 | unicode/part1/U+1F6F NormalizationTest.txt |
Ὧ␊Ὧ
|
10 B | |
| 000977 | unicode/part1/U+1F70 NormalizationTest.txt |
ὰ␊ὰ
|
8 B | |
| 000978 | unicode/part1/U+1F71 NormalizationTest.txt |
ά␊ά␊ά
|
11 B | |
| 000979 | unicode/part1/U+1F72 NormalizationTest.txt |
ὲ␊ὲ
|
8 B | |
| 000980 | unicode/part1/U+1F73 NormalizationTest.txt |
έ␊έ␊έ
|
11 B | |
| 000981 | unicode/part1/U+1F74 NormalizationTest.txt |
ὴ␊ὴ
|
8 B | |
| 000982 | unicode/part1/U+1F75 NormalizationTest.txt |
ή␊ή␊ή
|
11 B | |
| 000983 | unicode/part1/U+1F76 NormalizationTest.txt |
ὶ␊ὶ
|
8 B | |
| 000984 | unicode/part1/U+1F77 NormalizationTest.txt |
ί␊ί␊ί
|
11 B | |
| 000985 | unicode/part1/U+1F78 NormalizationTest.txt |
ὸ␊ὸ
|
8 B | |
| 000986 | unicode/part1/U+1F79 NormalizationTest.txt |
ό␊ό␊ό
|
11 B | |
| 000987 | unicode/part1/U+1F7A NormalizationTest.txt |
ὺ␊ὺ
|
8 B | |
| 000988 | unicode/part1/U+1F7B NormalizationTest.txt |
ύ␊ύ␊ύ
|
11 B | |
| 000989 | unicode/part1/U+1F7C NormalizationTest.txt |
ὼ␊ὼ
|
8 B | |
| 000990 | unicode/part1/U+1F7D NormalizationTest.txt |
ώ␊ώ␊ώ
|
11 B | |
| 000991 | unicode/part1/U+1F80 NormalizationTest.txt |
ᾀ␊ᾀ
|
10 B | |
| 000992 | unicode/part1/U+1F81 NormalizationTest.txt |
ᾁ␊ᾁ
|
10 B | |
| 000993 | unicode/part1/U+1F82 NormalizationTest.txt |
ᾂ␊ᾂ
|
12 B | |
| 000994 | unicode/part1/U+1F83 NormalizationTest.txt |
ᾃ␊ᾃ
|
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.
- NormalizationTest.txt — Unicode’s conformance test, the source of the 8,868 unicode cases; each case is one line, its distinct columns on separate lines
- The Unicode Character Database — combining classes, decompositions and composition exclusions, the source of the 157 ucd cases