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 |
|---|---|---|---|---|
| 004100 | unicode/part1/U+1D421 NormalizationTest.txt |
๐กโh
|
6 B | |
| 004101 | unicode/part1/U+1D422 NormalizationTest.txt |
๐ขโi
|
6 B | |
| 004102 | unicode/part1/U+1D423 NormalizationTest.txt |
๐ฃโj
|
6 B | |
| 004103 | unicode/part1/U+1D424 NormalizationTest.txt |
๐คโk
|
6 B | |
| 004104 | unicode/part1/U+1D425 NormalizationTest.txt |
๐ฅโl
|
6 B | |
| 004105 | unicode/part1/U+1D426 NormalizationTest.txt |
๐ฆโm
|
6 B | |
| 004106 | unicode/part1/U+1D427 NormalizationTest.txt |
๐งโn
|
6 B | |
| 004107 | unicode/part1/U+1D428 NormalizationTest.txt |
๐จโo
|
6 B | |
| 004108 | unicode/part1/U+1D429 NormalizationTest.txt |
๐ฉโp
|
6 B | |
| 004109 | unicode/part1/U+1D42A NormalizationTest.txt |
๐ชโq
|
6 B | |
| 004110 | unicode/part1/U+1D42B NormalizationTest.txt |
๐ซโr
|
6 B | |
| 004111 | unicode/part1/U+1D42C NormalizationTest.txt |
๐ฌโs
|
6 B | |
| 004112 | unicode/part1/U+1D42D NormalizationTest.txt |
๐ญโt
|
6 B | |
| 004113 | unicode/part1/U+1D42E NormalizationTest.txt |
๐ฎโu
|
6 B | |
| 004114 | unicode/part1/U+1D42F NormalizationTest.txt |
๐ฏโv
|
6 B | |
| 004115 | unicode/part1/U+1D430 NormalizationTest.txt |
๐ฐโw
|
6 B | |
| 004116 | unicode/part1/U+1D431 NormalizationTest.txt |
๐ฑโx
|
6 B | |
| 004117 | unicode/part1/U+1D432 NormalizationTest.txt |
๐ฒโy
|
6 B | |
| 004118 | unicode/part1/U+1D433 NormalizationTest.txt |
๐ณโz
|
6 B | |
| 004119 | unicode/part1/U+1D434 NormalizationTest.txt |
๐ดโA
|
6 B | |
| 004120 | unicode/part1/U+1D435 NormalizationTest.txt |
๐ตโB
|
6 B | |
| 004121 | unicode/part1/U+1D436 NormalizationTest.txt |
๐ถโC
|
6 B | |
| 004122 | unicode/part1/U+1D437 NormalizationTest.txt |
๐ทโD
|
6 B | |
| 004123 | unicode/part1/U+1D438 NormalizationTest.txt |
๐ธโE
|
6 B | |
| 004124 | unicode/part1/U+1D439 NormalizationTest.txt |
๐นโF
|
6 B | |
| 004125 | unicode/part1/U+1D43A NormalizationTest.txt |
๐บโG
|
6 B | |
| 004126 | unicode/part1/U+1D43B NormalizationTest.txt |
๐ปโH
|
6 B | |
| 004127 | unicode/part1/U+1D43C NormalizationTest.txt |
๐ผโI
|
6 B | |
| 004128 | unicode/part1/U+1D43D NormalizationTest.txt |
๐ฝโJ
|
6 B | |
| 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 |
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