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 |
|---|---|---|---|---|
| 004379 | unicode/part1/U+1D54F NormalizationTest.txt |
๐โX
|
6 B | |
| 004380 | unicode/part1/U+1D550 NormalizationTest.txt |
๐โY
|
6 B | |
| 004381 | unicode/part1/U+1D552 NormalizationTest.txt |
๐โa
|
6 B | |
| 004382 | unicode/part1/U+1D553 NormalizationTest.txt |
๐โb
|
6 B | |
| 004383 | unicode/part1/U+1D554 NormalizationTest.txt |
๐โc
|
6 B | |
| 004384 | unicode/part1/U+1D555 NormalizationTest.txt |
๐โd
|
6 B | |
| 004385 | unicode/part1/U+1D556 NormalizationTest.txt |
๐โe
|
6 B | |
| 004386 | unicode/part1/U+1D557 NormalizationTest.txt |
๐โf
|
6 B | |
| 004387 | unicode/part1/U+1D558 NormalizationTest.txt |
๐โg
|
6 B | |
| 004388 | unicode/part1/U+1D559 NormalizationTest.txt |
๐โh
|
6 B | |
| 004389 | unicode/part1/U+1D55A NormalizationTest.txt |
๐โi
|
6 B | |
| 004390 | unicode/part1/U+1D55B NormalizationTest.txt |
๐โj
|
6 B | |
| 004391 | unicode/part1/U+1D55C NormalizationTest.txt |
๐โk
|
6 B | |
| 004392 | unicode/part1/U+1D55D NormalizationTest.txt |
๐โl
|
6 B | |
| 004393 | unicode/part1/U+1D55E NormalizationTest.txt |
๐โm
|
6 B | |
| 004394 | unicode/part1/U+1D55F NormalizationTest.txt |
๐โn
|
6 B | |
| 004395 | unicode/part1/U+1D560 NormalizationTest.txt |
๐ โo
|
6 B | |
| 004396 | unicode/part1/U+1D561 NormalizationTest.txt |
๐กโp
|
6 B | |
| 004397 | unicode/part1/U+1D562 NormalizationTest.txt |
๐ขโq
|
6 B | |
| 004398 | unicode/part1/U+1D563 NormalizationTest.txt |
๐ฃโr
|
6 B | |
| 004399 | unicode/part1/U+1D564 NormalizationTest.txt |
๐คโs
|
6 B | |
| 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 |
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