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 |
|---|---|---|---|---|
| 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 | |
| 009227 | regression/block/ASCII/acute at 28 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeéeeeeeeeeeeeeeeeeeeee…
|
70 B | |
| 009228 | regression/block/ASCII/angstrom sign at 28 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeÅeeeeeeeeeeeeeeeeeee…
|
71 B | |
| 009229 | regression/block/ASCII/jamo at 28 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeee각eeeeeeeeeeeeeeeeeee…
|
77 B | |
| 009230 | regression/block/ASCII/qa at 28 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeक़eeeeeeeeeeeeeeeeeee…
|
71 B | |
| 009231 | regression/block/ASCII/marks to reorder at 28 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́eeeeeeeeeeeeeeeeeeee…
|
72 B | |
| 009232 | regression/block/ASCII/a + circumflex + acute at 28 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeấeeeeeeeeeeeeeeeeeee…
|
73 B | |
| 009233 | regression/block/ASCII/precomposed at 28 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeấeeeeeeeeeeeeeeeeeee…
|
71 B | |
| 009234 | regression/block/ASCII/musical symbol at 28 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeee𝅗𝅥eeeeeeeeeeeeeeeeeee…
|
72 B | |
| 009235 | regression/block/ASCII/e + acute at 29 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeéeeeeeeeeeeeeeeeeee…
|
72 B | |
| 009236 | regression/block/ASCII/angstrom sign at 29 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeÅeeeeeeeeeeeeeeeeee…
|
72 B | |
| 009237 | regression/block/ASCII/jamo at 29 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeee각eeeeeeeeeeeeeeeeee…
|
78 B | |
| 009238 | regression/block/ASCII/qa at 29 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़eeeeeeeeeeeeeeeeee…
|
72 B | |
| 009239 | regression/block/ASCII/marks to reorder at 29 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́eeeeeeeeeeeeeeeeeee…
|
73 B | |
| 009240 | regression/block/ASCII/a + circumflex + acute at 29 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeấeeeeeeeeeeeeeeeeee…
|
74 B | |
| 009241 | regression/block/ASCII/precomposed at 29 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeấeeeeeeeeeeeeeeeeee…
|
72 B | |
| 009242 | regression/block/ASCII/musical symbol at 29 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeee𝅗𝅥eeeeeeeeeeeeeeeeee…
|
73 B | |
| 009243 | regression/block/ASCII/e + acute at 30 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeéeeeeeeeeeeeeeeeee…
|
73 B | |
| 009244 | regression/block/ASCII/angstrom sign at 30 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeÅeeeeeeeeeeeeeeeee…
|
73 B | |
| 009245 | regression/block/ASCII/jamo at 30 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeee각eeeeeeeeeeeeeeeee…
|
79 B | |
| 009246 | regression/block/ASCII/qa at 30 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़eeeeeeeeeeeeeeeee…
|
73 B | |
| 009247 | regression/block/ASCII/marks to reorder at 30 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́eeeeeeeeeeeeeeeeee…
|
74 B | |
| 009248 | regression/block/ASCII/a + circumflex + acute at 30 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeấeeeeeeeeeeeeeeeee…
|
75 B | |
| 009249 | regression/block/ASCII/precomposed at 30 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeấeeeeeeeeeeeeeeeee…
|
73 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