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
727 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 008284 | unicode/part4/line 19519 NormalizationTest.txt |
ử␊ử␊ử
|
14 B | |
| 008285 | unicode/part4/line 19520 NormalizationTest.txt |
ử␊ử␊ử
|
15 B | |
| 008286 | unicode/part4/line 19521 NormalizationTest.txt |
Ữ␊Ữ␊Ữ
|
14 B | |
| 008287 | unicode/part4/line 19522 NormalizationTest.txt |
Ữ␊Ữ␊Ữ
|
14 B | |
| 008288 | unicode/part4/line 19523 NormalizationTest.txt |
ữ␊ữ␊ữ
|
14 B | |
| 008289 | unicode/part4/line 19524 NormalizationTest.txt |
ữ␊ữ␊ữ
|
14 B | |
| 008290 | unicode/part4/line 19525 NormalizationTest.txt |
Ự␊Ự␊Ự
|
14 B | |
| 008291 | unicode/part4/line 19526 NormalizationTest.txt |
Ự␊Ự␊Ự
|
15 B | |
| 008292 | unicode/part4/line 19527 NormalizationTest.txt |
ự␊ự␊ự
|
14 B | |
| 008293 | unicode/part4/line 19528 NormalizationTest.txt |
ự␊ự␊ự
|
15 B | |
| 008294 | unicode/part4/line 19529 NormalizationTest.txt |
ἂ␊ἂ␊ἂ
|
16 B | |
| 008295 | unicode/part4/line 19530 NormalizationTest.txt |
ἂ␊ἂ␊ἂ
|
16 B | |
| 008296 | unicode/part4/line 19531 NormalizationTest.txt |
ἃ␊ἃ␊ἃ
|
16 B | |
| 008297 | unicode/part4/line 19532 NormalizationTest.txt |
ἃ␊ἃ␊ἃ
|
16 B | |
| 008298 | unicode/part4/line 19533 NormalizationTest.txt |
ἄ␊ἄ␊ἄ
|
16 B | |
| 008299 | unicode/part4/line 19534 NormalizationTest.txt |
ἄ␊ἄ␊ἄ
|
16 B | |
| 008300 | unicode/part4/line 19535 NormalizationTest.txt |
ἅ␊ἅ␊ἅ
|
16 B | |
| 008301 | unicode/part4/line 19536 NormalizationTest.txt |
ἅ␊ἅ␊ἅ
|
16 B | |
| 008302 | unicode/part4/line 19537 NormalizationTest.txt |
ἆ␊ἆ␊ἆ
|
16 B | |
| 008303 | unicode/part4/line 19538 NormalizationTest.txt |
ἇ␊ἇ␊ἇ
|
16 B | |
| 008304 | unicode/part4/line 19539 NormalizationTest.txt |
Ἂ␊Ἂ␊Ἂ
|
16 B | |
| 008305 | unicode/part4/line 19540 NormalizationTest.txt |
Ἂ␊Ἂ␊Ἂ
|
16 B | |
| 008306 | unicode/part4/line 19541 NormalizationTest.txt |
Ἃ␊Ἃ␊Ἃ
|
16 B | |
| 008307 | unicode/part4/line 19542 NormalizationTest.txt |
Ἃ␊Ἃ␊Ἃ
|
16 B | |
| 008308 | unicode/part4/line 19543 NormalizationTest.txt |
Ἄ␊Ἄ␊Ἄ
|
16 B | |
| 008309 | unicode/part4/line 19544 NormalizationTest.txt |
Ἄ␊Ἄ␊Ἄ
|
16 B | |
| 008310 | unicode/part4/line 19545 NormalizationTest.txt |
Ἅ␊Ἅ␊Ἅ
|
16 B | |
| 008311 | unicode/part4/line 19546 NormalizationTest.txt |
Ἅ␊Ἅ␊Ἅ
|
16 B | |
| 008312 | unicode/part4/line 19547 NormalizationTest.txt |
Ἆ␊Ἆ␊Ἆ
|
16 B | |
| 008313 | unicode/part4/line 19548 NormalizationTest.txt |
Ἇ␊Ἇ␊Ἇ
|
16 B | |
| 008314 | unicode/part4/line 19549 NormalizationTest.txt |
ἒ␊ἒ␊ἒ
|
16 B | |
| 008315 | unicode/part4/line 19550 NormalizationTest.txt |
ἒ␊ἒ␊ἒ
|
16 B | |
| 008316 | unicode/part4/line 19551 NormalizationTest.txt |
ἓ␊ἓ␊ἓ
|
16 B | |
| 008317 | unicode/part4/line 19552 NormalizationTest.txt |
ἓ␊ἓ␊ἓ
|
16 B | |
| 008318 | unicode/part4/line 19553 NormalizationTest.txt |
ἔ␊ἔ␊ἔ
|
16 B | |
| 008319 | unicode/part4/line 19554 NormalizationTest.txt |
ἔ␊ἔ␊ἔ
|
16 B | |
| 008320 | unicode/part4/line 19555 NormalizationTest.txt |
ἕ␊ἕ␊ἕ
|
16 B | |
| 008321 | unicode/part4/line 19556 NormalizationTest.txt |
ἕ␊ἕ␊ἕ
|
16 B | |
| 008322 | unicode/part4/line 19557 NormalizationTest.txt |
Ἒ␊Ἒ␊Ἒ
|
16 B | |
| 008323 | unicode/part4/line 19558 NormalizationTest.txt |
Ἒ␊Ἒ␊Ἒ
|
16 B | |
| 008324 | unicode/part4/line 19559 NormalizationTest.txt |
Ἓ␊Ἓ␊Ἓ
|
16 B | |
| 008325 | unicode/part4/line 19560 NormalizationTest.txt |
Ἓ␊Ἓ␊Ἓ
|
16 B | |
| 008326 | unicode/part4/line 19561 NormalizationTest.txt |
Ἔ␊Ἔ␊Ἔ
|
16 B | |
| 008327 | unicode/part4/line 19562 NormalizationTest.txt |
Ἔ␊Ἔ␊Ἔ
|
16 B | |
| 008328 | unicode/part4/line 19563 NormalizationTest.txt |
Ἕ␊Ἕ␊Ἕ
|
16 B | |
| 008329 | unicode/part4/line 19564 NormalizationTest.txt |
Ἕ␊Ἕ␊Ἕ
|
16 B | |
| 008330 | unicode/part4/line 19565 NormalizationTest.txt |
ἢ␊ἢ␊ἢ
|
16 B | |
| 008331 | unicode/part4/line 19566 NormalizationTest.txt |
ἢ␊ἢ␊ἢ
|
16 B | |
| 008332 | unicode/part4/line 19567 NormalizationTest.txt |
ἣ␊ἣ␊ἣ
|
16 B | |
| 008333 | unicode/part4/line 19568 NormalizationTest.txt |
ἣ␊ἣ␊ἣ
|
16 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