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
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
009327 regression/block/ASCII/jamo at 60 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1100 U+1161 U+11A8 starts at byte 60 of ASCII text. 109 B
009328 regression/block/ASCII/qa at 60 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0958 starts at byte 60 of ASCII text. 103 B
009329 regression/block/ASCII/marks to reorder at 60 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0301 U+0323 starts at byte 60 of ASCII text. 104 B
009330 regression/block/ASCII/a + circumflex + acute at 60 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0061 U+0302 U+0301 starts at byte 60 of ASCII text. 105 B
009331 regression/block/ASCII/precomposed at 60 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1EA5 starts at byte 60 of ASCII text. 103 B
009332 regression/block/ASCII/musical symbol at 60 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1D15E starts at byte 60 of ASCII text. 104 B
009333 regression/block/ASCII/e + acute at 61 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0065 U+0301 starts at byte 61 of ASCII text. 104 B
009334 regression/block/ASCII/angstrom sign at 61 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+212B starts at byte 61 of ASCII text. 104 B
009335 regression/block/ASCII/jamo at 61 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1100 U+1161 U+11A8 starts at byte 61 of ASCII text. 110 B
009336 regression/block/ASCII/qa at 61 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0958 starts at byte 61 of ASCII text. 104 B
009337 regression/block/ASCII/marks to reorder at 61 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0301 U+0323 starts at byte 61 of ASCII text. 105 B
009338 regression/block/ASCII/a + circumflex + acute at 61 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0061 U+0302 U+0301 starts at byte 61 of ASCII text. 106 B
009339 regression/block/ASCII/precomposed at 61 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1EA5 starts at byte 61 of ASCII text. 104 B
009340 regression/block/ASCII/musical symbol at 61 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1D15E starts at byte 61 of ASCII text. 105 B
009341 regression/block/ASCII/e + acute at 62 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0065 U+0301 starts at byte 62 of ASCII text. 105 B
009342 regression/block/ASCII/angstrom sign at 62 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+212B starts at byte 62 of ASCII text. 105 B
009343 regression/block/ASCII/jamo at 62 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1100 U+1161 U+11A8 starts at byte 62 of ASCII text. 111 B
009344 regression/block/ASCII/qa at 62 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0958 starts at byte 62 of ASCII text. 105 B
009345 regression/block/ASCII/marks to reorder at 62 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0301 U+0323 starts at byte 62 of ASCII text. 106 B
009346 regression/block/ASCII/a + circumflex + acute at 62 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0061 U+0302 U+0301 starts at byte 62 of ASCII text. 107 B
009347 regression/block/ASCII/precomposed at 62 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1EA5 starts at byte 62 of ASCII text. 105 B
009348 regression/block/ASCII/musical symbol at 62 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1D15E starts at byte 62 of ASCII text. 106 B
009349 regression/block/ASCII/e + acute at 63 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0065 U+0301 starts at byte 63 of ASCII text. 106 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.