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
3,833 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 004979 | unicode/part1/U+1D7AA NormalizationTest.txt |
๐ชโฮฑ
|
7 B | |
| 004980 | unicode/part1/U+1D7AB NormalizationTest.txt |
๐ซโฮฒ
|
7 B | |
| 004981 | unicode/part1/U+1D7AC NormalizationTest.txt |
๐ฌโฮณ
|
7 B | |
| 004982 | unicode/part1/U+1D7AD NormalizationTest.txt |
๐ญโฮด
|
7 B | |
| 004983 | unicode/part1/U+1D7AE NormalizationTest.txt |
๐ฎโฮต
|
7 B | |
| 004984 | unicode/part1/U+1D7AF NormalizationTest.txt |
๐ฏโฮถ
|
7 B | |
| 004985 | unicode/part1/U+1D7B0 NormalizationTest.txt |
๐ฐโฮท
|
7 B | |
| 004986 | unicode/part1/U+1D7B1 NormalizationTest.txt |
๐ฑโฮธ
|
7 B | |
| 004987 | unicode/part1/U+1D7B2 NormalizationTest.txt |
๐ฒโฮน
|
7 B | |
| 004988 | unicode/part1/U+1D7B3 NormalizationTest.txt |
๐ณโฮบ
|
7 B | |
| 004989 | unicode/part1/U+1D7B4 NormalizationTest.txt |
๐ดโฮป
|
7 B | |
| 004990 | unicode/part1/U+1D7B5 NormalizationTest.txt |
๐ตโฮผ
|
7 B | |
| 004991 | unicode/part1/U+1D7B6 NormalizationTest.txt |
๐ถโฮฝ
|
7 B | |
| 004992 | unicode/part1/U+1D7B7 NormalizationTest.txt |
๐ทโฮพ
|
7 B | |
| 004993 | unicode/part1/U+1D7B8 NormalizationTest.txt |
๐ธโฮฟ
|
7 B | |
| 004994 | unicode/part1/U+1D7B9 NormalizationTest.txt |
๐นโฯ
|
7 B | |
| 004995 | unicode/part1/U+1D7BA NormalizationTest.txt |
๐บโฯ
|
7 B | |
| 004996 | unicode/part1/U+1D7BB NormalizationTest.txt |
๐ปโฯ
|
7 B | |
| 004997 | unicode/part1/U+1D7BC NormalizationTest.txt |
๐ผโฯ
|
7 B | |
| 004998 | unicode/part1/U+1D7BD NormalizationTest.txt |
๐ฝโฯ
|
7 B | |
| 004999 | unicode/part1/U+1D7BE NormalizationTest.txt |
๐พโฯ
|
7 B | |
| 005000 | unicode/part1/U+1D7BF NormalizationTest.txt |
๐ฟโฯ
|
7 B | |
| 005001 | unicode/part1/U+1D7C0 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 005002 | unicode/part1/U+1D7C1 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 005003 | unicode/part1/U+1D7C2 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 005004 | unicode/part1/U+1D7C3 NormalizationTest.txt |
๐โโ
|
8 B | |
| 005005 | unicode/part1/U+1D7C4 NormalizationTest.txt |
๐โฮต
|
7 B | |
| 005006 | unicode/part1/U+1D7C5 NormalizationTest.txt |
๐
โฮธ
|
7 B | |
| 005007 | unicode/part1/U+1D7C6 NormalizationTest.txt |
๐โฮบ
|
7 B | |
| 005008 | unicode/part1/U+1D7C7 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 005009 | unicode/part1/U+1D7C8 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 005010 | unicode/part1/U+1D7C9 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 005011 | unicode/part1/U+1D7CA NormalizationTest.txt |
๐โฯ
|
7 B | |
| 005012 | unicode/part1/U+1D7CB NormalizationTest.txt |
๐โฯ
|
7 B | |
| 005013 | unicode/part1/U+1D7CE NormalizationTest.txt |
๐โ0
|
6 B | |
| 005014 | unicode/part1/U+1D7CF NormalizationTest.txt |
๐โ1
|
6 B | |
| 005015 | unicode/part1/U+1D7D0 NormalizationTest.txt |
๐โ2
|
6 B | |
| 005016 | unicode/part1/U+1D7D1 NormalizationTest.txt |
๐โ3
|
6 B | |
| 005017 | unicode/part1/U+1D7D2 NormalizationTest.txt |
๐โ4
|
6 B | |
| 005018 | unicode/part1/U+1D7D3 NormalizationTest.txt |
๐โ5
|
6 B | |
| 005019 | unicode/part1/U+1D7D4 NormalizationTest.txt |
๐โ6
|
6 B | |
| 005020 | unicode/part1/U+1D7D5 NormalizationTest.txt |
๐โ7
|
6 B | |
| 005021 | unicode/part1/U+1D7D6 NormalizationTest.txt |
๐โ8
|
6 B | |
| 005022 | unicode/part1/U+1D7D7 NormalizationTest.txt |
๐โ9
|
6 B | |
| 005023 | unicode/part1/U+1D7D8 NormalizationTest.txt |
๐โ0
|
6 B | |
| 005024 | unicode/part1/U+1D7D9 NormalizationTest.txt |
๐โ1
|
6 B | |
| 005025 | unicode/part1/U+1D7DA NormalizationTest.txt |
๐โ2
|
6 B | |
| 005026 | unicode/part1/U+1D7DB NormalizationTest.txt |
๐โ3
|
6 B | |
| 005027 | unicode/part1/U+1D7DC NormalizationTest.txt |
๐โ4
|
6 B | |
| 005028 | unicode/part1/U+1D7DD NormalizationTest.txt |
๐โ5
|
6 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