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 |
|---|---|---|---|---|
| 004500 | unicode/part1/U+1D5C9 NormalizationTest.txt |
๐โp
|
6 B | |
| 004501 | unicode/part1/U+1D5CA NormalizationTest.txt |
๐โq
|
6 B | |
| 004502 | unicode/part1/U+1D5CB NormalizationTest.txt |
๐โr
|
6 B | |
| 004503 | unicode/part1/U+1D5CC NormalizationTest.txt |
๐โs
|
6 B | |
| 004504 | unicode/part1/U+1D5CD NormalizationTest.txt |
๐โt
|
6 B | |
| 004505 | unicode/part1/U+1D5CE NormalizationTest.txt |
๐โu
|
6 B | |
| 004506 | unicode/part1/U+1D5CF NormalizationTest.txt |
๐โv
|
6 B | |
| 004507 | unicode/part1/U+1D5D0 NormalizationTest.txt |
๐โw
|
6 B | |
| 004508 | unicode/part1/U+1D5D1 NormalizationTest.txt |
๐โx
|
6 B | |
| 004509 | unicode/part1/U+1D5D2 NormalizationTest.txt |
๐โy
|
6 B | |
| 004510 | unicode/part1/U+1D5D3 NormalizationTest.txt |
๐โz
|
6 B | |
| 004511 | unicode/part1/U+1D5D4 NormalizationTest.txt |
๐โA
|
6 B | |
| 004512 | unicode/part1/U+1D5D5 NormalizationTest.txt |
๐โB
|
6 B | |
| 004513 | unicode/part1/U+1D5D6 NormalizationTest.txt |
๐โC
|
6 B | |
| 004514 | unicode/part1/U+1D5D7 NormalizationTest.txt |
๐โD
|
6 B | |
| 004515 | unicode/part1/U+1D5D8 NormalizationTest.txt |
๐โE
|
6 B | |
| 004516 | unicode/part1/U+1D5D9 NormalizationTest.txt |
๐โF
|
6 B | |
| 004517 | unicode/part1/U+1D5DA NormalizationTest.txt |
๐โG
|
6 B | |
| 004518 | unicode/part1/U+1D5DB NormalizationTest.txt |
๐โH
|
6 B | |
| 004519 | unicode/part1/U+1D5DC NormalizationTest.txt |
๐โI
|
6 B | |
| 004520 | unicode/part1/U+1D5DD NormalizationTest.txt |
๐โJ
|
6 B | |
| 004521 | unicode/part1/U+1D5DE NormalizationTest.txt |
๐โK
|
6 B | |
| 004522 | unicode/part1/U+1D5DF NormalizationTest.txt |
๐โL
|
6 B | |
| 004523 | unicode/part1/U+1D5E0 NormalizationTest.txt |
๐ โM
|
6 B | |
| 004524 | unicode/part1/U+1D5E1 NormalizationTest.txt |
๐กโN
|
6 B | |
| 004525 | unicode/part1/U+1D5E2 NormalizationTest.txt |
๐ขโO
|
6 B | |
| 004526 | unicode/part1/U+1D5E3 NormalizationTest.txt |
๐ฃโP
|
6 B | |
| 004527 | unicode/part1/U+1D5E4 NormalizationTest.txt |
๐คโQ
|
6 B | |
| 004528 | unicode/part1/U+1D5E5 NormalizationTest.txt |
๐ฅโR
|
6 B | |
| 004529 | unicode/part1/U+1D5E6 NormalizationTest.txt |
๐ฆโS
|
6 B | |
| 004530 | unicode/part1/U+1D5E7 NormalizationTest.txt |
๐งโT
|
6 B | |
| 004531 | unicode/part1/U+1D5E8 NormalizationTest.txt |
๐จโU
|
6 B | |
| 004532 | unicode/part1/U+1D5E9 NormalizationTest.txt |
๐ฉโV
|
6 B | |
| 004533 | unicode/part1/U+1D5EA NormalizationTest.txt |
๐ชโW
|
6 B | |
| 004534 | unicode/part1/U+1D5EB NormalizationTest.txt |
๐ซโX
|
6 B | |
| 004535 | unicode/part1/U+1D5EC NormalizationTest.txt |
๐ฌโY
|
6 B | |
| 004536 | unicode/part1/U+1D5ED NormalizationTest.txt |
๐ญโZ
|
6 B | |
| 004537 | unicode/part1/U+1D5EE NormalizationTest.txt |
๐ฎโa
|
6 B | |
| 004538 | unicode/part1/U+1D5EF NormalizationTest.txt |
๐ฏโb
|
6 B | |
| 004539 | unicode/part1/U+1D5F0 NormalizationTest.txt |
๐ฐโc
|
6 B | |
| 004540 | unicode/part1/U+1D5F1 NormalizationTest.txt |
๐ฑโd
|
6 B | |
| 004541 | unicode/part1/U+1D5F2 NormalizationTest.txt |
๐ฒโe
|
6 B | |
| 004542 | unicode/part1/U+1D5F3 NormalizationTest.txt |
๐ณโf
|
6 B | |
| 004543 | unicode/part1/U+1D5F4 NormalizationTest.txt |
๐ดโg
|
6 B | |
| 004544 | unicode/part1/U+1D5F5 NormalizationTest.txt |
๐ตโh
|
6 B | |
| 004545 | unicode/part1/U+1D5F6 NormalizationTest.txt |
๐ถโi
|
6 B | |
| 004546 | unicode/part1/U+1D5F7 NormalizationTest.txt |
๐ทโj
|
6 B | |
| 004547 | unicode/part1/U+1D5F8 NormalizationTest.txt |
๐ธโk
|
6 B | |
| 004548 | unicode/part1/U+1D5F9 NormalizationTest.txt |
๐นโl
|
6 B | |
| 004549 | unicode/part1/U+1D5FA NormalizationTest.txt |
๐บโm
|
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