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 |
|---|---|---|---|---|
| 004279 | unicode/part1/U+1D4E0 NormalizationTest.txt |
๐ โQ
|
6 B | |
| 004280 | unicode/part1/U+1D4E1 NormalizationTest.txt |
๐กโR
|
6 B | |
| 004281 | unicode/part1/U+1D4E2 NormalizationTest.txt |
๐ขโS
|
6 B | |
| 004282 | unicode/part1/U+1D4E3 NormalizationTest.txt |
๐ฃโT
|
6 B | |
| 004283 | unicode/part1/U+1D4E4 NormalizationTest.txt |
๐คโU
|
6 B | |
| 004284 | unicode/part1/U+1D4E5 NormalizationTest.txt |
๐ฅโV
|
6 B | |
| 004285 | unicode/part1/U+1D4E6 NormalizationTest.txt |
๐ฆโW
|
6 B | |
| 004286 | unicode/part1/U+1D4E7 NormalizationTest.txt |
๐งโX
|
6 B | |
| 004287 | unicode/part1/U+1D4E8 NormalizationTest.txt |
๐จโY
|
6 B | |
| 004288 | unicode/part1/U+1D4E9 NormalizationTest.txt |
๐ฉโZ
|
6 B | |
| 004289 | unicode/part1/U+1D4EA NormalizationTest.txt |
๐ชโa
|
6 B | |
| 004290 | unicode/part1/U+1D4EB NormalizationTest.txt |
๐ซโb
|
6 B | |
| 004291 | unicode/part1/U+1D4EC NormalizationTest.txt |
๐ฌโc
|
6 B | |
| 004292 | unicode/part1/U+1D4ED NormalizationTest.txt |
๐ญโd
|
6 B | |
| 004293 | unicode/part1/U+1D4EE NormalizationTest.txt |
๐ฎโe
|
6 B | |
| 004294 | unicode/part1/U+1D4EF NormalizationTest.txt |
๐ฏโf
|
6 B | |
| 004295 | unicode/part1/U+1D4F0 NormalizationTest.txt |
๐ฐโg
|
6 B | |
| 004296 | unicode/part1/U+1D4F1 NormalizationTest.txt |
๐ฑโh
|
6 B | |
| 004297 | unicode/part1/U+1D4F2 NormalizationTest.txt |
๐ฒโi
|
6 B | |
| 004298 | unicode/part1/U+1D4F3 NormalizationTest.txt |
๐ณโj
|
6 B | |
| 004299 | unicode/part1/U+1D4F4 NormalizationTest.txt |
๐ดโk
|
6 B | |
| 004300 | unicode/part1/U+1D4F5 NormalizationTest.txt |
๐ตโl
|
6 B | |
| 004301 | unicode/part1/U+1D4F6 NormalizationTest.txt |
๐ถโm
|
6 B | |
| 004302 | unicode/part1/U+1D4F7 NormalizationTest.txt |
๐ทโn
|
6 B | |
| 004303 | unicode/part1/U+1D4F8 NormalizationTest.txt |
๐ธโo
|
6 B | |
| 004304 | unicode/part1/U+1D4F9 NormalizationTest.txt |
๐นโp
|
6 B | |
| 004305 | unicode/part1/U+1D4FA NormalizationTest.txt |
๐บโq
|
6 B | |
| 004306 | unicode/part1/U+1D4FB NormalizationTest.txt |
๐ปโr
|
6 B | |
| 004307 | unicode/part1/U+1D4FC NormalizationTest.txt |
๐ผโs
|
6 B | |
| 004308 | unicode/part1/U+1D4FD NormalizationTest.txt |
๐ฝโt
|
6 B | |
| 004309 | unicode/part1/U+1D4FE NormalizationTest.txt |
๐พโu
|
6 B | |
| 004310 | unicode/part1/U+1D4FF NormalizationTest.txt |
๐ฟโv
|
6 B | |
| 004311 | unicode/part1/U+1D500 NormalizationTest.txt |
๐โw
|
6 B | |
| 004312 | unicode/part1/U+1D501 NormalizationTest.txt |
๐โx
|
6 B | |
| 004313 | unicode/part1/U+1D502 NormalizationTest.txt |
๐โy
|
6 B | |
| 004314 | unicode/part1/U+1D503 NormalizationTest.txt |
๐โz
|
6 B | |
| 004315 | unicode/part1/U+1D504 NormalizationTest.txt |
๐โA
|
6 B | |
| 004316 | unicode/part1/U+1D505 NormalizationTest.txt |
๐
โB
|
6 B | |
| 004317 | unicode/part1/U+1D507 NormalizationTest.txt |
๐โD
|
6 B | |
| 004318 | unicode/part1/U+1D508 NormalizationTest.txt |
๐โE
|
6 B | |
| 004319 | unicode/part1/U+1D509 NormalizationTest.txt |
๐โF
|
6 B | |
| 004320 | unicode/part1/U+1D50A NormalizationTest.txt |
๐โG
|
6 B | |
| 004321 | unicode/part1/U+1D50D NormalizationTest.txt |
๐โJ
|
6 B | |
| 004322 | unicode/part1/U+1D50E NormalizationTest.txt |
๐โK
|
6 B | |
| 004323 | unicode/part1/U+1D50F NormalizationTest.txt |
๐โL
|
6 B | |
| 004324 | unicode/part1/U+1D510 NormalizationTest.txt |
๐โM
|
6 B | |
| 004325 | unicode/part1/U+1D511 NormalizationTest.txt |
๐โN
|
6 B | |
| 004326 | unicode/part1/U+1D512 NormalizationTest.txt |
๐โO
|
6 B | |
| 004327 | unicode/part1/U+1D513 NormalizationTest.txt |
๐โP
|
6 B | |
| 004328 | unicode/part1/U+1D514 NormalizationTest.txt |
๐โQ
|
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