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 |
|---|---|---|---|---|
| 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 | |
| 004479 | unicode/part1/U+1D5B4 NormalizationTest.txt |
๐ดโU
|
6 B | |
| 004480 | unicode/part1/U+1D5B5 NormalizationTest.txt |
๐ตโV
|
6 B | |
| 004481 | unicode/part1/U+1D5B6 NormalizationTest.txt |
๐ถโW
|
6 B | |
| 004482 | unicode/part1/U+1D5B7 NormalizationTest.txt |
๐ทโX
|
6 B | |
| 004483 | unicode/part1/U+1D5B8 NormalizationTest.txt |
๐ธโY
|
6 B | |
| 004484 | unicode/part1/U+1D5B9 NormalizationTest.txt |
๐นโZ
|
6 B | |
| 004485 | unicode/part1/U+1D5BA NormalizationTest.txt |
๐บโa
|
6 B | |
| 004486 | unicode/part1/U+1D5BB NormalizationTest.txt |
๐ปโb
|
6 B | |
| 004487 | unicode/part1/U+1D5BC NormalizationTest.txt |
๐ผโc
|
6 B | |
| 004488 | unicode/part1/U+1D5BD NormalizationTest.txt |
๐ฝโd
|
6 B | |
| 004489 | unicode/part1/U+1D5BE NormalizationTest.txt |
๐พโe
|
6 B | |
| 004490 | unicode/part1/U+1D5BF NormalizationTest.txt |
๐ฟโf
|
6 B | |
| 004491 | unicode/part1/U+1D5C0 NormalizationTest.txt |
๐โg
|
6 B | |
| 004492 | unicode/part1/U+1D5C1 NormalizationTest.txt |
๐โh
|
6 B | |
| 004493 | unicode/part1/U+1D5C2 NormalizationTest.txt |
๐โi
|
6 B | |
| 004494 | unicode/part1/U+1D5C3 NormalizationTest.txt |
๐โj
|
6 B | |
| 004495 | unicode/part1/U+1D5C4 NormalizationTest.txt |
๐โk
|
6 B | |
| 004496 | unicode/part1/U+1D5C5 NormalizationTest.txt |
๐
โl
|
6 B | |
| 004497 | unicode/part1/U+1D5C6 NormalizationTest.txt |
๐โm
|
6 B | |
| 004498 | unicode/part1/U+1D5C7 NormalizationTest.txt |
๐โn
|
6 B | |
| 004499 | unicode/part1/U+1D5C8 NormalizationTest.txt |
๐โo
|
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