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 |
|---|---|---|---|---|
| 004400 | unicode/part1/U+1D565 NormalizationTest.txt |
๐ฅโt
|
6 B | |
| 004401 | unicode/part1/U+1D566 NormalizationTest.txt |
๐ฆโu
|
6 B | |
| 004402 | unicode/part1/U+1D567 NormalizationTest.txt |
๐งโv
|
6 B | |
| 004403 | unicode/part1/U+1D568 NormalizationTest.txt |
๐จโw
|
6 B | |
| 004404 | unicode/part1/U+1D569 NormalizationTest.txt |
๐ฉโx
|
6 B | |
| 004405 | unicode/part1/U+1D56A NormalizationTest.txt |
๐ชโy
|
6 B | |
| 004406 | unicode/part1/U+1D56B NormalizationTest.txt |
๐ซโz
|
6 B | |
| 004407 | unicode/part1/U+1D56C NormalizationTest.txt |
๐ฌโA
|
6 B | |
| 004408 | unicode/part1/U+1D56D NormalizationTest.txt |
๐ญโB
|
6 B | |
| 004409 | unicode/part1/U+1D56E NormalizationTest.txt |
๐ฎโC
|
6 B | |
| 004410 | unicode/part1/U+1D56F NormalizationTest.txt |
๐ฏโD
|
6 B | |
| 004411 | unicode/part1/U+1D570 NormalizationTest.txt |
๐ฐโE
|
6 B | |
| 004412 | unicode/part1/U+1D571 NormalizationTest.txt |
๐ฑโF
|
6 B | |
| 004413 | unicode/part1/U+1D572 NormalizationTest.txt |
๐ฒโG
|
6 B | |
| 004414 | unicode/part1/U+1D573 NormalizationTest.txt |
๐ณโH
|
6 B | |
| 004415 | unicode/part1/U+1D574 NormalizationTest.txt |
๐ดโI
|
6 B | |
| 004416 | unicode/part1/U+1D575 NormalizationTest.txt |
๐ตโJ
|
6 B | |
| 004417 | unicode/part1/U+1D576 NormalizationTest.txt |
๐ถโK
|
6 B | |
| 004418 | unicode/part1/U+1D577 NormalizationTest.txt |
๐ทโL
|
6 B | |
| 004419 | unicode/part1/U+1D578 NormalizationTest.txt |
๐ธโM
|
6 B | |
| 004420 | unicode/part1/U+1D579 NormalizationTest.txt |
๐นโN
|
6 B | |
| 004421 | unicode/part1/U+1D57A NormalizationTest.txt |
๐บโO
|
6 B | |
| 004422 | unicode/part1/U+1D57B NormalizationTest.txt |
๐ปโP
|
6 B | |
| 004423 | unicode/part1/U+1D57C NormalizationTest.txt |
๐ผโQ
|
6 B | |
| 004424 | unicode/part1/U+1D57D NormalizationTest.txt |
๐ฝโR
|
6 B | |
| 004425 | unicode/part1/U+1D57E NormalizationTest.txt |
๐พโS
|
6 B | |
| 004426 | unicode/part1/U+1D57F NormalizationTest.txt |
๐ฟโT
|
6 B | |
| 004427 | unicode/part1/U+1D580 NormalizationTest.txt |
๐โU
|
6 B | |
| 004428 | unicode/part1/U+1D581 NormalizationTest.txt |
๐โV
|
6 B | |
| 004429 | unicode/part1/U+1D582 NormalizationTest.txt |
๐โW
|
6 B | |
| 004430 | unicode/part1/U+1D583 NormalizationTest.txt |
๐โX
|
6 B | |
| 004431 | unicode/part1/U+1D584 NormalizationTest.txt |
๐โY
|
6 B | |
| 004432 | unicode/part1/U+1D585 NormalizationTest.txt |
๐
โZ
|
6 B | |
| 004433 | unicode/part1/U+1D586 NormalizationTest.txt |
๐โa
|
6 B | |
| 004434 | unicode/part1/U+1D587 NormalizationTest.txt |
๐โb
|
6 B | |
| 004435 | unicode/part1/U+1D588 NormalizationTest.txt |
๐โc
|
6 B | |
| 004436 | unicode/part1/U+1D589 NormalizationTest.txt |
๐โd
|
6 B | |
| 004437 | unicode/part1/U+1D58A NormalizationTest.txt |
๐โe
|
6 B | |
| 004438 | unicode/part1/U+1D58B NormalizationTest.txt |
๐โf
|
6 B | |
| 004439 | unicode/part1/U+1D58C NormalizationTest.txt |
๐โg
|
6 B | |
| 004440 | unicode/part1/U+1D58D NormalizationTest.txt |
๐โh
|
6 B | |
| 004441 | unicode/part1/U+1D58E NormalizationTest.txt |
๐โi
|
6 B | |
| 004442 | unicode/part1/U+1D58F NormalizationTest.txt |
๐โj
|
6 B | |
| 004443 | unicode/part1/U+1D590 NormalizationTest.txt |
๐โk
|
6 B | |
| 004444 | unicode/part1/U+1D591 NormalizationTest.txt |
๐โl
|
6 B | |
| 004445 | unicode/part1/U+1D592 NormalizationTest.txt |
๐โm
|
6 B | |
| 004446 | unicode/part1/U+1D593 NormalizationTest.txt |
๐โn
|
6 B | |
| 004447 | unicode/part1/U+1D594 NormalizationTest.txt |
๐โo
|
6 B | |
| 004448 | unicode/part1/U+1D595 NormalizationTest.txt |
๐โp
|
6 B | |
| 004449 | unicode/part1/U+1D596 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