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
009250 regression/block/ASCII/musical symbol at 30 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeee𝅗𝅥eeeeeeeeeeeeeeeee… U+1D15E starts at byte 30 of ASCII text. 74 B
009251 regression/block/ASCII/e + acute at 31 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeéeeeeeeeeeeeeeeee… U+0065 U+0301 starts at byte 31 of ASCII text. 74 B
009252 regression/block/ASCII/angstrom sign at 31 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeÅeeeeeeeeeeeeeeee… U+212B starts at byte 31 of ASCII text. 74 B
009253 regression/block/ASCII/jamo at 31 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeee각eeeeeeeeeeeeeeee… U+1100 U+1161 U+11A8 starts at byte 31 of ASCII text. 80 B
009254 regression/block/ASCII/qa at 31 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़eeeeeeeeeeeeeeee… U+0958 starts at byte 31 of ASCII text. 74 B
009255 regression/block/ASCII/marks to reorder at 31 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́eeeeeeeeeeeeeeeee… U+0301 U+0323 starts at byte 31 of ASCII text. 75 B
009256 regression/block/ASCII/a + circumflex + acute at 31 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeấeeeeeeeeeeeeeeee… U+0061 U+0302 U+0301 starts at byte 31 of ASCII text. 76 B
009257 regression/block/ASCII/precomposed at 31 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeấeeeeeeeeeeeeeeee… U+1EA5 starts at byte 31 of ASCII text. 74 B
009258 regression/block/ASCII/musical symbol at 31 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeee𝅗𝅥eeeeeeeeeeeeeeee… U+1D15E starts at byte 31 of ASCII text. 75 B
009259 regression/block/ASCII/e + acute at 32 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeéeeeeeeeeeeeeeee… U+0065 U+0301 starts at byte 32 of ASCII text. 75 B
009260 regression/block/ASCII/angstrom sign at 32 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeÅeeeeeeeeeeeeeee… U+212B starts at byte 32 of ASCII text. 75 B
009261 regression/block/ASCII/jamo at 32 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee각eeeeeeeeeeeeeee… U+1100 U+1161 U+11A8 starts at byte 32 of ASCII text. 81 B
009262 regression/block/ASCII/qa at 32 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़eeeeeeeeeeeeeee… U+0958 starts at byte 32 of ASCII text. 75 B
009263 regression/block/ASCII/marks to reorder at 32 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́eeeeeeeeeeeeeeee… U+0301 U+0323 starts at byte 32 of ASCII text. 76 B
009264 regression/block/ASCII/a + circumflex + acute at 32 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeấeeeeeeeeeeeeeee… U+0061 U+0302 U+0301 starts at byte 32 of ASCII text. 77 B
009265 regression/block/ASCII/precomposed at 32 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeấeeeeeeeeeeeeeee… U+1EA5 starts at byte 32 of ASCII text. 75 B
009266 regression/block/ASCII/musical symbol at 32 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee𝅗𝅥eeeeeeeeeeeeeee… U+1D15E starts at byte 32 of ASCII text. 76 B
009267 regression/block/ASCII/e + acute at 33 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeéeeeeeeeeeeeeee… U+0065 U+0301 starts at byte 33 of ASCII text. 76 B
009268 regression/block/ASCII/angstrom sign at 33 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeÅeeeeeeeeeeeeee… U+212B starts at byte 33 of ASCII text. 76 B
009269 regression/block/ASCII/jamo at 33 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee각eeeeeeeeeeeeee… U+1100 U+1161 U+11A8 starts at byte 33 of ASCII text. 82 B
009270 regression/block/ASCII/qa at 33 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़eeeeeeeeeeeeee… U+0958 starts at byte 33 of ASCII text. 76 B
009271 regression/block/ASCII/marks to reorder at 33 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́eeeeeeeeeeeeeee… U+0301 U+0323 starts at byte 33 of ASCII text. 77 B
009272 regression/block/ASCII/a + circumflex + acute at 33 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeấeeeeeeeeeeeeee… U+0061 U+0302 U+0301 starts at byte 33 of ASCII text. 78 B
009273 regression/block/ASCII/precomposed at 33 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeấeeeeeeeeeeeeee… U+1EA5 starts at byte 33 of ASCII text. 76 B
009274 regression/block/ASCII/musical symbol at 33 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee𝅗𝅥eeeeeeeeeeeeee… U+1D15E starts at byte 33 of ASCII text. 77 B
009275 regression/block/ASCII/e + acute at 44 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeéeee… U+0065 U+0301 starts at byte 44 of ASCII text. 87 B
009276 regression/block/ASCII/acute at 44 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeéeeee… U+0301 starts at byte 44 of ASCII text. 86 B
009277 regression/block/ASCII/angstrom sign at 44 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeÅeee… U+212B starts at byte 44 of ASCII text. 87 B
009278 regression/block/ASCII/jamo at 44 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee각eee… U+1100 U+1161 U+11A8 starts at byte 44 of ASCII text. 93 B
009279 regression/block/ASCII/qa at 44 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़eee… U+0958 starts at byte 44 of ASCII text. 87 B
009280 regression/block/ASCII/marks to reorder at 44 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́eeee… U+0301 U+0323 starts at byte 44 of ASCII text. 88 B
009281 regression/block/ASCII/a + circumflex + acute at 44 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeấeee… U+0061 U+0302 U+0301 starts at byte 44 of ASCII text. 89 B
009282 regression/block/ASCII/precomposed at 44 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeấeee… U+1EA5 starts at byte 44 of ASCII text. 87 B
009283 regression/block/ASCII/musical symbol at 44 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee𝅗𝅥eee… U+1D15E starts at byte 44 of ASCII text. 88 B
009284 regression/block/ASCII/e + acute at 45 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeéee… U+0065 U+0301 starts at byte 45 of ASCII text. 88 B
009285 regression/block/ASCII/angstrom sign at 45 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeÅee… U+212B starts at byte 45 of ASCII text. 88 B
009286 regression/block/ASCII/jamo at 45 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee각ee… U+1100 U+1161 U+11A8 starts at byte 45 of ASCII text. 94 B
009287 regression/block/ASCII/qa at 45 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़ee… U+0958 starts at byte 45 of ASCII text. 88 B
009288 regression/block/ASCII/marks to reorder at 45 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́eee… U+0301 U+0323 starts at byte 45 of ASCII text. 89 B
009289 regression/block/ASCII/a + circumflex + acute at 45 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeấee… U+0061 U+0302 U+0301 starts at byte 45 of ASCII text. 90 B
009290 regression/block/ASCII/precomposed at 45 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeấee… U+1EA5 starts at byte 45 of ASCII text. 88 B
009291 regression/block/ASCII/musical symbol at 45 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee𝅗𝅥ee… U+1D15E starts at byte 45 of ASCII text. 89 B
009292 regression/block/ASCII/e + acute at 46 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeée… U+0065 U+0301 starts at byte 46 of ASCII text. 89 B
009293 regression/block/ASCII/angstrom sign at 46 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeÅe… U+212B starts at byte 46 of ASCII text. 89 B
009294 regression/block/ASCII/jamo at 46 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee각e… U+1100 U+1161 U+11A8 starts at byte 46 of ASCII text. 95 B
009295 regression/block/ASCII/qa at 46 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़e… U+0958 starts at byte 46 of ASCII text. 89 B
009296 regression/block/ASCII/marks to reorder at 46 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́ee… U+0301 U+0323 starts at byte 46 of ASCII text. 90 B
009297 regression/block/ASCII/a + circumflex + acute at 46 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeấe… U+0061 U+0302 U+0301 starts at byte 46 of ASCII text. 91 B
009298 regression/block/ASCII/precomposed at 46 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeấe… U+1EA5 starts at byte 46 of ASCII text. 89 B
009299 regression/block/ASCII/musical symbol at 46 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee𝅗𝅥e… U+1D15E starts at byte 46 of ASCII text. 90 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.