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… U+1EA5 starts at byte 14 of ASCII text. 57 B
009201 regression/block/ASCII/musical symbol at 14 Focused regression eeeeeeeeeeeeee𝅗𝅥eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1D15E starts at byte 14 of ASCII text. 58 B
009202 regression/block/ASCII/e + acute at 15 Focused regression eeeeeeeeeeeeeeeéeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0065 U+0301 starts at byte 15 of ASCII text. 58 B
009203 regression/block/ASCII/angstrom sign at 15 Focused regression eeeeeeeeeeeeeeeÅeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+212B starts at byte 15 of ASCII text. 58 B
009204 regression/block/ASCII/jamo at 15 Focused regression eeeeeeeeeeeeeee각eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1100 U+1161 U+11A8 starts at byte 15 of ASCII text. 64 B
009205 regression/block/ASCII/qa at 15 Focused regression eeeeeeeeeeeeeeeक़eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0958 starts at byte 15 of ASCII text. 58 B
009206 regression/block/ASCII/marks to reorder at 15 Focused regression eeeeeeeeeeeeeeẹ́eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0301 U+0323 starts at byte 15 of ASCII text. 59 B
009207 regression/block/ASCII/a + circumflex + acute at 15 Focused regression eeeeeeeeeeeeeeeấeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0061 U+0302 U+0301 starts at byte 15 of ASCII text. 60 B
009208 regression/block/ASCII/precomposed at 15 Focused regression eeeeeeeeeeeeeeeấeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1EA5 starts at byte 15 of ASCII text. 58 B
009209 regression/block/ASCII/musical symbol at 15 Focused regression eeeeeeeeeeeeeee𝅗𝅥eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1D15E starts at byte 15 of ASCII text. 59 B
009210 regression/block/ASCII/e + acute at 16 Focused regression eeeeeeeeeeeeeeeeéeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0065 U+0301 starts at byte 16 of ASCII text. 59 B
009211 regression/block/ASCII/angstrom sign at 16 Focused regression eeeeeeeeeeeeeeeeÅeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+212B starts at byte 16 of ASCII text. 59 B
009212 regression/block/ASCII/jamo at 16 Focused regression eeeeeeeeeeeeeeee각eeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1100 U+1161 U+11A8 starts at byte 16 of ASCII text. 65 B
009213 regression/block/ASCII/qa at 16 Focused regression eeeeeeeeeeeeeeeeक़eeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0958 starts at byte 16 of ASCII text. 59 B
009214 regression/block/ASCII/marks to reorder at 16 Focused regression eeeeeeeeeeeeeeeẹ́eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0301 U+0323 starts at byte 16 of ASCII text. 60 B
009215 regression/block/ASCII/a + circumflex + acute at 16 Focused regression eeeeeeeeeeeeeeeeấeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0061 U+0302 U+0301 starts at byte 16 of ASCII text. 61 B
009216 regression/block/ASCII/precomposed at 16 Focused regression eeeeeeeeeeeeeeeeấeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1EA5 starts at byte 16 of ASCII text. 59 B
009217 regression/block/ASCII/musical symbol at 16 Focused regression eeeeeeeeeeeeeeee𝅗𝅥eeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1D15E starts at byte 16 of ASCII text. 60 B
009218 regression/block/ASCII/e + acute at 17 Focused regression eeeeeeeeeeeeeeeeeéeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0065 U+0301 starts at byte 17 of ASCII text. 60 B
009219 regression/block/ASCII/angstrom sign at 17 Focused regression eeeeeeeeeeeeeeeeeÅeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+212B starts at byte 17 of ASCII text. 60 B
009220 regression/block/ASCII/jamo at 17 Focused regression eeeeeeeeeeeeeeeee각eeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1100 U+1161 U+11A8 starts at byte 17 of ASCII text. 66 B
009221 regression/block/ASCII/qa at 17 Focused regression eeeeeeeeeeeeeeeeeक़eeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0958 starts at byte 17 of ASCII text. 60 B
009222 regression/block/ASCII/marks to reorder at 17 Focused regression eeeeeeeeeeeeeeeeẹ́eeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0301 U+0323 starts at byte 17 of ASCII text. 61 B
009223 regression/block/ASCII/a + circumflex + acute at 17 Focused regression eeeeeeeeeeeeeeeeeấeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0061 U+0302 U+0301 starts at byte 17 of ASCII text. 62 B
009224 regression/block/ASCII/precomposed at 17 Focused regression eeeeeeeeeeeeeeeeeấeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1EA5 starts at byte 17 of ASCII text. 60 B
009225 regression/block/ASCII/musical symbol at 17 Focused regression eeeeeeeeeeeeeeeee𝅗𝅥eeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1D15E starts at byte 17 of ASCII text. 61 B
009226 regression/block/ASCII/e + acute at 28 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeéeeeeeeeeeeeeeeeeeee… U+0065 U+0301 starts at byte 28 of ASCII text. 71 B
009227 regression/block/ASCII/acute at 28 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeéeeeeeeeeeeeeeeeeeeee… U+0301 starts at byte 28 of ASCII text. 70 B
009228 regression/block/ASCII/angstrom sign at 28 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeÅeeeeeeeeeeeeeeeeeee… U+212B starts at byte 28 of ASCII text. 71 B
009229 regression/block/ASCII/jamo at 28 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeee각eeeeeeeeeeeeeeeeeee… U+1100 U+1161 U+11A8 starts at byte 28 of ASCII text. 77 B
009230 regression/block/ASCII/qa at 28 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeक़eeeeeeeeeeeeeeeeeee… U+0958 starts at byte 28 of ASCII text. 71 B
009231 regression/block/ASCII/marks to reorder at 28 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́eeeeeeeeeeeeeeeeeeee… U+0301 U+0323 starts at byte 28 of ASCII text. 72 B
009232 regression/block/ASCII/a + circumflex + acute at 28 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeấeeeeeeeeeeeeeeeeeee… U+0061 U+0302 U+0301 starts at byte 28 of ASCII text. 73 B
009233 regression/block/ASCII/precomposed at 28 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeấeeeeeeeeeeeeeeeeeee… U+1EA5 starts at byte 28 of ASCII text. 71 B
009234 regression/block/ASCII/musical symbol at 28 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeee𝅗𝅥eeeeeeeeeeeeeeeeeee… U+1D15E starts at byte 28 of ASCII text. 72 B
009235 regression/block/ASCII/e + acute at 29 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeéeeeeeeeeeeeeeeeeee… U+0065 U+0301 starts at byte 29 of ASCII text. 72 B
009236 regression/block/ASCII/angstrom sign at 29 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeÅeeeeeeeeeeeeeeeeee… U+212B starts at byte 29 of ASCII text. 72 B
009237 regression/block/ASCII/jamo at 29 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeee각eeeeeeeeeeeeeeeeee… U+1100 U+1161 U+11A8 starts at byte 29 of ASCII text. 78 B
009238 regression/block/ASCII/qa at 29 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़eeeeeeeeeeeeeeeeee… U+0958 starts at byte 29 of ASCII text. 72 B
009239 regression/block/ASCII/marks to reorder at 29 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́eeeeeeeeeeeeeeeeeee… U+0301 U+0323 starts at byte 29 of ASCII text. 73 B
009240 regression/block/ASCII/a + circumflex + acute at 29 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeấeeeeeeeeeeeeeeeeee… U+0061 U+0302 U+0301 starts at byte 29 of ASCII text. 74 B
009241 regression/block/ASCII/precomposed at 29 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeấeeeeeeeeeeeeeeeeee… U+1EA5 starts at byte 29 of ASCII text. 72 B
009242 regression/block/ASCII/musical symbol at 29 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeee𝅗𝅥eeeeeeeeeeeeeeeeee… U+1D15E starts at byte 29 of ASCII text. 73 B
009243 regression/block/ASCII/e + acute at 30 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeéeeeeeeeeeeeeeeeee… U+0065 U+0301 starts at byte 30 of ASCII text. 73 B
009244 regression/block/ASCII/angstrom sign at 30 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeÅeeeeeeeeeeeeeeeee… U+212B starts at byte 30 of ASCII text. 73 B
009245 regression/block/ASCII/jamo at 30 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeee각eeeeeeeeeeeeeeeee… U+1100 U+1161 U+11A8 starts at byte 30 of ASCII text. 79 B
009246 regression/block/ASCII/qa at 30 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़eeeeeeeeeeeeeeeee… U+0958 starts at byte 30 of ASCII text. 73 B
009247 regression/block/ASCII/marks to reorder at 30 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́eeeeeeeeeeeeeeeeee… U+0301 U+0323 starts at byte 30 of ASCII text. 74 B
009248 regression/block/ASCII/a + circumflex + acute at 30 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeấeeeeeeeeeeeeeeeee… U+0061 U+0302 U+0301 starts at byte 30 of ASCII text. 75 B
009249 regression/block/ASCII/precomposed at 30 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeấeeeeeeeeeeeeeeeee… U+1EA5 starts at byte 30 of ASCII text. 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.