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 |
|---|---|---|---|---|
| 001430 | unicode/part1/U+24BE NormalizationTest.txt |
Ⓘ␊I
|
5 B | |
| 001431 | unicode/part1/U+24BF NormalizationTest.txt |
Ⓙ␊J
|
5 B | |
| 001432 | unicode/part1/U+24C0 NormalizationTest.txt |
Ⓚ␊K
|
5 B | |
| 001433 | unicode/part1/U+24C1 NormalizationTest.txt |
Ⓛ␊L
|
5 B | |
| 001434 | unicode/part1/U+24C2 NormalizationTest.txt |
Ⓜ␊M
|
5 B | |
| 001435 | unicode/part1/U+24C3 NormalizationTest.txt |
Ⓝ␊N
|
5 B | |
| 001436 | unicode/part1/U+24C4 NormalizationTest.txt |
Ⓞ␊O
|
5 B | |
| 001437 | unicode/part1/U+24C5 NormalizationTest.txt |
Ⓟ␊P
|
5 B | |
| 001438 | unicode/part1/U+24C6 NormalizationTest.txt |
Ⓠ␊Q
|
5 B | |
| 001439 | unicode/part1/U+24C7 NormalizationTest.txt |
Ⓡ␊R
|
5 B | |
| 001440 | unicode/part1/U+24C8 NormalizationTest.txt |
Ⓢ␊S
|
5 B | |
| 001441 | unicode/part1/U+24C9 NormalizationTest.txt |
Ⓣ␊T
|
5 B | |
| 001442 | unicode/part1/U+24CA NormalizationTest.txt |
Ⓤ␊U
|
5 B | |
| 001443 | unicode/part1/U+24CB NormalizationTest.txt |
Ⓥ␊V
|
5 B | |
| 001444 | unicode/part1/U+24CC NormalizationTest.txt |
Ⓦ␊W
|
5 B | |
| 001445 | unicode/part1/U+24CD NormalizationTest.txt |
Ⓧ␊X
|
5 B | |
| 001446 | unicode/part1/U+24CE NormalizationTest.txt |
Ⓨ␊Y
|
5 B | |
| 001447 | unicode/part1/U+24CF NormalizationTest.txt |
Ⓩ␊Z
|
5 B | |
| 001448 | unicode/part1/U+24D0 NormalizationTest.txt |
ⓐ␊a
|
5 B | |
| 001449 | unicode/part1/U+24D1 NormalizationTest.txt |
ⓑ␊b
|
5 B | |
| 001450 | unicode/part1/U+24D2 NormalizationTest.txt |
ⓒ␊c
|
5 B | |
| 001451 | unicode/part1/U+24D3 NormalizationTest.txt |
ⓓ␊d
|
5 B | |
| 001452 | unicode/part1/U+24D4 NormalizationTest.txt |
ⓔ␊e
|
5 B | |
| 001453 | unicode/part1/U+24D5 NormalizationTest.txt |
ⓕ␊f
|
5 B | |
| 001454 | unicode/part1/U+24D6 NormalizationTest.txt |
ⓖ␊g
|
5 B | |
| 001455 | unicode/part1/U+24D7 NormalizationTest.txt |
ⓗ␊h
|
5 B | |
| 001456 | unicode/part1/U+24D8 NormalizationTest.txt |
ⓘ␊i
|
5 B | |
| 001457 | unicode/part1/U+24D9 NormalizationTest.txt |
ⓙ␊j
|
5 B | |
| 001458 | unicode/part1/U+24DA NormalizationTest.txt |
ⓚ␊k
|
5 B | |
| 001459 | unicode/part1/U+24DB NormalizationTest.txt |
ⓛ␊l
|
5 B | |
| 001460 | unicode/part1/U+24DC NormalizationTest.txt |
ⓜ␊m
|
5 B | |
| 001461 | unicode/part1/U+24DD NormalizationTest.txt |
ⓝ␊n
|
5 B | |
| 001462 | unicode/part1/U+24DE NormalizationTest.txt |
ⓞ␊o
|
5 B | |
| 001463 | unicode/part1/U+24DF NormalizationTest.txt |
ⓟ␊p
|
5 B | |
| 001464 | unicode/part1/U+24E0 NormalizationTest.txt |
ⓠ␊q
|
5 B | |
| 001465 | unicode/part1/U+24E1 NormalizationTest.txt |
ⓡ␊r
|
5 B | |
| 001466 | unicode/part1/U+24E2 NormalizationTest.txt |
ⓢ␊s
|
5 B | |
| 001467 | unicode/part1/U+24E3 NormalizationTest.txt |
ⓣ␊t
|
5 B | |
| 001468 | unicode/part1/U+24E4 NormalizationTest.txt |
ⓤ␊u
|
5 B | |
| 001469 | unicode/part1/U+24E5 NormalizationTest.txt |
ⓥ␊v
|
5 B | |
| 001470 | unicode/part1/U+24E6 NormalizationTest.txt |
ⓦ␊w
|
5 B | |
| 001471 | unicode/part1/U+24E7 NormalizationTest.txt |
ⓧ␊x
|
5 B | |
| 001472 | unicode/part1/U+24E8 NormalizationTest.txt |
ⓨ␊y
|
5 B | |
| 001473 | unicode/part1/U+24E9 NormalizationTest.txt |
ⓩ␊z
|
5 B | |
| 001474 | unicode/part1/U+24EA NormalizationTest.txt |
⓪␊0
|
5 B | |
| 001475 | unicode/part1/U+2A0C NormalizationTest.txt |
⨌␊∫∫∫∫
|
16 B | |
| 001476 | unicode/part1/U+2A74 NormalizationTest.txt |
⩴␊::=
|
7 B | |
| 001477 | unicode/part1/U+2A75 NormalizationTest.txt |
⩵␊==
|
6 B | |
| 001478 | unicode/part1/U+2A76 NormalizationTest.txt |
⩶␊===
|
7 B | |
| 001480 | unicode/part1/U+2C7C NormalizationTest.txt |
ⱼ␊j
|
5 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