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 |
|---|---|---|---|---|
| 000995 | unicode/part1/U+1F84 NormalizationTest.txt |
ᾄ␊ᾄ
|
12 B | |
| 000996 | unicode/part1/U+1F85 NormalizationTest.txt |
ᾅ␊ᾅ
|
12 B | |
| 000997 | unicode/part1/U+1F86 NormalizationTest.txt |
ᾆ␊ᾆ
|
12 B | |
| 000998 | unicode/part1/U+1F87 NormalizationTest.txt |
ᾇ␊ᾇ
|
12 B | |
| 000999 | unicode/part1/U+1F88 NormalizationTest.txt |
ᾈ␊ᾈ
|
10 B | |
| 001000 | unicode/part1/U+1F89 NormalizationTest.txt |
ᾉ␊ᾉ
|
10 B | |
| 001001 | unicode/part1/U+1F8A NormalizationTest.txt |
ᾊ␊ᾊ
|
12 B | |
| 001002 | unicode/part1/U+1F8B NormalizationTest.txt |
ᾋ␊ᾋ
|
12 B | |
| 001003 | unicode/part1/U+1F8C NormalizationTest.txt |
ᾌ␊ᾌ
|
12 B | |
| 001004 | unicode/part1/U+1F8D NormalizationTest.txt |
ᾍ␊ᾍ
|
12 B | |
| 001005 | unicode/part1/U+1F8E NormalizationTest.txt |
ᾎ␊ᾎ
|
12 B | |
| 001006 | unicode/part1/U+1F8F NormalizationTest.txt |
ᾏ␊ᾏ
|
12 B | |
| 001007 | unicode/part1/U+1F90 NormalizationTest.txt |
ᾐ␊ᾐ
|
10 B | |
| 001008 | unicode/part1/U+1F91 NormalizationTest.txt |
ᾑ␊ᾑ
|
10 B | |
| 001009 | unicode/part1/U+1F92 NormalizationTest.txt |
ᾒ␊ᾒ
|
12 B | |
| 001010 | unicode/part1/U+1F93 NormalizationTest.txt |
ᾓ␊ᾓ
|
12 B | |
| 001011 | unicode/part1/U+1F94 NormalizationTest.txt |
ᾔ␊ᾔ
|
12 B | |
| 001012 | unicode/part1/U+1F95 NormalizationTest.txt |
ᾕ␊ᾕ
|
12 B | |
| 001013 | unicode/part1/U+1F96 NormalizationTest.txt |
ᾖ␊ᾖ
|
12 B | |
| 001014 | unicode/part1/U+1F97 NormalizationTest.txt |
ᾗ␊ᾗ
|
12 B | |
| 001015 | unicode/part1/U+1F98 NormalizationTest.txt |
ᾘ␊ᾘ
|
10 B | |
| 001016 | unicode/part1/U+1F99 NormalizationTest.txt |
ᾙ␊ᾙ
|
10 B | |
| 001017 | unicode/part1/U+1F9A NormalizationTest.txt |
ᾚ␊ᾚ
|
12 B | |
| 001018 | unicode/part1/U+1F9B NormalizationTest.txt |
ᾛ␊ᾛ
|
12 B | |
| 001019 | unicode/part1/U+1F9C NormalizationTest.txt |
ᾜ␊ᾜ
|
12 B | |
| 001020 | unicode/part1/U+1F9D NormalizationTest.txt |
ᾝ␊ᾝ
|
12 B | |
| 001021 | unicode/part1/U+1F9E NormalizationTest.txt |
ᾞ␊ᾞ
|
12 B | |
| 001022 | unicode/part1/U+1F9F NormalizationTest.txt |
ᾟ␊ᾟ
|
12 B | |
| 001023 | unicode/part1/U+1FA0 NormalizationTest.txt |
ᾠ␊ᾠ
|
10 B | |
| 001024 | unicode/part1/U+1FA1 NormalizationTest.txt |
ᾡ␊ᾡ
|
10 B | |
| 001025 | unicode/part1/U+1FA2 NormalizationTest.txt |
ᾢ␊ᾢ
|
12 B | |
| 001026 | unicode/part1/U+1FA3 NormalizationTest.txt |
ᾣ␊ᾣ
|
12 B | |
| 001027 | unicode/part1/U+1FA4 NormalizationTest.txt |
ᾤ␊ᾤ
|
12 B | |
| 001028 | unicode/part1/U+1FA5 NormalizationTest.txt |
ᾥ␊ᾥ
|
12 B | |
| 001029 | unicode/part1/U+1FA6 NormalizationTest.txt |
ᾦ␊ᾦ
|
12 B | |
| 001030 | unicode/part1/U+1FA7 NormalizationTest.txt |
ᾧ␊ᾧ
|
12 B | |
| 001031 | unicode/part1/U+1FA8 NormalizationTest.txt |
ᾨ␊ᾨ
|
10 B | |
| 001032 | unicode/part1/U+1FA9 NormalizationTest.txt |
ᾩ␊ᾩ
|
10 B | |
| 001033 | unicode/part1/U+1FAA NormalizationTest.txt |
ᾪ␊ᾪ
|
12 B | |
| 001034 | unicode/part1/U+1FAB NormalizationTest.txt |
ᾫ␊ᾫ
|
12 B | |
| 001035 | unicode/part1/U+1FAC NormalizationTest.txt |
ᾬ␊ᾬ
|
12 B | |
| 001036 | unicode/part1/U+1FAD NormalizationTest.txt |
ᾭ␊ᾭ
|
12 B | |
| 001037 | unicode/part1/U+1FAE NormalizationTest.txt |
ᾮ␊ᾮ
|
12 B | |
| 001038 | unicode/part1/U+1FAF NormalizationTest.txt |
ᾯ␊ᾯ
|
12 B | |
| 001039 | unicode/part1/U+1FB0 NormalizationTest.txt |
ᾰ␊ᾰ
|
8 B | |
| 001040 | unicode/part1/U+1FB1 NormalizationTest.txt |
ᾱ␊ᾱ
|
8 B | |
| 001041 | unicode/part1/U+1FB2 NormalizationTest.txt |
ᾲ␊ᾲ
|
10 B | |
| 001042 | unicode/part1/U+1FB3 NormalizationTest.txt |
ᾳ␊ᾳ
|
8 B | |
| 001043 | unicode/part1/U+1FB4 NormalizationTest.txt |
ᾴ␊ᾴ
|
10 B | |
| 001044 | unicode/part1/U+1FB6 NormalizationTest.txt |
ᾶ␊ᾶ
|
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.
- 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