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 |
|---|---|---|---|---|
| 004829 | unicode/part1/U+1D714 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004830 | unicode/part1/U+1D715 NormalizationTest.txt |
๐โโ
|
8 B | |
| 004831 | unicode/part1/U+1D716 NormalizationTest.txt |
๐โฮต
|
7 B | |
| 004832 | unicode/part1/U+1D717 NormalizationTest.txt |
๐โฮธ
|
7 B | |
| 004833 | unicode/part1/U+1D718 NormalizationTest.txt |
๐โฮบ
|
7 B | |
| 004834 | unicode/part1/U+1D719 NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004835 | unicode/part1/U+1D71A NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004836 | unicode/part1/U+1D71B NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004837 | unicode/part1/U+1D71C NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004838 | unicode/part1/U+1D71D NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004839 | unicode/part1/U+1D71E NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004840 | unicode/part1/U+1D71F NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004841 | unicode/part1/U+1D720 NormalizationTest.txt |
๐ โฮ
|
7 B | |
| 004842 | unicode/part1/U+1D721 NormalizationTest.txt |
๐กโฮ
|
7 B | |
| 004843 | unicode/part1/U+1D722 NormalizationTest.txt |
๐ขโฮ
|
7 B | |
| 004844 | unicode/part1/U+1D723 NormalizationTest.txt |
๐ฃโฮ
|
7 B | |
| 004845 | unicode/part1/U+1D724 NormalizationTest.txt |
๐คโฮ
|
7 B | |
| 004846 | unicode/part1/U+1D725 NormalizationTest.txt |
๐ฅโฮ
|
7 B | |
| 004847 | unicode/part1/U+1D726 NormalizationTest.txt |
๐ฆโฮ
|
7 B | |
| 004848 | unicode/part1/U+1D727 NormalizationTest.txt |
๐งโฮ
|
7 B | |
| 004849 | unicode/part1/U+1D728 NormalizationTest.txt |
๐จโฮ
|
7 B | |
| 004850 | unicode/part1/U+1D729 NormalizationTest.txt |
๐ฉโฮ
|
7 B | |
| 004851 | unicode/part1/U+1D72A NormalizationTest.txt |
๐ชโฮ
|
7 B | |
| 004852 | unicode/part1/U+1D72B NormalizationTest.txt |
๐ซโฮ
|
7 B | |
| 004853 | unicode/part1/U+1D72C NormalizationTest.txt |
๐ฌโฮก
|
7 B | |
| 004854 | unicode/part1/U+1D72D NormalizationTest.txt |
๐ญโฮ
|
7 B | |
| 004855 | unicode/part1/U+1D72E NormalizationTest.txt |
๐ฎโฮฃ
|
7 B | |
| 004856 | unicode/part1/U+1D72F NormalizationTest.txt |
๐ฏโฮค
|
7 B | |
| 004857 | unicode/part1/U+1D730 NormalizationTest.txt |
๐ฐโฮฅ
|
7 B | |
| 004858 | unicode/part1/U+1D731 NormalizationTest.txt |
๐ฑโฮฆ
|
7 B | |
| 004859 | unicode/part1/U+1D732 NormalizationTest.txt |
๐ฒโฮง
|
7 B | |
| 004860 | unicode/part1/U+1D733 NormalizationTest.txt |
๐ณโฮจ
|
7 B | |
| 004861 | unicode/part1/U+1D734 NormalizationTest.txt |
๐ดโฮฉ
|
7 B | |
| 004862 | unicode/part1/U+1D735 NormalizationTest.txt |
๐ตโโ
|
8 B | |
| 004863 | unicode/part1/U+1D736 NormalizationTest.txt |
๐ถโฮฑ
|
7 B | |
| 004864 | unicode/part1/U+1D737 NormalizationTest.txt |
๐ทโฮฒ
|
7 B | |
| 004865 | unicode/part1/U+1D738 NormalizationTest.txt |
๐ธโฮณ
|
7 B | |
| 004866 | unicode/part1/U+1D739 NormalizationTest.txt |
๐นโฮด
|
7 B | |
| 004867 | unicode/part1/U+1D73A NormalizationTest.txt |
๐บโฮต
|
7 B | |
| 004868 | unicode/part1/U+1D73B NormalizationTest.txt |
๐ปโฮถ
|
7 B | |
| 004869 | unicode/part1/U+1D73C NormalizationTest.txt |
๐ผโฮท
|
7 B | |
| 004870 | unicode/part1/U+1D73D NormalizationTest.txt |
๐ฝโฮธ
|
7 B | |
| 004871 | unicode/part1/U+1D73E NormalizationTest.txt |
๐พโฮน
|
7 B | |
| 004872 | unicode/part1/U+1D73F NormalizationTest.txt |
๐ฟโฮบ
|
7 B | |
| 004873 | unicode/part1/U+1D740 NormalizationTest.txt |
๐โฮป
|
7 B | |
| 004874 | unicode/part1/U+1D741 NormalizationTest.txt |
๐โฮผ
|
7 B | |
| 004875 | unicode/part1/U+1D742 NormalizationTest.txt |
๐โฮฝ
|
7 B | |
| 004876 | unicode/part1/U+1D743 NormalizationTest.txt |
๐โฮพ
|
7 B | |
| 004877 | unicode/part1/U+1D744 NormalizationTest.txt |
๐โฮฟ
|
7 B | |
| 004878 | unicode/part1/U+1D745 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