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 |
|---|---|---|---|---|
| 000345 | unicode/part1/U+02E3 NormalizationTest.txt |
ˣ␊x
|
4 B | |
| 000346 | unicode/part1/U+02E4 NormalizationTest.txt |
ˤ␊ʕ
|
5 B | |
| 000347 | unicode/part1/U+0340 NormalizationTest.txt |
̀␊̀
|
5 B | |
| 000348 | unicode/part1/U+0341 NormalizationTest.txt |
́␊́
|
5 B | |
| 000349 | unicode/part1/U+0343 NormalizationTest.txt |
̓␊̓
|
5 B | |
| 000350 | unicode/part1/U+0344 NormalizationTest.txt |
̈́␊̈́
|
7 B | |
| 000351 | unicode/part1/U+0374 NormalizationTest.txt |
ʹ␊ʹ
|
5 B | |
| 000352 | unicode/part1/U+037A NormalizationTest.txt |
ͺ␊ ͅ
|
6 B | |
| 000353 | unicode/part1/U+037E NormalizationTest.txt |
;␊;
|
4 B | |
| 000354 | unicode/part1/U+0384 NormalizationTest.txt |
΄␊ ́
|
6 B | |
| 000355 | unicode/part1/U+0385 NormalizationTest.txt |
΅␊΅␊ ̈́
|
13 B | |
| 000356 | unicode/part1/U+0386 NormalizationTest.txt |
Ά␊Ά
|
7 B | |
| 000357 | unicode/part1/U+0387 NormalizationTest.txt |
·␊·
|
5 B | |
| 000358 | unicode/part1/U+0388 NormalizationTest.txt |
Έ␊Έ
|
7 B | |
| 000359 | unicode/part1/U+0389 NormalizationTest.txt |
Ή␊Ή
|
7 B | |
| 000360 | unicode/part1/U+038A NormalizationTest.txt |
Ί␊Ί
|
7 B | |
| 000361 | unicode/part1/U+038C NormalizationTest.txt |
Ό␊Ό
|
7 B | |
| 000362 | unicode/part1/U+038E NormalizationTest.txt |
Ύ␊Ύ
|
7 B | |
| 000363 | unicode/part1/U+038F NormalizationTest.txt |
Ώ␊Ώ
|
7 B | |
| 000364 | unicode/part1/U+0390 NormalizationTest.txt |
ΐ␊ΐ
|
9 B | |
| 000365 | unicode/part1/U+03AA NormalizationTest.txt |
Ϊ␊Ϊ
|
7 B | |
| 000366 | unicode/part1/U+03AB NormalizationTest.txt |
Ϋ␊Ϋ
|
7 B | |
| 000367 | unicode/part1/U+03AC NormalizationTest.txt |
ά␊ά
|
7 B | |
| 000368 | unicode/part1/U+03AD NormalizationTest.txt |
έ␊έ
|
7 B | |
| 000369 | unicode/part1/U+03AE NormalizationTest.txt |
ή␊ή
|
7 B | |
| 000370 | unicode/part1/U+03AF NormalizationTest.txt |
ί␊ί
|
7 B | |
| 000371 | unicode/part1/U+03B0 NormalizationTest.txt |
ΰ␊ΰ
|
9 B | |
| 000372 | unicode/part1/U+03CA NormalizationTest.txt |
ϊ␊ϊ
|
7 B | |
| 000373 | unicode/part1/U+03CB NormalizationTest.txt |
ϋ␊ϋ
|
7 B | |
| 000374 | unicode/part1/U+03CC NormalizationTest.txt |
ό␊ό
|
7 B | |
| 000375 | unicode/part1/U+03CD NormalizationTest.txt |
ύ␊ύ
|
7 B | |
| 000376 | unicode/part1/U+03CE NormalizationTest.txt |
ώ␊ώ
|
7 B | |
| 000377 | unicode/part1/U+03D0 NormalizationTest.txt |
ϐ␊β
|
5 B | |
| 000378 | unicode/part1/U+03D1 NormalizationTest.txt |
ϑ␊θ
|
5 B | |
| 000379 | unicode/part1/U+03D2 NormalizationTest.txt |
ϒ␊Υ
|
5 B | |
| 000380 | unicode/part1/U+03D3 NormalizationTest.txt |
ϓ␊ϓ␊Ύ␊Ύ
|
15 B | |
| 000381 | unicode/part1/U+03D4 NormalizationTest.txt |
ϔ␊ϔ␊Ϋ␊Ϋ
|
15 B | |
| 000382 | unicode/part1/U+03D5 NormalizationTest.txt |
ϕ␊φ
|
5 B | |
| 000383 | unicode/part1/U+03D6 NormalizationTest.txt |
ϖ␊π
|
5 B | |
| 000384 | unicode/part1/U+03F0 NormalizationTest.txt |
ϰ␊κ
|
5 B | |
| 000385 | unicode/part1/U+03F1 NormalizationTest.txt |
ϱ␊ρ
|
5 B | |
| 000386 | unicode/part1/U+03F2 NormalizationTest.txt |
ϲ␊ς
|
5 B | |
| 000387 | unicode/part1/U+03F4 NormalizationTest.txt |
ϴ␊Θ
|
5 B | |
| 000388 | unicode/part1/U+03F5 NormalizationTest.txt |
ϵ␊ε
|
5 B | |
| 000389 | unicode/part1/U+03F9 NormalizationTest.txt |
Ϲ␊Σ
|
5 B | |
| 000390 | unicode/part1/U+0400 NormalizationTest.txt |
Ѐ␊Ѐ
|
7 B | |
| 000391 | unicode/part1/U+0401 NormalizationTest.txt |
Ё␊Ё
|
7 B | |
| 000392 | unicode/part1/U+0403 NormalizationTest.txt |
Ѓ␊Ѓ
|
7 B | |
| 000393 | unicode/part1/U+0407 NormalizationTest.txt |
Ї␊Ї
|
7 B | |
| 000394 | unicode/part1/U+040C NormalizationTest.txt |
Ќ␊Ќ
|
7 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