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 |
|---|---|---|---|---|
| 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 | |
| 009250 | regression/block/ASCII/musical symbol at 30 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeee𝅗𝅥eeeeeeeeeeeeeeeee…
|
74 B | |
| 009251 | regression/block/ASCII/e + acute at 31 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeéeeeeeeeeeeeeeeee…
|
74 B | |
| 009252 | regression/block/ASCII/angstrom sign at 31 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeÅeeeeeeeeeeeeeeee…
|
74 B | |
| 009253 | regression/block/ASCII/jamo at 31 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeee각eeeeeeeeeeeeeeee…
|
80 B | |
| 009254 | regression/block/ASCII/qa at 31 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़eeeeeeeeeeeeeeee…
|
74 B | |
| 009255 | regression/block/ASCII/marks to reorder at 31 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́eeeeeeeeeeeeeeeee…
|
75 B | |
| 009256 | regression/block/ASCII/a + circumflex + acute at 31 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeấeeeeeeeeeeeeeeee…
|
76 B | |
| 009257 | regression/block/ASCII/precomposed at 31 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeấeeeeeeeeeeeeeeee…
|
74 B | |
| 009258 | regression/block/ASCII/musical symbol at 31 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeee𝅗𝅥eeeeeeeeeeeeeeee…
|
75 B | |
| 009259 | regression/block/ASCII/e + acute at 32 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeéeeeeeeeeeeeeeee…
|
75 B | |
| 009260 | regression/block/ASCII/angstrom sign at 32 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeÅeeeeeeeeeeeeeee…
|
75 B | |
| 009261 | regression/block/ASCII/jamo at 32 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee각eeeeeeeeeeeeeee…
|
81 B | |
| 009262 | regression/block/ASCII/qa at 32 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़eeeeeeeeeeeeeee…
|
75 B | |
| 009263 | regression/block/ASCII/marks to reorder at 32 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́eeeeeeeeeeeeeeee…
|
76 B | |
| 009264 | regression/block/ASCII/a + circumflex + acute at 32 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeấeeeeeeeeeeeeeee…
|
77 B | |
| 009265 | regression/block/ASCII/precomposed at 32 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeấeeeeeeeeeeeeeee…
|
75 B | |
| 009266 | regression/block/ASCII/musical symbol at 32 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee𝅗𝅥eeeeeeeeeeeeeee…
|
76 B | |
| 009267 | regression/block/ASCII/e + acute at 33 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeéeeeeeeeeeeeeee…
|
76 B | |
| 009268 | regression/block/ASCII/angstrom sign at 33 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeÅeeeeeeeeeeeeee…
|
76 B | |
| 009269 | regression/block/ASCII/jamo at 33 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee각eeeeeeeeeeeeee…
|
82 B | |
| 009270 | regression/block/ASCII/qa at 33 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़eeeeeeeeeeeeee…
|
76 B | |
| 009271 | regression/block/ASCII/marks to reorder at 33 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́eeeeeeeeeeeeeee…
|
77 B | |
| 009272 | regression/block/ASCII/a + circumflex + acute at 33 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeấeeeeeeeeeeeeee…
|
78 B | |
| 009273 | regression/block/ASCII/precomposed at 33 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeấeeeeeeeeeeeeee…
|
76 B | |
| 009274 | regression/block/ASCII/musical symbol at 33 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee𝅗𝅥eeeeeeeeeeeeee…
|
77 B | |
| 009275 | regression/block/ASCII/e + acute at 44 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeéeee…
|
87 B | |
| 009276 | regression/block/ASCII/acute at 44 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeéeeee…
|
86 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