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 |
|---|---|---|---|---|
| 004329 | unicode/part1/U+1D516 NormalizationTest.txt |
๐โS
|
6 B | |
| 004330 | unicode/part1/U+1D517 NormalizationTest.txt |
๐โT
|
6 B | |
| 004331 | unicode/part1/U+1D518 NormalizationTest.txt |
๐โU
|
6 B | |
| 004332 | unicode/part1/U+1D519 NormalizationTest.txt |
๐โV
|
6 B | |
| 004333 | unicode/part1/U+1D51A NormalizationTest.txt |
๐โW
|
6 B | |
| 004334 | unicode/part1/U+1D51B NormalizationTest.txt |
๐โX
|
6 B | |
| 004335 | unicode/part1/U+1D51C NormalizationTest.txt |
๐โY
|
6 B | |
| 004336 | unicode/part1/U+1D51E NormalizationTest.txt |
๐โa
|
6 B | |
| 004337 | unicode/part1/U+1D51F NormalizationTest.txt |
๐โb
|
6 B | |
| 004338 | unicode/part1/U+1D520 NormalizationTest.txt |
๐ โc
|
6 B | |
| 004339 | unicode/part1/U+1D521 NormalizationTest.txt |
๐กโd
|
6 B | |
| 004340 | unicode/part1/U+1D522 NormalizationTest.txt |
๐ขโe
|
6 B | |
| 004341 | unicode/part1/U+1D523 NormalizationTest.txt |
๐ฃโf
|
6 B | |
| 004342 | unicode/part1/U+1D524 NormalizationTest.txt |
๐คโg
|
6 B | |
| 004343 | unicode/part1/U+1D525 NormalizationTest.txt |
๐ฅโh
|
6 B | |
| 004344 | unicode/part1/U+1D526 NormalizationTest.txt |
๐ฆโi
|
6 B | |
| 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 |
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