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
Clear

734 of 11,911 cases

Case Name Expected Note Size
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
009300 regression/block/ASCII/e + acute at 47 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeé… U+0065 U+0301 starts at byte 47 of ASCII text. 90 B
009301 regression/block/ASCII/angstrom sign at 47 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeÅ… U+212B starts at byte 47 of ASCII text. 90 B
009302 regression/block/ASCII/jamo at 47 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee각… U+1100 U+1161 U+11A8 starts at byte 47 of ASCII text. 96 B
009303 regression/block/ASCII/qa at 47 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़… U+0958 starts at byte 47 of ASCII text. 90 B
009304 regression/block/ASCII/marks to reorder at 47 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́e… U+0301 U+0323 starts at byte 47 of ASCII text. 91 B
009305 regression/block/ASCII/a + circumflex + acute at 47 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeấ… U+0061 U+0302 U+0301 starts at byte 47 of ASCII text. 92 B
009306 regression/block/ASCII/precomposed at 47 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeấ… U+1EA5 starts at byte 47 of ASCII text. 90 B
009307 regression/block/ASCII/musical symbol at 47 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee𝅗𝅥… U+1D15E starts at byte 47 of ASCII text. 91 B
009308 regression/block/ASCII/e + acute at 48 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0065 U+0301 starts at byte 48 of ASCII text. 91 B
009309 regression/block/ASCII/angstrom sign at 48 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+212B starts at byte 48 of ASCII text. 91 B
009310 regression/block/ASCII/jamo at 48 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1100 U+1161 U+11A8 starts at byte 48 of ASCII text. 97 B
009311 regression/block/ASCII/qa at 48 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0958 starts at byte 48 of ASCII text. 91 B
009312 regression/block/ASCII/marks to reorder at 48 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́… U+0301 U+0323 starts at byte 48 of ASCII text. 92 B
009313 regression/block/ASCII/a + circumflex + acute at 48 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0061 U+0302 U+0301 starts at byte 48 of ASCII text. 93 B
009314 regression/block/ASCII/precomposed at 48 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1EA5 starts at byte 48 of ASCII text. 91 B
009315 regression/block/ASCII/musical symbol at 48 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1D15E starts at byte 48 of ASCII text. 92 B
009316 regression/block/ASCII/e + acute at 49 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0065 U+0301 starts at byte 49 of ASCII text. 92 B
009317 regression/block/ASCII/angstrom sign at 49 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+212B starts at byte 49 of ASCII text. 92 B
009318 regression/block/ASCII/jamo at 49 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1100 U+1161 U+11A8 starts at byte 49 of ASCII text. 98 B
009319 regression/block/ASCII/qa at 49 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0958 starts at byte 49 of ASCII text. 92 B
009320 regression/block/ASCII/marks to reorder at 49 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0301 U+0323 starts at byte 49 of ASCII text. 93 B
009321 regression/block/ASCII/a + circumflex + acute at 49 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0061 U+0302 U+0301 starts at byte 49 of ASCII text. 94 B
009322 regression/block/ASCII/precomposed at 49 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1EA5 starts at byte 49 of ASCII text. 92 B
009323 regression/block/ASCII/musical symbol at 49 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1D15E starts at byte 49 of ASCII text. 93 B
009324 regression/block/ASCII/e + acute at 60 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0065 U+0301 starts at byte 60 of ASCII text. 103 B
009325 regression/block/ASCII/acute at 60 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0301 starts at byte 60 of ASCII text. 102 B
009326 regression/block/ASCII/angstrom sign at 60 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+212B starts at byte 60 of ASCII text. 103 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.