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 |
|---|---|---|---|---|
| 004129 | unicode/part1/U+1D43E NormalizationTest.txt |
๐พโK
|
6 B | |
| 004130 | unicode/part1/U+1D43F NormalizationTest.txt |
๐ฟโL
|
6 B | |
| 004131 | unicode/part1/U+1D440 NormalizationTest.txt |
๐โM
|
6 B | |
| 004132 | unicode/part1/U+1D441 NormalizationTest.txt |
๐โN
|
6 B | |
| 004133 | unicode/part1/U+1D442 NormalizationTest.txt |
๐โO
|
6 B | |
| 004134 | unicode/part1/U+1D443 NormalizationTest.txt |
๐โP
|
6 B | |
| 004135 | unicode/part1/U+1D444 NormalizationTest.txt |
๐โQ
|
6 B | |
| 004136 | unicode/part1/U+1D445 NormalizationTest.txt |
๐
โR
|
6 B | |
| 004137 | unicode/part1/U+1D446 NormalizationTest.txt |
๐โS
|
6 B | |
| 004138 | unicode/part1/U+1D447 NormalizationTest.txt |
๐โT
|
6 B | |
| 004139 | unicode/part1/U+1D448 NormalizationTest.txt |
๐โU
|
6 B | |
| 004140 | unicode/part1/U+1D449 NormalizationTest.txt |
๐โV
|
6 B | |
| 004141 | unicode/part1/U+1D44A NormalizationTest.txt |
๐โW
|
6 B | |
| 004142 | unicode/part1/U+1D44B NormalizationTest.txt |
๐โX
|
6 B | |
| 004143 | unicode/part1/U+1D44C NormalizationTest.txt |
๐โY
|
6 B | |
| 004144 | unicode/part1/U+1D44D NormalizationTest.txt |
๐โZ
|
6 B | |
| 004145 | unicode/part1/U+1D44E NormalizationTest.txt |
๐โa
|
6 B | |
| 004146 | unicode/part1/U+1D44F NormalizationTest.txt |
๐โb
|
6 B | |
| 004147 | unicode/part1/U+1D450 NormalizationTest.txt |
๐โc
|
6 B | |
| 004148 | unicode/part1/U+1D451 NormalizationTest.txt |
๐โd
|
6 B | |
| 004149 | unicode/part1/U+1D452 NormalizationTest.txt |
๐โe
|
6 B | |
| 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 |
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