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 |
|---|---|---|---|---|
| 005079 | unicode/part1/U+1E040 NormalizationTest.txt |
๐โั
|
7 B | |
| 005080 | unicode/part1/U+1E041 NormalizationTest.txt |
๐โั
|
7 B | |
| 005081 | unicode/part1/U+1E042 NormalizationTest.txt |
๐โั
|
7 B | |
| 005082 | unicode/part1/U+1E043 NormalizationTest.txt |
๐โั
|
7 B | |
| 005083 | unicode/part1/U+1E044 NormalizationTest.txt |
๐โั
|
7 B | |
| 005084 | unicode/part1/U+1E045 NormalizationTest.txt |
๐
โั
|
7 B | |
| 005085 | unicode/part1/U+1E046 NormalizationTest.txt |
๐โั
|
7 B | |
| 005086 | unicode/part1/U+1E047 NormalizationTest.txt |
๐โั
|
7 B | |
| 005087 | unicode/part1/U+1E048 NormalizationTest.txt |
๐โั
|
7 B | |
| 005088 | unicode/part1/U+1E049 NormalizationTest.txt |
๐โั
|
7 B | |
| 005089 | unicode/part1/U+1E04A NormalizationTest.txt |
๐โ๊
|
8 B | |
| 005090 | unicode/part1/U+1E04B NormalizationTest.txt |
๐โำ
|
7 B | |
| 005091 | unicode/part1/U+1E04C NormalizationTest.txt |
๐โั
|
7 B | |
| 005092 | unicode/part1/U+1E04D NormalizationTest.txt |
๐โั
|
7 B | |
| 005093 | unicode/part1/U+1E04E NormalizationTest.txt |
๐โำฉ
|
7 B | |
| 005094 | unicode/part1/U+1E04F NormalizationTest.txt |
๐โาฏ
|
7 B | |
| 005095 | unicode/part1/U+1E050 NormalizationTest.txt |
๐โำ
|
7 B | |
| 005096 | unicode/part1/U+1E051 NormalizationTest.txt |
๐โะฐ
|
7 B | |
| 005097 | unicode/part1/U+1E052 NormalizationTest.txt |
๐โะฑ
|
7 B | |
| 005098 | unicode/part1/U+1E053 NormalizationTest.txt |
๐โะฒ
|
7 B | |
| 005099 | unicode/part1/U+1E054 NormalizationTest.txt |
๐โะณ
|
7 B | |
| 005100 | unicode/part1/U+1E055 NormalizationTest.txt |
๐โะด
|
7 B | |
| 005101 | unicode/part1/U+1E056 NormalizationTest.txt |
๐โะต
|
7 B | |
| 005102 | unicode/part1/U+1E057 NormalizationTest.txt |
๐โะถ
|
7 B | |
| 005103 | unicode/part1/U+1E058 NormalizationTest.txt |
๐โะท
|
7 B | |
| 005104 | unicode/part1/U+1E059 NormalizationTest.txt |
๐โะธ
|
7 B | |
| 005105 | unicode/part1/U+1E05A NormalizationTest.txt |
๐โะบ
|
7 B | |
| 005106 | unicode/part1/U+1E05B NormalizationTest.txt |
๐โะป
|
7 B | |
| 005107 | unicode/part1/U+1E05C NormalizationTest.txt |
๐โะพ
|
7 B | |
| 005108 | unicode/part1/U+1E05D NormalizationTest.txt |
๐โะฟ
|
7 B | |
| 005109 | unicode/part1/U+1E05E NormalizationTest.txt |
๐โั
|
7 B | |
| 005110 | unicode/part1/U+1E05F NormalizationTest.txt |
๐โั
|
7 B | |
| 005111 | unicode/part1/U+1E060 NormalizationTest.txt |
๐ โั
|
7 B | |
| 005112 | unicode/part1/U+1E061 NormalizationTest.txt |
๐กโั
|
7 B | |
| 005113 | unicode/part1/U+1E062 NormalizationTest.txt |
๐ขโั
|
7 B | |
| 005114 | unicode/part1/U+1E063 NormalizationTest.txt |
๐ฃโั
|
7 B | |
| 005115 | unicode/part1/U+1E064 NormalizationTest.txt |
๐คโั
|
7 B | |
| 005116 | unicode/part1/U+1E065 NormalizationTest.txt |
๐ฅโั
|
7 B | |
| 005117 | unicode/part1/U+1E066 NormalizationTest.txt |
๐ฆโั
|
7 B | |
| 005118 | unicode/part1/U+1E067 NormalizationTest.txt |
๐งโา
|
7 B | |
| 005119 | unicode/part1/U+1E068 NormalizationTest.txt |
๐จโั
|
7 B | |
| 005120 | unicode/part1/U+1E069 NormalizationTest.txt |
๐ฉโั
|
7 B | |
| 005121 | unicode/part1/U+1E06A NormalizationTest.txt |
๐ชโั
|
7 B | |
| 005122 | unicode/part1/U+1E06B NormalizationTest.txt |
๐ซโาซ
|
7 B | |
| 005123 | unicode/part1/U+1E06C NormalizationTest.txt |
๐ฌโ๊
|
8 B | |
| 005124 | unicode/part1/U+1E06D NormalizationTest.txt |
๐ญโาฑ
|
7 B | |
| 005125 | unicode/part1/U+1EE00 NormalizationTest.txt |
๐ธโุง
|
7 B | |
| 005126 | unicode/part1/U+1EE01 NormalizationTest.txt |
๐ธโุจ
|
7 B | |
| 005127 | unicode/part1/U+1EE02 NormalizationTest.txt |
๐ธโุฌ
|
7 B | |
| 005128 | unicode/part1/U+1EE03 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