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 |
|---|---|---|---|---|
| 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 | |
| 004800 | unicode/part1/U+1D6F7 NormalizationTest.txt |
๐ทโฮฆ
|
7 B | |
| 004801 | unicode/part1/U+1D6F8 NormalizationTest.txt |
๐ธโฮง
|
7 B | |
| 004802 | unicode/part1/U+1D6F9 NormalizationTest.txt |
๐นโฮจ
|
7 B | |
| 004803 | unicode/part1/U+1D6FA NormalizationTest.txt |
๐บโฮฉ
|
7 B | |
| 004804 | unicode/part1/U+1D6FB NormalizationTest.txt |
๐ปโโ
|
8 B | |
| 004805 | unicode/part1/U+1D6FC NormalizationTest.txt |
๐ผโฮฑ
|
7 B | |
| 004806 | unicode/part1/U+1D6FD NormalizationTest.txt |
๐ฝโฮฒ
|
7 B | |
| 004807 | unicode/part1/U+1D6FE NormalizationTest.txt |
๐พโฮณ
|
7 B | |
| 004808 | unicode/part1/U+1D6FF NormalizationTest.txt |
๐ฟโฮด
|
7 B | |
| 004809 | unicode/part1/U+1D700 NormalizationTest.txt |
๐โฮต
|
7 B | |
| 004810 | unicode/part1/U+1D701 NormalizationTest.txt |
๐โฮถ
|
7 B | |
| 004811 | unicode/part1/U+1D702 NormalizationTest.txt |
๐โฮท
|
7 B | |
| 004812 | unicode/part1/U+1D703 NormalizationTest.txt |
๐โฮธ
|
7 B | |
| 004813 | unicode/part1/U+1D704 NormalizationTest.txt |
๐โฮน
|
7 B | |
| 004814 | unicode/part1/U+1D705 NormalizationTest.txt |
๐
โฮบ
|
7 B | |
| 004815 | unicode/part1/U+1D706 NormalizationTest.txt |
๐โฮป
|
7 B | |
| 004816 | unicode/part1/U+1D707 NormalizationTest.txt |
๐โฮผ
|
7 B | |
| 004817 | unicode/part1/U+1D708 NormalizationTest.txt |
๐โฮฝ
|
7 B | |
| 004818 | unicode/part1/U+1D709 NormalizationTest.txt |
๐โฮพ
|
7 B | |
| 004819 | unicode/part1/U+1D70A NormalizationTest.txt |
๐โฮฟ
|
7 B | |
| 004820 | unicode/part1/U+1D70B NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004821 | unicode/part1/U+1D70C NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004822 | unicode/part1/U+1D70D NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004823 | unicode/part1/U+1D70E NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004824 | unicode/part1/U+1D70F NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004825 | unicode/part1/U+1D710 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004826 | unicode/part1/U+1D711 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004827 | unicode/part1/U+1D712 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004828 | unicode/part1/U+1D713 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