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
All 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 004750 | unicode/part1/U+1D6C5 NormalizationTest.txt |
๐
โฮด
|
7 B | |
| 004751 | unicode/part1/U+1D6C6 NormalizationTest.txt |
๐โฮต
|
7 B | |
| 004752 | unicode/part1/U+1D6C7 NormalizationTest.txt |
๐โฮถ
|
7 B | |
| 004753 | unicode/part1/U+1D6C8 NormalizationTest.txt |
๐โฮท
|
7 B | |
| 004754 | unicode/part1/U+1D6C9 NormalizationTest.txt |
๐โฮธ
|
7 B | |
| 004755 | unicode/part1/U+1D6CA NormalizationTest.txt |
๐โฮน
|
7 B | |
| 004756 | unicode/part1/U+1D6CB NormalizationTest.txt |
๐โฮบ
|
7 B | |
| 004757 | unicode/part1/U+1D6CC NormalizationTest.txt |
๐โฮป
|
7 B | |
| 004758 | unicode/part1/U+1D6CD NormalizationTest.txt |
๐โฮผ
|
7 B | |
| 004759 | unicode/part1/U+1D6CE NormalizationTest.txt |
๐โฮฝ
|
7 B | |
| 004760 | unicode/part1/U+1D6CF NormalizationTest.txt |
๐โฮพ
|
7 B | |
| 004761 | unicode/part1/U+1D6D0 NormalizationTest.txt |
๐โฮฟ
|
7 B | |
| 004762 | unicode/part1/U+1D6D1 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004763 | unicode/part1/U+1D6D2 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004764 | unicode/part1/U+1D6D3 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004765 | unicode/part1/U+1D6D4 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004766 | unicode/part1/U+1D6D5 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004767 | unicode/part1/U+1D6D6 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004768 | unicode/part1/U+1D6D7 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004769 | unicode/part1/U+1D6D8 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004770 | unicode/part1/U+1D6D9 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004771 | unicode/part1/U+1D6DA NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004772 | unicode/part1/U+1D6DB NormalizationTest.txt |
๐โโ
|
8 B | |
| 004773 | unicode/part1/U+1D6DC NormalizationTest.txt |
๐โฮต
|
7 B | |
| 004774 | unicode/part1/U+1D6DD NormalizationTest.txt |
๐โฮธ
|
7 B | |
| 004775 | unicode/part1/U+1D6DE NormalizationTest.txt |
๐โฮบ
|
7 B | |
| 004776 | unicode/part1/U+1D6DF NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004777 | unicode/part1/U+1D6E0 NormalizationTest.txt |
๐ โฯ
|
7 B | |
| 004778 | unicode/part1/U+1D6E1 NormalizationTest.txt |
๐กโฯ
|
7 B | |
| 004779 | unicode/part1/U+1D6E2 NormalizationTest.txt |
๐ขโฮ
|
7 B | |
| 004780 | unicode/part1/U+1D6E3 NormalizationTest.txt |
๐ฃโฮ
|
7 B | |
| 004781 | unicode/part1/U+1D6E4 NormalizationTest.txt |
๐คโฮ
|
7 B | |
| 004782 | unicode/part1/U+1D6E5 NormalizationTest.txt |
๐ฅโฮ
|
7 B | |
| 004783 | unicode/part1/U+1D6E6 NormalizationTest.txt |
๐ฆโฮ
|
7 B | |
| 004784 | unicode/part1/U+1D6E7 NormalizationTest.txt |
๐งโฮ
|
7 B | |
| 004785 | unicode/part1/U+1D6E8 NormalizationTest.txt |
๐จโฮ
|
7 B | |
| 004786 | unicode/part1/U+1D6E9 NormalizationTest.txt |
๐ฉโฮ
|
7 B | |
| 004787 | unicode/part1/U+1D6EA NormalizationTest.txt |
๐ชโฮ
|
7 B | |
| 004788 | unicode/part1/U+1D6EB NormalizationTest.txt |
๐ซโฮ
|
7 B | |
| 004789 | unicode/part1/U+1D6EC NormalizationTest.txt |
๐ฌโฮ
|
7 B | |
| 004790 | unicode/part1/U+1D6ED NormalizationTest.txt |
๐ญโฮ
|
7 B | |
| 004791 | unicode/part1/U+1D6EE NormalizationTest.txt |
๐ฎโฮ
|
7 B | |
| 004792 | unicode/part1/U+1D6EF NormalizationTest.txt |
๐ฏโฮ
|
7 B | |
| 004793 | unicode/part1/U+1D6F0 NormalizationTest.txt |
๐ฐโฮ
|
7 B | |
| 004794 | unicode/part1/U+1D6F1 NormalizationTest.txt |
๐ฑโฮ
|
7 B | |
| 004795 | unicode/part1/U+1D6F2 NormalizationTest.txt |
๐ฒโฮก
|
7 B | |
| 004796 | unicode/part1/U+1D6F3 NormalizationTest.txt |
๐ณโฮ
|
7 B | |
| 004797 | unicode/part1/U+1D6F4 NormalizationTest.txt |
๐ดโฮฃ
|
7 B | |
| 004798 | unicode/part1/U+1D6F5 NormalizationTest.txt |
๐ตโฮค
|
7 B | |
| 004799 | unicode/part1/U+1D6F6 NormalizationTest.txt |
๐ถโฮฅ
|
7 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