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
1,936 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 006404 | unicode/part2/line 17632 NormalizationTest.txt |
à֮ܵ̕b␊à֮ܵ̕b␊à֮ܵ̕b
|
31 B | |
| 006405 | unicode/part2/line 17633 NormalizationTest.txt |
a֮ܵ̀̕b␊a֮ܵ̀̕b
|
21 B | |
| 006406 | unicode/part2/line 17634 NormalizationTest.txt |
à֮ܶ̕b␊à֮ܶ̕b␊à֮ܶ̕b
|
31 B | |
| 006407 | unicode/part2/line 17635 NormalizationTest.txt |
a֮ܶ̀̕b␊a֮ܶ̀̕b
|
21 B | |
| 006408 | unicode/part2/line 17636 NormalizationTest.txt |
a᷺̖ܷ֚b␊a᷺̖ܷ֚b
|
23 B | |
| 006409 | unicode/part2/line 17637 NormalizationTest.txt |
a᷺ܷ̖֚b␊a᷺ܷ̖֚b
|
23 B | |
| 006410 | unicode/part2/line 17638 NormalizationTest.txt |
a᷺̖ܸ֚b␊a᷺̖ܸ֚b
|
23 B | |
| 006411 | unicode/part2/line 17639 NormalizationTest.txt |
a᷺ܸ̖֚b␊a᷺ܸ̖֚b
|
23 B | |
| 006412 | unicode/part2/line 17640 NormalizationTest.txt |
a᷺̖ܹ֚b␊a᷺̖ܹ֚b
|
23 B | |
| 006413 | unicode/part2/line 17641 NormalizationTest.txt |
a᷺ܹ̖֚b␊a᷺ܹ̖֚b
|
23 B | |
| 006414 | unicode/part2/line 17642 NormalizationTest.txt |
à֮ܺ̕b␊à֮ܺ̕b␊à֮ܺ̕b
|
31 B | |
| 006415 | unicode/part2/line 17643 NormalizationTest.txt |
a֮ܺ̀̕b␊a֮ܺ̀̕b
|
21 B | |
| 006416 | unicode/part2/line 17644 NormalizationTest.txt |
a᷺̖ܻ֚b␊a᷺̖ܻ֚b
|
23 B | |
| 006417 | unicode/part2/line 17645 NormalizationTest.txt |
a᷺ܻ̖֚b␊a᷺ܻ̖֚b
|
23 B | |
| 006418 | unicode/part2/line 17646 NormalizationTest.txt |
a᷺̖ܼ֚b␊a᷺̖ܼ֚b
|
23 B | |
| 006419 | unicode/part2/line 17647 NormalizationTest.txt |
a᷺ܼ̖֚b␊a᷺ܼ̖֚b
|
23 B | |
| 006420 | unicode/part2/line 17648 NormalizationTest.txt |
à֮ܽ̕b␊à֮ܽ̕b␊à֮ܽ̕b
|
31 B | |
| 006421 | unicode/part2/line 17649 NormalizationTest.txt |
a֮ܽ̀̕b␊a֮ܽ̀̕b
|
21 B | |
| 006422 | unicode/part2/line 17650 NormalizationTest.txt |
a᷺̖ܾ֚b␊a᷺̖ܾ֚b
|
23 B | |
| 006423 | unicode/part2/line 17651 NormalizationTest.txt |
a᷺ܾ̖֚b␊a᷺ܾ̖֚b
|
23 B | |
| 006424 | unicode/part2/line 17652 NormalizationTest.txt |
à֮ܿ̕b␊à֮ܿ̕b␊à֮ܿ̕b
|
31 B | |
| 006425 | unicode/part2/line 17653 NormalizationTest.txt |
a֮ܿ̀̕b␊a֮ܿ̀̕b
|
21 B | |
| 006426 | unicode/part2/line 17654 NormalizationTest.txt |
à֮݀̕b␊à֮݀̕b␊à֮݀̕b
|
31 B | |
| 006427 | unicode/part2/line 17655 NormalizationTest.txt |
a֮݀̀̕b␊a֮݀̀̕b
|
21 B | |
| 006428 | unicode/part2/line 17656 NormalizationTest.txt |
à֮݁̕b␊à֮݁̕b␊à֮݁̕b
|
31 B | |
| 006429 | unicode/part2/line 17657 NormalizationTest.txt |
a֮݁̀̕b␊a֮݁̀̕b
|
21 B | |
| 006430 | unicode/part2/line 17658 NormalizationTest.txt |
a᷺̖݂֚b␊a᷺̖݂֚b
|
23 B | |
| 006431 | unicode/part2/line 17659 NormalizationTest.txt |
a᷺݂̖֚b␊a᷺݂̖֚b
|
23 B | |
| 006432 | unicode/part2/line 17660 NormalizationTest.txt |
à֮݃̕b␊à֮݃̕b␊à֮݃̕b
|
31 B | |
| 006433 | unicode/part2/line 17661 NormalizationTest.txt |
a֮݃̀̕b␊a֮݃̀̕b
|
21 B | |
| 006434 | unicode/part2/line 17662 NormalizationTest.txt |
a᷺̖݄֚b␊a᷺̖݄֚b
|
23 B | |
| 006435 | unicode/part2/line 17663 NormalizationTest.txt |
a᷺݄̖֚b␊a᷺݄̖֚b
|
23 B | |
| 006436 | unicode/part2/line 17664 NormalizationTest.txt |
à֮݅̕b␊à֮݅̕b␊à֮݅̕b
|
31 B | |
| 006437 | unicode/part2/line 17665 NormalizationTest.txt |
a֮݅̀̕b␊a֮݅̀̕b
|
21 B | |
| 006438 | unicode/part2/line 17666 NormalizationTest.txt |
a᷺̖݆֚b␊a᷺̖݆֚b
|
23 B | |
| 006439 | unicode/part2/line 17667 NormalizationTest.txt |
a᷺݆̖֚b␊a᷺݆̖֚b
|
23 B | |
| 006440 | unicode/part2/line 17668 NormalizationTest.txt |
à֮݇̕b␊à֮݇̕b␊à֮݇̕b
|
31 B | |
| 006441 | unicode/part2/line 17669 NormalizationTest.txt |
a֮݇̀̕b␊a֮݇̀̕b
|
21 B | |
| 006442 | unicode/part2/line 17670 NormalizationTest.txt |
a᷺̖݈֚b␊a᷺̖݈֚b
|
23 B | |
| 006443 | unicode/part2/line 17671 NormalizationTest.txt |
a᷺݈̖֚b␊a᷺݈̖֚b
|
23 B | |
| 006444 | unicode/part2/line 17672 NormalizationTest.txt |
à֮݉̕b␊à֮݉̕b␊à֮݉̕b
|
31 B | |
| 006445 | unicode/part2/line 17673 NormalizationTest.txt |
a֮݉̀̕b␊a֮݉̀̕b
|
21 B | |
| 006446 | unicode/part2/line 17674 NormalizationTest.txt |
à֮݊̕b␊à֮݊̕b␊à֮݊̕b
|
31 B | |
| 006447 | unicode/part2/line 17675 NormalizationTest.txt |
a֮݊̀̕b␊a֮݊̀̕b
|
21 B | |
| 006448 | unicode/part2/line 17676 NormalizationTest.txt |
à֮߫̕b␊à֮߫̕b␊à֮߫̕b
|
31 B | |
| 006449 | unicode/part2/line 17677 NormalizationTest.txt |
a֮߫̀̕b␊a֮߫̀̕b
|
21 B | |
| 006450 | unicode/part2/line 17678 NormalizationTest.txt |
à֮߬̕b␊à֮߬̕b␊à֮߬̕b
|
31 B | |
| 006451 | unicode/part2/line 17679 NormalizationTest.txt |
a֮߬̀̕b␊a֮߬̀̕b
|
21 B | |
| 006452 | unicode/part2/line 17680 NormalizationTest.txt |
à֮߭̕b␊à֮߭̕b␊à֮߭̕b
|
31 B | |
| 006453 | unicode/part2/line 17681 NormalizationTest.txt |
a֮߭̀̕b␊a֮߭̀̕b
|
21 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