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 |
|---|---|---|---|---|
| 004900 | unicode/part1/U+1D75B NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004901 | unicode/part1/U+1D75C NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004902 | unicode/part1/U+1D75D NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004903 | unicode/part1/U+1D75E NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004904 | unicode/part1/U+1D75F NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004905 | unicode/part1/U+1D760 NormalizationTest.txt |
๐ โฮ
|
7 B | |
| 004906 | unicode/part1/U+1D761 NormalizationTest.txt |
๐กโฮ
|
7 B | |
| 004907 | unicode/part1/U+1D762 NormalizationTest.txt |
๐ขโฮ
|
7 B | |
| 004908 | unicode/part1/U+1D763 NormalizationTest.txt |
๐ฃโฮ
|
7 B | |
| 004909 | unicode/part1/U+1D764 NormalizationTest.txt |
๐คโฮ
|
7 B | |
| 004910 | unicode/part1/U+1D765 NormalizationTest.txt |
๐ฅโฮ
|
7 B | |
| 004911 | unicode/part1/U+1D766 NormalizationTest.txt |
๐ฆโฮก
|
7 B | |
| 004912 | unicode/part1/U+1D767 NormalizationTest.txt |
๐งโฮ
|
7 B | |
| 004913 | unicode/part1/U+1D768 NormalizationTest.txt |
๐จโฮฃ
|
7 B | |
| 004914 | unicode/part1/U+1D769 NormalizationTest.txt |
๐ฉโฮค
|
7 B | |
| 004915 | unicode/part1/U+1D76A NormalizationTest.txt |
๐ชโฮฅ
|
7 B | |
| 004916 | unicode/part1/U+1D76B NormalizationTest.txt |
๐ซโฮฆ
|
7 B | |
| 004917 | unicode/part1/U+1D76C NormalizationTest.txt |
๐ฌโฮง
|
7 B | |
| 004918 | unicode/part1/U+1D76D NormalizationTest.txt |
๐ญโฮจ
|
7 B | |
| 004919 | unicode/part1/U+1D76E NormalizationTest.txt |
๐ฎโฮฉ
|
7 B | |
| 004920 | unicode/part1/U+1D76F NormalizationTest.txt |
๐ฏโโ
|
8 B | |
| 004921 | unicode/part1/U+1D770 NormalizationTest.txt |
๐ฐโฮฑ
|
7 B | |
| 004922 | unicode/part1/U+1D771 NormalizationTest.txt |
๐ฑโฮฒ
|
7 B | |
| 004923 | unicode/part1/U+1D772 NormalizationTest.txt |
๐ฒโฮณ
|
7 B | |
| 004924 | unicode/part1/U+1D773 NormalizationTest.txt |
๐ณโฮด
|
7 B | |
| 004925 | unicode/part1/U+1D774 NormalizationTest.txt |
๐ดโฮต
|
7 B | |
| 004926 | unicode/part1/U+1D775 NormalizationTest.txt |
๐ตโฮถ
|
7 B | |
| 004927 | unicode/part1/U+1D776 NormalizationTest.txt |
๐ถโฮท
|
7 B | |
| 004928 | unicode/part1/U+1D777 NormalizationTest.txt |
๐ทโฮธ
|
7 B | |
| 004929 | unicode/part1/U+1D778 NormalizationTest.txt |
๐ธโฮน
|
7 B | |
| 004930 | unicode/part1/U+1D779 NormalizationTest.txt |
๐นโฮบ
|
7 B | |
| 004931 | unicode/part1/U+1D77A NormalizationTest.txt |
๐บโฮป
|
7 B | |
| 004932 | unicode/part1/U+1D77B NormalizationTest.txt |
๐ปโฮผ
|
7 B | |
| 004933 | unicode/part1/U+1D77C NormalizationTest.txt |
๐ผโฮฝ
|
7 B | |
| 004934 | unicode/part1/U+1D77D NormalizationTest.txt |
๐ฝโฮพ
|
7 B | |
| 004935 | unicode/part1/U+1D77E NormalizationTest.txt |
๐พโฮฟ
|
7 B | |
| 004936 | unicode/part1/U+1D77F NormalizationTest.txt |
๐ฟโฯ
|
7 B | |
| 004937 | unicode/part1/U+1D780 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004938 | unicode/part1/U+1D781 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004939 | unicode/part1/U+1D782 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004940 | unicode/part1/U+1D783 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004941 | unicode/part1/U+1D784 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004942 | unicode/part1/U+1D785 NormalizationTest.txt |
๐
โฯ
|
7 B | |
| 004943 | unicode/part1/U+1D786 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004944 | unicode/part1/U+1D787 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004945 | unicode/part1/U+1D788 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004946 | unicode/part1/U+1D789 NormalizationTest.txt |
๐โโ
|
8 B | |
| 004947 | unicode/part1/U+1D78A NormalizationTest.txt |
๐โฮต
|
7 B | |
| 004948 | unicode/part1/U+1D78B NormalizationTest.txt |
๐โฮธ
|
7 B | |
| 004949 | unicode/part1/U+1D78C 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