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
5,928 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 004345 | unicode/part1/U+1D527 NormalizationTest.txt |
๐งโj
|
6 B | |
| 004346 | unicode/part1/U+1D528 NormalizationTest.txt |
๐จโk
|
6 B | |
| 004347 | unicode/part1/U+1D529 NormalizationTest.txt |
๐ฉโl
|
6 B | |
| 004348 | unicode/part1/U+1D52A NormalizationTest.txt |
๐ชโm
|
6 B | |
| 004349 | unicode/part1/U+1D52B NormalizationTest.txt |
๐ซโn
|
6 B | |
| 004350 | unicode/part1/U+1D52C NormalizationTest.txt |
๐ฌโo
|
6 B | |
| 004351 | unicode/part1/U+1D52D NormalizationTest.txt |
๐ญโp
|
6 B | |
| 004352 | unicode/part1/U+1D52E NormalizationTest.txt |
๐ฎโq
|
6 B | |
| 004353 | unicode/part1/U+1D52F NormalizationTest.txt |
๐ฏโr
|
6 B | |
| 004354 | unicode/part1/U+1D530 NormalizationTest.txt |
๐ฐโs
|
6 B | |
| 004355 | unicode/part1/U+1D531 NormalizationTest.txt |
๐ฑโt
|
6 B | |
| 004356 | unicode/part1/U+1D532 NormalizationTest.txt |
๐ฒโu
|
6 B | |
| 004357 | unicode/part1/U+1D533 NormalizationTest.txt |
๐ณโv
|
6 B | |
| 004358 | unicode/part1/U+1D534 NormalizationTest.txt |
๐ดโw
|
6 B | |
| 004359 | unicode/part1/U+1D535 NormalizationTest.txt |
๐ตโx
|
6 B | |
| 004360 | unicode/part1/U+1D536 NormalizationTest.txt |
๐ถโy
|
6 B | |
| 004361 | unicode/part1/U+1D537 NormalizationTest.txt |
๐ทโz
|
6 B | |
| 004362 | unicode/part1/U+1D538 NormalizationTest.txt |
๐ธโA
|
6 B | |
| 004363 | unicode/part1/U+1D539 NormalizationTest.txt |
๐นโB
|
6 B | |
| 004364 | unicode/part1/U+1D53B NormalizationTest.txt |
๐ปโD
|
6 B | |
| 004365 | unicode/part1/U+1D53C NormalizationTest.txt |
๐ผโE
|
6 B | |
| 004366 | unicode/part1/U+1D53D NormalizationTest.txt |
๐ฝโF
|
6 B | |
| 004367 | unicode/part1/U+1D53E NormalizationTest.txt |
๐พโG
|
6 B | |
| 004368 | unicode/part1/U+1D540 NormalizationTest.txt |
๐โI
|
6 B | |
| 004369 | unicode/part1/U+1D541 NormalizationTest.txt |
๐โJ
|
6 B | |
| 004370 | unicode/part1/U+1D542 NormalizationTest.txt |
๐โK
|
6 B | |
| 004371 | unicode/part1/U+1D543 NormalizationTest.txt |
๐โL
|
6 B | |
| 004372 | unicode/part1/U+1D544 NormalizationTest.txt |
๐โM
|
6 B | |
| 004373 | unicode/part1/U+1D546 NormalizationTest.txt |
๐โO
|
6 B | |
| 004374 | unicode/part1/U+1D54A NormalizationTest.txt |
๐โS
|
6 B | |
| 004375 | unicode/part1/U+1D54B NormalizationTest.txt |
๐โT
|
6 B | |
| 004376 | unicode/part1/U+1D54C NormalizationTest.txt |
๐โU
|
6 B | |
| 004377 | unicode/part1/U+1D54D NormalizationTest.txt |
๐โV
|
6 B | |
| 004378 | unicode/part1/U+1D54E NormalizationTest.txt |
๐โW
|
6 B | |
| 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 |
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