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
5,928 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 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 | |
| 005129 | unicode/part1/U+1EE05 NormalizationTest.txt |
๐ธ
โู
|
7 B | |
| 005130 | unicode/part1/U+1EE06 NormalizationTest.txt |
๐ธโุฒ
|
7 B | |
| 005131 | unicode/part1/U+1EE07 NormalizationTest.txt |
๐ธโุญ
|
7 B | |
| 005132 | unicode/part1/U+1EE08 NormalizationTest.txt |
๐ธโุท
|
7 B | |
| 005133 | unicode/part1/U+1EE09 NormalizationTest.txt |
๐ธโู
|
7 B | |
| 005134 | unicode/part1/U+1EE0A NormalizationTest.txt |
๐ธโู
|
7 B | |
| 005135 | unicode/part1/U+1EE0B NormalizationTest.txt |
๐ธโู
|
7 B | |
| 005136 | unicode/part1/U+1EE0C NormalizationTest.txt |
๐ธโู
|
7 B | |
| 005137 | unicode/part1/U+1EE0D NormalizationTest.txt |
๐ธโู
|
7 B | |
| 005138 | unicode/part1/U+1EE0E NormalizationTest.txt |
๐ธโุณ
|
7 B | |
| 005139 | unicode/part1/U+1EE0F NormalizationTest.txt |
๐ธโุน
|
7 B | |
| 005140 | unicode/part1/U+1EE10 NormalizationTest.txt |
๐ธโู
|
7 B | |
| 005141 | unicode/part1/U+1EE11 NormalizationTest.txt |
๐ธโุต
|
7 B | |
| 005142 | unicode/part1/U+1EE12 NormalizationTest.txt |
๐ธโู
|
7 B | |
| 005143 | unicode/part1/U+1EE13 NormalizationTest.txt |
๐ธโุฑ
|
7 B | |
| 005144 | unicode/part1/U+1EE14 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