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 |
|---|---|---|---|---|
| 004150 | unicode/part1/U+1D453 NormalizationTest.txt |
๐โf
|
6 B | |
| 004151 | unicode/part1/U+1D454 NormalizationTest.txt |
๐โg
|
6 B | |
| 004152 | unicode/part1/U+1D456 NormalizationTest.txt |
๐โi
|
6 B | |
| 004153 | unicode/part1/U+1D457 NormalizationTest.txt |
๐โj
|
6 B | |
| 004154 | unicode/part1/U+1D458 NormalizationTest.txt |
๐โk
|
6 B | |
| 004155 | unicode/part1/U+1D459 NormalizationTest.txt |
๐โl
|
6 B | |
| 004156 | unicode/part1/U+1D45A NormalizationTest.txt |
๐โm
|
6 B | |
| 004157 | unicode/part1/U+1D45B NormalizationTest.txt |
๐โn
|
6 B | |
| 004158 | unicode/part1/U+1D45C NormalizationTest.txt |
๐โo
|
6 B | |
| 004159 | unicode/part1/U+1D45D NormalizationTest.txt |
๐โp
|
6 B | |
| 004160 | unicode/part1/U+1D45E NormalizationTest.txt |
๐โq
|
6 B | |
| 004161 | unicode/part1/U+1D45F NormalizationTest.txt |
๐โr
|
6 B | |
| 004162 | unicode/part1/U+1D460 NormalizationTest.txt |
๐ โs
|
6 B | |
| 004163 | unicode/part1/U+1D461 NormalizationTest.txt |
๐กโt
|
6 B | |
| 004164 | unicode/part1/U+1D462 NormalizationTest.txt |
๐ขโu
|
6 B | |
| 004165 | unicode/part1/U+1D463 NormalizationTest.txt |
๐ฃโv
|
6 B | |
| 004166 | unicode/part1/U+1D464 NormalizationTest.txt |
๐คโw
|
6 B | |
| 004167 | unicode/part1/U+1D465 NormalizationTest.txt |
๐ฅโx
|
6 B | |
| 004168 | unicode/part1/U+1D466 NormalizationTest.txt |
๐ฆโy
|
6 B | |
| 004169 | unicode/part1/U+1D467 NormalizationTest.txt |
๐งโz
|
6 B | |
| 004170 | unicode/part1/U+1D468 NormalizationTest.txt |
๐จโA
|
6 B | |
| 004171 | unicode/part1/U+1D469 NormalizationTest.txt |
๐ฉโB
|
6 B | |
| 004172 | unicode/part1/U+1D46A NormalizationTest.txt |
๐ชโC
|
6 B | |
| 004173 | unicode/part1/U+1D46B NormalizationTest.txt |
๐ซโD
|
6 B | |
| 004174 | unicode/part1/U+1D46C NormalizationTest.txt |
๐ฌโE
|
6 B | |
| 004175 | unicode/part1/U+1D46D NormalizationTest.txt |
๐ญโF
|
6 B | |
| 004176 | unicode/part1/U+1D46E NormalizationTest.txt |
๐ฎโG
|
6 B | |
| 004177 | unicode/part1/U+1D46F NormalizationTest.txt |
๐ฏโH
|
6 B | |
| 004178 | unicode/part1/U+1D470 NormalizationTest.txt |
๐ฐโI
|
6 B | |
| 004179 | unicode/part1/U+1D471 NormalizationTest.txt |
๐ฑโJ
|
6 B | |
| 004180 | unicode/part1/U+1D472 NormalizationTest.txt |
๐ฒโK
|
6 B | |
| 004181 | unicode/part1/U+1D473 NormalizationTest.txt |
๐ณโL
|
6 B | |
| 004182 | unicode/part1/U+1D474 NormalizationTest.txt |
๐ดโM
|
6 B | |
| 004183 | unicode/part1/U+1D475 NormalizationTest.txt |
๐ตโN
|
6 B | |
| 004184 | unicode/part1/U+1D476 NormalizationTest.txt |
๐ถโO
|
6 B | |
| 004185 | unicode/part1/U+1D477 NormalizationTest.txt |
๐ทโP
|
6 B | |
| 004186 | unicode/part1/U+1D478 NormalizationTest.txt |
๐ธโQ
|
6 B | |
| 004187 | unicode/part1/U+1D479 NormalizationTest.txt |
๐นโR
|
6 B | |
| 004188 | unicode/part1/U+1D47A NormalizationTest.txt |
๐บโS
|
6 B | |
| 004189 | unicode/part1/U+1D47B NormalizationTest.txt |
๐ปโT
|
6 B | |
| 004190 | unicode/part1/U+1D47C NormalizationTest.txt |
๐ผโU
|
6 B | |
| 004191 | unicode/part1/U+1D47D NormalizationTest.txt |
๐ฝโV
|
6 B | |
| 004192 | unicode/part1/U+1D47E NormalizationTest.txt |
๐พโW
|
6 B | |
| 004193 | unicode/part1/U+1D47F NormalizationTest.txt |
๐ฟโX
|
6 B | |
| 004194 | unicode/part1/U+1D480 NormalizationTest.txt |
๐โY
|
6 B | |
| 004195 | unicode/part1/U+1D481 NormalizationTest.txt |
๐โZ
|
6 B | |
| 004196 | unicode/part1/U+1D482 NormalizationTest.txt |
๐โa
|
6 B | |
| 004197 | unicode/part1/U+1D483 NormalizationTest.txt |
๐โb
|
6 B | |
| 004198 | unicode/part1/U+1D484 NormalizationTest.txt |
๐โc
|
6 B | |
| 004199 | unicode/part1/U+1D485 NormalizationTest.txt |
๐
โd
|
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