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
5,928 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 005295 | unicode/part1/U+1F122 NormalizationTest.txt |
๐ขโ(S)
|
8 B | |
| 005296 | unicode/part1/U+1F123 NormalizationTest.txt |
๐ฃโ(T)
|
8 B | |
| 005297 | unicode/part1/U+1F124 NormalizationTest.txt |
๐คโ(U)
|
8 B | |
| 005298 | unicode/part1/U+1F125 NormalizationTest.txt |
๐ฅโ(V)
|
8 B | |
| 005299 | unicode/part1/U+1F126 NormalizationTest.txt |
๐ฆโ(W)
|
8 B | |
| 005300 | unicode/part1/U+1F127 NormalizationTest.txt |
๐งโ(X)
|
8 B | |
| 005301 | unicode/part1/U+1F128 NormalizationTest.txt |
๐จโ(Y)
|
8 B | |
| 005302 | unicode/part1/U+1F129 NormalizationTest.txt |
๐ฉโ(Z)
|
8 B | |
| 005303 | unicode/part1/U+1F12A NormalizationTest.txt |
๐ชโใSใ
|
12 B | |
| 005304 | unicode/part1/U+1F12B NormalizationTest.txt |
๐ซโC
|
6 B | |
| 005305 | unicode/part1/U+1F12C NormalizationTest.txt |
๐ฌโR
|
6 B | |
| 005306 | unicode/part1/U+1F12D NormalizationTest.txt |
๐ญโCD
|
7 B | |
| 005307 | unicode/part1/U+1F12E NormalizationTest.txt |
๐ฎโWZ
|
7 B | |
| 005308 | unicode/part1/U+1F130 NormalizationTest.txt |
๐ฐโA
|
6 B | |
| 005309 | unicode/part1/U+1F131 NormalizationTest.txt |
๐ฑโB
|
6 B | |
| 005310 | unicode/part1/U+1F132 NormalizationTest.txt |
๐ฒโC
|
6 B | |
| 005311 | unicode/part1/U+1F133 NormalizationTest.txt |
๐ณโD
|
6 B | |
| 005312 | unicode/part1/U+1F134 NormalizationTest.txt |
๐ดโE
|
6 B | |
| 005313 | unicode/part1/U+1F135 NormalizationTest.txt |
๐ตโF
|
6 B | |
| 005314 | unicode/part1/U+1F136 NormalizationTest.txt |
๐ถโG
|
6 B | |
| 005315 | unicode/part1/U+1F137 NormalizationTest.txt |
๐ทโH
|
6 B | |
| 005316 | unicode/part1/U+1F138 NormalizationTest.txt |
๐ธโI
|
6 B | |
| 005317 | unicode/part1/U+1F139 NormalizationTest.txt |
๐นโJ
|
6 B | |
| 005318 | unicode/part1/U+1F13A NormalizationTest.txt |
๐บโK
|
6 B | |
| 005319 | unicode/part1/U+1F13B NormalizationTest.txt |
๐ปโL
|
6 B | |
| 005320 | unicode/part1/U+1F13C NormalizationTest.txt |
๐ผโM
|
6 B | |
| 005321 | unicode/part1/U+1F13D NormalizationTest.txt |
๐ฝโN
|
6 B | |
| 005322 | unicode/part1/U+1F13E NormalizationTest.txt |
๐พโO
|
6 B | |
| 005323 | unicode/part1/U+1F13F NormalizationTest.txt |
๐ฟโP
|
6 B | |
| 005324 | unicode/part1/U+1F140 NormalizationTest.txt |
๐
โQ
|
6 B | |
| 005325 | unicode/part1/U+1F141 NormalizationTest.txt |
๐
โR
|
6 B | |
| 005326 | unicode/part1/U+1F142 NormalizationTest.txt |
๐
โS
|
6 B | |
| 005327 | unicode/part1/U+1F143 NormalizationTest.txt |
๐
โT
|
6 B | |
| 005328 | unicode/part1/U+1F144 NormalizationTest.txt |
๐
โU
|
6 B | |
| 005329 | unicode/part1/U+1F145 NormalizationTest.txt |
๐
โV
|
6 B | |
| 005330 | unicode/part1/U+1F146 NormalizationTest.txt |
๐
โW
|
6 B | |
| 005331 | unicode/part1/U+1F147 NormalizationTest.txt |
๐
โX
|
6 B | |
| 005332 | unicode/part1/U+1F148 NormalizationTest.txt |
๐
โY
|
6 B | |
| 005333 | unicode/part1/U+1F149 NormalizationTest.txt |
๐
โZ
|
6 B | |
| 005334 | unicode/part1/U+1F14A NormalizationTest.txt |
๐
โHV
|
7 B | |
| 005335 | unicode/part1/U+1F14B NormalizationTest.txt |
๐
โMV
|
7 B | |
| 005336 | unicode/part1/U+1F14C NormalizationTest.txt |
๐
โSD
|
7 B | |
| 005337 | unicode/part1/U+1F14D NormalizationTest.txt |
๐
โSS
|
7 B | |
| 005338 | unicode/part1/U+1F14E NormalizationTest.txt |
๐
โPPV
|
8 B | |
| 005339 | unicode/part1/U+1F14F NormalizationTest.txt |
๐
โWC
|
7 B | |
| 005340 | unicode/part1/U+1F16A NormalizationTest.txt |
๐
ชโMC
|
7 B | |
| 005341 | unicode/part1/U+1F16B NormalizationTest.txt |
๐
ซโMD
|
7 B | |
| 005342 | unicode/part1/U+1F16C NormalizationTest.txt |
๐
ฌโMR
|
7 B | |
| 005343 | unicode/part1/U+1F190 NormalizationTest.txt |
๐โDJ
|
7 B | |
| 005344 | unicode/part1/U+1F200 NormalizationTest.txt |
๐โใปใ
|
11 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