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 |
|---|---|---|---|---|
| 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 | |
| 004450 | unicode/part1/U+1D597 NormalizationTest.txt |
๐โr
|
6 B | |
| 004451 | unicode/part1/U+1D598 NormalizationTest.txt |
๐โs
|
6 B | |
| 004452 | unicode/part1/U+1D599 NormalizationTest.txt |
๐โt
|
6 B | |
| 004453 | unicode/part1/U+1D59A NormalizationTest.txt |
๐โu
|
6 B | |
| 004454 | unicode/part1/U+1D59B NormalizationTest.txt |
๐โv
|
6 B | |
| 004455 | unicode/part1/U+1D59C NormalizationTest.txt |
๐โw
|
6 B | |
| 004456 | unicode/part1/U+1D59D NormalizationTest.txt |
๐โx
|
6 B | |
| 004457 | unicode/part1/U+1D59E NormalizationTest.txt |
๐โy
|
6 B | |
| 004458 | unicode/part1/U+1D59F NormalizationTest.txt |
๐โz
|
6 B | |
| 004459 | unicode/part1/U+1D5A0 NormalizationTest.txt |
๐ โA
|
6 B | |
| 004460 | unicode/part1/U+1D5A1 NormalizationTest.txt |
๐กโB
|
6 B | |
| 004461 | unicode/part1/U+1D5A2 NormalizationTest.txt |
๐ขโC
|
6 B | |
| 004462 | unicode/part1/U+1D5A3 NormalizationTest.txt |
๐ฃโD
|
6 B | |
| 004463 | unicode/part1/U+1D5A4 NormalizationTest.txt |
๐คโE
|
6 B | |
| 004464 | unicode/part1/U+1D5A5 NormalizationTest.txt |
๐ฅโF
|
6 B | |
| 004465 | unicode/part1/U+1D5A6 NormalizationTest.txt |
๐ฆโG
|
6 B | |
| 004466 | unicode/part1/U+1D5A7 NormalizationTest.txt |
๐งโH
|
6 B | |
| 004467 | unicode/part1/U+1D5A8 NormalizationTest.txt |
๐จโI
|
6 B | |
| 004468 | unicode/part1/U+1D5A9 NormalizationTest.txt |
๐ฉโJ
|
6 B | |
| 004469 | unicode/part1/U+1D5AA NormalizationTest.txt |
๐ชโK
|
6 B | |
| 004470 | unicode/part1/U+1D5AB NormalizationTest.txt |
๐ซโL
|
6 B | |
| 004471 | unicode/part1/U+1D5AC NormalizationTest.txt |
๐ฌโM
|
6 B | |
| 004472 | unicode/part1/U+1D5AD NormalizationTest.txt |
๐ญโN
|
6 B | |
| 004473 | unicode/part1/U+1D5AE NormalizationTest.txt |
๐ฎโO
|
6 B | |
| 004474 | unicode/part1/U+1D5AF NormalizationTest.txt |
๐ฏโP
|
6 B | |
| 004475 | unicode/part1/U+1D5B0 NormalizationTest.txt |
๐ฐโQ
|
6 B | |
| 004476 | unicode/part1/U+1D5B1 NormalizationTest.txt |
๐ฑโR
|
6 B | |
| 004477 | unicode/part1/U+1D5B2 NormalizationTest.txt |
๐ฒโS
|
6 B | |
| 004478 | unicode/part1/U+1D5B3 NormalizationTest.txt |
๐ณโT
|
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