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 |
|---|---|---|---|---|
| 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 | |
| 004550 | unicode/part1/U+1D5FB NormalizationTest.txt |
π»βn
|
6 B | |
| 004551 | unicode/part1/U+1D5FC NormalizationTest.txt |
πΌβo
|
6 B | |
| 004552 | unicode/part1/U+1D5FD NormalizationTest.txt |
π½βp
|
6 B | |
| 004553 | unicode/part1/U+1D5FE NormalizationTest.txt |
πΎβq
|
6 B | |
| 004554 | unicode/part1/U+1D5FF NormalizationTest.txt |
πΏβr
|
6 B | |
| 004555 | unicode/part1/U+1D600 NormalizationTest.txt |
πβs
|
6 B | |
| 004556 | unicode/part1/U+1D601 NormalizationTest.txt |
πβt
|
6 B | |
| 004557 | unicode/part1/U+1D602 NormalizationTest.txt |
πβu
|
6 B | |
| 004558 | unicode/part1/U+1D603 NormalizationTest.txt |
πβv
|
6 B | |
| 004559 | unicode/part1/U+1D604 NormalizationTest.txt |
πβw
|
6 B | |
| 004560 | unicode/part1/U+1D605 NormalizationTest.txt |
π
βx
|
6 B | |
| 004561 | unicode/part1/U+1D606 NormalizationTest.txt |
πβy
|
6 B | |
| 004562 | unicode/part1/U+1D607 NormalizationTest.txt |
πβz
|
6 B | |
| 004563 | unicode/part1/U+1D608 NormalizationTest.txt |
πβA
|
6 B | |
| 004564 | unicode/part1/U+1D609 NormalizationTest.txt |
πβB
|
6 B | |
| 004565 | unicode/part1/U+1D60A NormalizationTest.txt |
πβC
|
6 B | |
| 004566 | unicode/part1/U+1D60B NormalizationTest.txt |
πβD
|
6 B | |
| 004567 | unicode/part1/U+1D60C NormalizationTest.txt |
πβE
|
6 B | |
| 004568 | unicode/part1/U+1D60D NormalizationTest.txt |
πβF
|
6 B | |
| 004569 | unicode/part1/U+1D60E NormalizationTest.txt |
πβG
|
6 B | |
| 004570 | unicode/part1/U+1D60F NormalizationTest.txt |
πβH
|
6 B | |
| 004571 | unicode/part1/U+1D610 NormalizationTest.txt |
πβI
|
6 B | |
| 004572 | unicode/part1/U+1D611 NormalizationTest.txt |
πβJ
|
6 B | |
| 004573 | unicode/part1/U+1D612 NormalizationTest.txt |
πβK
|
6 B | |
| 004574 | unicode/part1/U+1D613 NormalizationTest.txt |
πβL
|
6 B | |
| 004575 | unicode/part1/U+1D614 NormalizationTest.txt |
πβM
|
6 B | |
| 004576 | unicode/part1/U+1D615 NormalizationTest.txt |
πβN
|
6 B | |
| 004577 | unicode/part1/U+1D616 NormalizationTest.txt |
πβO
|
6 B | |
| 004578 | unicode/part1/U+1D617 NormalizationTest.txt |
πβP
|
6 B | |
| 004579 | unicode/part1/U+1D618 NormalizationTest.txt |
πβQ
|
6 B | |
| 004580 | unicode/part1/U+1D619 NormalizationTest.txt |
πβR
|
6 B | |
| 004581 | unicode/part1/U+1D61A NormalizationTest.txt |
πβS
|
6 B | |
| 004582 | unicode/part1/U+1D61B NormalizationTest.txt |
πβT
|
6 B | |
| 004583 | unicode/part1/U+1D61C NormalizationTest.txt |
πβU
|
6 B | |
| 004584 | unicode/part1/U+1D61D NormalizationTest.txt |
πβV
|
6 B | |
| 004585 | unicode/part1/U+1D61E NormalizationTest.txt |
πβW
|
6 B | |
| 004586 | unicode/part1/U+1D61F NormalizationTest.txt |
πβX
|
6 B | |
| 004587 | unicode/part1/U+1D620 NormalizationTest.txt |
π βY
|
6 B | |
| 004588 | unicode/part1/U+1D621 NormalizationTest.txt |
π‘βZ
|
6 B | |
| 004589 | unicode/part1/U+1D622 NormalizationTest.txt |
π’βa
|
6 B | |
| 004590 | unicode/part1/U+1D623 NormalizationTest.txt |
π£βb
|
6 B | |
| 004591 | unicode/part1/U+1D624 NormalizationTest.txt |
π€βc
|
6 B | |
| 004592 | unicode/part1/U+1D625 NormalizationTest.txt |
π₯βd
|
6 B | |
| 004593 | unicode/part1/U+1D626 NormalizationTest.txt |
π¦βe
|
6 B | |
| 004594 | unicode/part1/U+1D627 NormalizationTest.txt |
π§βf
|
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