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
All 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 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 | |
| 004629 | unicode/part1/U+1D64A NormalizationTest.txt |
๐โO
|
6 B | |
| 004630 | unicode/part1/U+1D64B NormalizationTest.txt |
๐โP
|
6 B | |
| 004631 | unicode/part1/U+1D64C NormalizationTest.txt |
๐โQ
|
6 B | |
| 004632 | unicode/part1/U+1D64D NormalizationTest.txt |
๐โR
|
6 B | |
| 004633 | unicode/part1/U+1D64E NormalizationTest.txt |
๐โS
|
6 B | |
| 004634 | unicode/part1/U+1D64F NormalizationTest.txt |
๐โT
|
6 B | |
| 004635 | unicode/part1/U+1D650 NormalizationTest.txt |
๐โU
|
6 B | |
| 004636 | unicode/part1/U+1D651 NormalizationTest.txt |
๐โV
|
6 B | |
| 004637 | unicode/part1/U+1D652 NormalizationTest.txt |
๐โW
|
6 B | |
| 004638 | unicode/part1/U+1D653 NormalizationTest.txt |
๐โX
|
6 B | |
| 004639 | unicode/part1/U+1D654 NormalizationTest.txt |
๐โY
|
6 B | |
| 004640 | unicode/part1/U+1D655 NormalizationTest.txt |
๐โZ
|
6 B | |
| 004641 | unicode/part1/U+1D656 NormalizationTest.txt |
๐โa
|
6 B | |
| 004642 | unicode/part1/U+1D657 NormalizationTest.txt |
๐โb
|
6 B | |
| 004643 | unicode/part1/U+1D658 NormalizationTest.txt |
๐โc
|
6 B | |
| 004644 | unicode/part1/U+1D659 NormalizationTest.txt |
๐โd
|
6 B | |
| 004645 | unicode/part1/U+1D65A NormalizationTest.txt |
๐โe
|
6 B | |
| 004646 | unicode/part1/U+1D65B NormalizationTest.txt |
๐โf
|
6 B | |
| 004647 | unicode/part1/U+1D65C NormalizationTest.txt |
๐โg
|
6 B | |
| 004648 | unicode/part1/U+1D65D NormalizationTest.txt |
๐โh
|
6 B | |
| 004649 | unicode/part1/U+1D65E NormalizationTest.txt |
๐โi
|
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