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
727 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 008334 | unicode/part4/line 19569 NormalizationTest.txt |
ἤ␊ἤ␊ἤ
|
16 B | |
| 008335 | unicode/part4/line 19570 NormalizationTest.txt |
ἤ␊ἤ␊ἤ
|
16 B | |
| 008336 | unicode/part4/line 19571 NormalizationTest.txt |
ἥ␊ἥ␊ἥ
|
16 B | |
| 008337 | unicode/part4/line 19572 NormalizationTest.txt |
ἥ␊ἥ␊ἥ
|
16 B | |
| 008338 | unicode/part4/line 19573 NormalizationTest.txt |
ἦ␊ἦ␊ἦ
|
16 B | |
| 008339 | unicode/part4/line 19574 NormalizationTest.txt |
ἧ␊ἧ␊ἧ
|
16 B | |
| 008340 | unicode/part4/line 19575 NormalizationTest.txt |
Ἢ␊Ἢ␊Ἢ
|
16 B | |
| 008341 | unicode/part4/line 19576 NormalizationTest.txt |
Ἢ␊Ἢ␊Ἢ
|
16 B | |
| 008342 | unicode/part4/line 19577 NormalizationTest.txt |
Ἣ␊Ἣ␊Ἣ
|
16 B | |
| 008343 | unicode/part4/line 19578 NormalizationTest.txt |
Ἣ␊Ἣ␊Ἣ
|
16 B | |
| 008344 | unicode/part4/line 19579 NormalizationTest.txt |
Ἤ␊Ἤ␊Ἤ
|
16 B | |
| 008345 | unicode/part4/line 19580 NormalizationTest.txt |
Ἤ␊Ἤ␊Ἤ
|
16 B | |
| 008346 | unicode/part4/line 19581 NormalizationTest.txt |
Ἥ␊Ἥ␊Ἥ
|
16 B | |
| 008347 | unicode/part4/line 19582 NormalizationTest.txt |
Ἥ␊Ἥ␊Ἥ
|
16 B | |
| 008348 | unicode/part4/line 19583 NormalizationTest.txt |
Ἦ␊Ἦ␊Ἦ
|
16 B | |
| 008349 | unicode/part4/line 19584 NormalizationTest.txt |
Ἧ␊Ἧ␊Ἧ
|
16 B | |
| 008350 | unicode/part4/line 19585 NormalizationTest.txt |
ἲ␊ἲ␊ἲ
|
16 B | |
| 008351 | unicode/part4/line 19586 NormalizationTest.txt |
ἲ␊ἲ␊ἲ
|
16 B | |
| 008352 | unicode/part4/line 19587 NormalizationTest.txt |
ἳ␊ἳ␊ἳ
|
16 B | |
| 008353 | unicode/part4/line 19588 NormalizationTest.txt |
ἳ␊ἳ␊ἳ
|
16 B | |
| 008354 | unicode/part4/line 19589 NormalizationTest.txt |
ἴ␊ἴ␊ἴ
|
16 B | |
| 008355 | unicode/part4/line 19590 NormalizationTest.txt |
ἴ␊ἴ␊ἴ
|
16 B | |
| 008356 | unicode/part4/line 19591 NormalizationTest.txt |
ἵ␊ἵ␊ἵ
|
16 B | |
| 008357 | unicode/part4/line 19592 NormalizationTest.txt |
ἵ␊ἵ␊ἵ
|
16 B | |
| 008358 | unicode/part4/line 19593 NormalizationTest.txt |
ἶ␊ἶ␊ἶ
|
16 B | |
| 008359 | unicode/part4/line 19594 NormalizationTest.txt |
ἷ␊ἷ␊ἷ
|
16 B | |
| 008360 | unicode/part4/line 19595 NormalizationTest.txt |
Ἲ␊Ἲ␊Ἲ
|
16 B | |
| 008361 | unicode/part4/line 19596 NormalizationTest.txt |
Ἲ␊Ἲ␊Ἲ
|
16 B | |
| 008362 | unicode/part4/line 19597 NormalizationTest.txt |
Ἳ␊Ἳ␊Ἳ
|
16 B | |
| 008363 | unicode/part4/line 19598 NormalizationTest.txt |
Ἳ␊Ἳ␊Ἳ
|
16 B | |
| 008364 | unicode/part4/line 19599 NormalizationTest.txt |
Ἴ␊Ἴ␊Ἴ
|
16 B | |
| 008365 | unicode/part4/line 19600 NormalizationTest.txt |
Ἴ␊Ἴ␊Ἴ
|
16 B | |
| 008366 | unicode/part4/line 19601 NormalizationTest.txt |
Ἵ␊Ἵ␊Ἵ
|
16 B | |
| 008367 | unicode/part4/line 19602 NormalizationTest.txt |
Ἵ␊Ἵ␊Ἵ
|
16 B | |
| 008368 | unicode/part4/line 19603 NormalizationTest.txt |
Ἶ␊Ἶ␊Ἶ
|
16 B | |
| 008369 | unicode/part4/line 19604 NormalizationTest.txt |
Ἷ␊Ἷ␊Ἷ
|
16 B | |
| 008370 | unicode/part4/line 19605 NormalizationTest.txt |
ὂ␊ὂ␊ὂ
|
16 B | |
| 008371 | unicode/part4/line 19606 NormalizationTest.txt |
ὂ␊ὂ␊ὂ
|
16 B | |
| 008372 | unicode/part4/line 19607 NormalizationTest.txt |
ὃ␊ὃ␊ὃ
|
16 B | |
| 008373 | unicode/part4/line 19608 NormalizationTest.txt |
ὃ␊ὃ␊ὃ
|
16 B | |
| 008374 | unicode/part4/line 19609 NormalizationTest.txt |
ὄ␊ὄ␊ὄ
|
16 B | |
| 008375 | unicode/part4/line 19610 NormalizationTest.txt |
ὄ␊ὄ␊ὄ
|
16 B | |
| 008376 | unicode/part4/line 19611 NormalizationTest.txt |
ὅ␊ὅ␊ὅ
|
16 B | |
| 008377 | unicode/part4/line 19612 NormalizationTest.txt |
ὅ␊ὅ␊ὅ
|
16 B | |
| 008378 | unicode/part4/line 19613 NormalizationTest.txt |
Ὂ␊Ὂ␊Ὂ
|
16 B | |
| 008379 | unicode/part4/line 19614 NormalizationTest.txt |
Ὂ␊Ὂ␊Ὂ
|
16 B | |
| 008380 | unicode/part4/line 19615 NormalizationTest.txt |
Ὃ␊Ὃ␊Ὃ
|
16 B | |
| 008381 | unicode/part4/line 19616 NormalizationTest.txt |
Ὃ␊Ὃ␊Ὃ
|
16 B | |
| 008382 | unicode/part4/line 19617 NormalizationTest.txt |
Ὄ␊Ὄ␊Ὄ
|
16 B | |
| 008383 | unicode/part4/line 19618 NormalizationTest.txt |
Ὄ␊Ὄ␊Ὄ
|
16 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