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
734 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 009177 | regression/block/ASCII/e + acute at 12 Focused regression |
eeeeeeeeeeeeéeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
55 B | |
| 009178 | regression/block/ASCII/acute at 12 Focused regression |
eeeeeeeeeeeéeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
54 B | |
| 009179 | regression/block/ASCII/angstrom sign at 12 Focused regression |
eeeeeeeeeeeeÅeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
55 B | |
| 009180 | regression/block/ASCII/jamo at 12 Focused regression |
eeeeeeeeeeee각eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
61 B | |
| 009181 | regression/block/ASCII/qa at 12 Focused regression |
eeeeeeeeeeeeक़eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
55 B | |
| 009182 | regression/block/ASCII/marks to reorder at 12 Focused regression |
eeeeeeeeeeeẹ́eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
56 B | |
| 009183 | regression/block/ASCII/a + circumflex + acute at 12 Focused regression |
eeeeeeeeeeeeấeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
57 B | |
| 009184 | regression/block/ASCII/precomposed at 12 Focused regression |
eeeeeeeeeeeeấeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
55 B | |
| 009185 | regression/block/ASCII/musical symbol at 12 Focused regression |
eeeeeeeeeeee𝅗𝅥eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
56 B | |
| 009186 | regression/block/ASCII/e + acute at 13 Focused regression |
eeeeeeeeeeeeeéeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
56 B | |
| 009187 | regression/block/ASCII/angstrom sign at 13 Focused regression |
eeeeeeeeeeeeeÅeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
56 B | |
| 009188 | regression/block/ASCII/jamo at 13 Focused regression |
eeeeeeeeeeeee각eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
62 B | |
| 009189 | regression/block/ASCII/qa at 13 Focused regression |
eeeeeeeeeeeeeक़eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
56 B | |
| 009190 | regression/block/ASCII/marks to reorder at 13 Focused regression |
eeeeeeeeeeeeẹ́eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
57 B | |
| 009191 | regression/block/ASCII/a + circumflex + acute at 13 Focused regression |
eeeeeeeeeeeeeấeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
58 B | |
| 009192 | regression/block/ASCII/precomposed at 13 Focused regression |
eeeeeeeeeeeeeấeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
56 B | |
| 009193 | regression/block/ASCII/musical symbol at 13 Focused regression |
eeeeeeeeeeeee𝅗𝅥eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
57 B | |
| 009194 | regression/block/ASCII/e + acute at 14 Focused regression |
eeeeeeeeeeeeeeéeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
57 B | |
| 009195 | regression/block/ASCII/angstrom sign at 14 Focused regression |
eeeeeeeeeeeeeeÅeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
57 B | |
| 009196 | regression/block/ASCII/jamo at 14 Focused regression |
eeeeeeeeeeeeee각eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
63 B | |
| 009197 | regression/block/ASCII/qa at 14 Focused regression |
eeeeeeeeeeeeeeक़eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
57 B | |
| 009198 | regression/block/ASCII/marks to reorder at 14 Focused regression |
eeeeeeeeeeeeeẹ́eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
58 B | |
| 009199 | regression/block/ASCII/a + circumflex + acute at 14 Focused regression |
eeeeeeeeeeeeeeấeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
59 B | |
| 009200 | regression/block/ASCII/precomposed at 14 Focused regression |
eeeeeeeeeeeeeeấeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
57 B | |
| 009201 | regression/block/ASCII/musical symbol at 14 Focused regression |
eeeeeeeeeeeeee𝅗𝅥eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
58 B | |
| 009202 | regression/block/ASCII/e + acute at 15 Focused regression |
eeeeeeeeeeeeeeeéeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
58 B | |
| 009203 | regression/block/ASCII/angstrom sign at 15 Focused regression |
eeeeeeeeeeeeeeeÅeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
58 B | |
| 009204 | regression/block/ASCII/jamo at 15 Focused regression |
eeeeeeeeeeeeeee각eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
64 B | |
| 009205 | regression/block/ASCII/qa at 15 Focused regression |
eeeeeeeeeeeeeeeक़eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
58 B | |
| 009206 | regression/block/ASCII/marks to reorder at 15 Focused regression |
eeeeeeeeeeeeeeẹ́eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
59 B | |
| 009207 | regression/block/ASCII/a + circumflex + acute at 15 Focused regression |
eeeeeeeeeeeeeeeấeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
60 B | |
| 009208 | regression/block/ASCII/precomposed at 15 Focused regression |
eeeeeeeeeeeeeeeấeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
58 B | |
| 009209 | regression/block/ASCII/musical symbol at 15 Focused regression |
eeeeeeeeeeeeeee𝅗𝅥eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
59 B | |
| 009210 | regression/block/ASCII/e + acute at 16 Focused regression |
eeeeeeeeeeeeeeeeéeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
59 B | |
| 009211 | regression/block/ASCII/angstrom sign at 16 Focused regression |
eeeeeeeeeeeeeeeeÅeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
59 B | |
| 009212 | regression/block/ASCII/jamo at 16 Focused regression |
eeeeeeeeeeeeeeee각eeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
65 B | |
| 009213 | regression/block/ASCII/qa at 16 Focused regression |
eeeeeeeeeeeeeeeeक़eeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
59 B | |
| 009214 | regression/block/ASCII/marks to reorder at 16 Focused regression |
eeeeeeeeeeeeeeeẹ́eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
60 B | |
| 009215 | regression/block/ASCII/a + circumflex + acute at 16 Focused regression |
eeeeeeeeeeeeeeeeấeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
61 B | |
| 009216 | regression/block/ASCII/precomposed at 16 Focused regression |
eeeeeeeeeeeeeeeeấeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
59 B | |
| 009217 | regression/block/ASCII/musical symbol at 16 Focused regression |
eeeeeeeeeeeeeeee𝅗𝅥eeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
60 B | |
| 009218 | regression/block/ASCII/e + acute at 17 Focused regression |
eeeeeeeeeeeeeeeeeéeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
60 B | |
| 009219 | regression/block/ASCII/angstrom sign at 17 Focused regression |
eeeeeeeeeeeeeeeeeÅeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
60 B | |
| 009220 | regression/block/ASCII/jamo at 17 Focused regression |
eeeeeeeeeeeeeeeee각eeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
66 B | |
| 009221 | regression/block/ASCII/qa at 17 Focused regression |
eeeeeeeeeeeeeeeeeक़eeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
60 B | |
| 009222 | regression/block/ASCII/marks to reorder at 17 Focused regression |
eeeeeeeeeeeeeeeeẹ́eeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
61 B | |
| 009223 | regression/block/ASCII/a + circumflex + acute at 17 Focused regression |
eeeeeeeeeeeeeeeeeấeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
62 B | |
| 009224 | regression/block/ASCII/precomposed at 17 Focused regression |
eeeeeeeeeeeeeeeeeấeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
60 B | |
| 009225 | regression/block/ASCII/musical symbol at 17 Focused regression |
eeeeeeeeeeeeeeeee𝅗𝅥eeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
61 B | |
| 009226 | regression/block/ASCII/e + acute at 28 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeéeeeeeeeeeeeeeeeeeee…
|
71 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