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 |
|---|---|---|---|---|
| 004579 | unicode/part1/U+1D618 NormalizationTest.txt |
๐โQ
|
6 B | |
| 004580 | unicode/part1/U+1D619 NormalizationTest.txt |
๐โR
|
6 B | |
| 004581 | unicode/part1/U+1D61A NormalizationTest.txt |
๐โS
|
6 B | |
| 004582 | unicode/part1/U+1D61B NormalizationTest.txt |
๐โT
|
6 B | |
| 004583 | unicode/part1/U+1D61C NormalizationTest.txt |
๐โU
|
6 B | |
| 004584 | unicode/part1/U+1D61D NormalizationTest.txt |
๐โV
|
6 B | |
| 004585 | unicode/part1/U+1D61E NormalizationTest.txt |
๐โW
|
6 B | |
| 004586 | unicode/part1/U+1D61F NormalizationTest.txt |
๐โX
|
6 B | |
| 004587 | unicode/part1/U+1D620 NormalizationTest.txt |
๐ โY
|
6 B | |
| 004588 | unicode/part1/U+1D621 NormalizationTest.txt |
๐กโZ
|
6 B | |
| 004589 | unicode/part1/U+1D622 NormalizationTest.txt |
๐ขโa
|
6 B | |
| 004590 | unicode/part1/U+1D623 NormalizationTest.txt |
๐ฃโb
|
6 B | |
| 004591 | unicode/part1/U+1D624 NormalizationTest.txt |
๐คโc
|
6 B | |
| 004592 | unicode/part1/U+1D625 NormalizationTest.txt |
๐ฅโd
|
6 B | |
| 004593 | unicode/part1/U+1D626 NormalizationTest.txt |
๐ฆโe
|
6 B | |
| 004594 | unicode/part1/U+1D627 NormalizationTest.txt |
๐งโf
|
6 B | |
| 004595 | unicode/part1/U+1D628 NormalizationTest.txt |
๐จโg
|
6 B | |
| 004596 | unicode/part1/U+1D629 NormalizationTest.txt |
๐ฉโh
|
6 B | |
| 004597 | unicode/part1/U+1D62A NormalizationTest.txt |
๐ชโi
|
6 B | |
| 004598 | unicode/part1/U+1D62B NormalizationTest.txt |
๐ซโj
|
6 B | |
| 004599 | unicode/part1/U+1D62C NormalizationTest.txt |
๐ฌโk
|
6 B | |
| 004600 | unicode/part1/U+1D62D NormalizationTest.txt |
๐ญโl
|
6 B | |
| 004601 | unicode/part1/U+1D62E NormalizationTest.txt |
๐ฎโm
|
6 B | |
| 004602 | unicode/part1/U+1D62F NormalizationTest.txt |
๐ฏโn
|
6 B | |
| 004603 | unicode/part1/U+1D630 NormalizationTest.txt |
๐ฐโo
|
6 B | |
| 004604 | unicode/part1/U+1D631 NormalizationTest.txt |
๐ฑโp
|
6 B | |
| 004605 | unicode/part1/U+1D632 NormalizationTest.txt |
๐ฒโq
|
6 B | |
| 004606 | unicode/part1/U+1D633 NormalizationTest.txt |
๐ณโr
|
6 B | |
| 004607 | unicode/part1/U+1D634 NormalizationTest.txt |
๐ดโs
|
6 B | |
| 004608 | unicode/part1/U+1D635 NormalizationTest.txt |
๐ตโt
|
6 B | |
| 004609 | unicode/part1/U+1D636 NormalizationTest.txt |
๐ถโu
|
6 B | |
| 004610 | unicode/part1/U+1D637 NormalizationTest.txt |
๐ทโv
|
6 B | |
| 004611 | unicode/part1/U+1D638 NormalizationTest.txt |
๐ธโw
|
6 B | |
| 004612 | unicode/part1/U+1D639 NormalizationTest.txt |
๐นโx
|
6 B | |
| 004613 | unicode/part1/U+1D63A NormalizationTest.txt |
๐บโy
|
6 B | |
| 004614 | unicode/part1/U+1D63B NormalizationTest.txt |
๐ปโz
|
6 B | |
| 004615 | unicode/part1/U+1D63C NormalizationTest.txt |
๐ผโA
|
6 B | |
| 004616 | unicode/part1/U+1D63D NormalizationTest.txt |
๐ฝโB
|
6 B | |
| 004617 | unicode/part1/U+1D63E NormalizationTest.txt |
๐พโC
|
6 B | |
| 004618 | unicode/part1/U+1D63F NormalizationTest.txt |
๐ฟโD
|
6 B | |
| 004619 | unicode/part1/U+1D640 NormalizationTest.txt |
๐โE
|
6 B | |
| 004620 | unicode/part1/U+1D641 NormalizationTest.txt |
๐โF
|
6 B | |
| 004621 | unicode/part1/U+1D642 NormalizationTest.txt |
๐โG
|
6 B | |
| 004622 | unicode/part1/U+1D643 NormalizationTest.txt |
๐โH
|
6 B | |
| 004623 | unicode/part1/U+1D644 NormalizationTest.txt |
๐โI
|
6 B | |
| 004624 | unicode/part1/U+1D645 NormalizationTest.txt |
๐
โJ
|
6 B | |
| 004625 | unicode/part1/U+1D646 NormalizationTest.txt |
๐โK
|
6 B | |
| 004626 | unicode/part1/U+1D647 NormalizationTest.txt |
๐โL
|
6 B | |
| 004627 | unicode/part1/U+1D648 NormalizationTest.txt |
๐โM
|
6 B | |
| 004628 | unicode/part1/U+1D649 NormalizationTest.txt |
๐โN
|
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