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
009350 regression/block/ASCII/angstrom sign at 63 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+212B starts at byte 63 of ASCII text. 106 B
009351 regression/block/ASCII/jamo at 63 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1100 U+1161 U+11A8 starts at byte 63 of ASCII text. 112 B
009352 regression/block/ASCII/qa at 63 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0958 starts at byte 63 of ASCII text. 106 B
009353 regression/block/ASCII/marks to reorder at 63 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0301 U+0323 starts at byte 63 of ASCII text. 107 B
009354 regression/block/ASCII/a + circumflex + acute at 63 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0061 U+0302 U+0301 starts at byte 63 of ASCII text. 108 B
009355 regression/block/ASCII/precomposed at 63 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1EA5 starts at byte 63 of ASCII text. 106 B
009356 regression/block/ASCII/musical symbol at 63 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1D15E starts at byte 63 of ASCII text. 107 B
009357 regression/block/ASCII/e + acute at 64 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0065 U+0301 starts at byte 64 of ASCII text. 107 B
009358 regression/block/ASCII/angstrom sign at 64 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+212B starts at byte 64 of ASCII text. 107 B
009359 regression/block/ASCII/jamo at 64 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1100 U+1161 U+11A8 starts at byte 64 of ASCII text. 113 B
009360 regression/block/ASCII/qa at 64 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0958 starts at byte 64 of ASCII text. 107 B
009361 regression/block/ASCII/marks to reorder at 64 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0301 U+0323 starts at byte 64 of ASCII text. 108 B
009362 regression/block/ASCII/a + circumflex + acute at 64 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0061 U+0302 U+0301 starts at byte 64 of ASCII text. 109 B
009363 regression/block/ASCII/precomposed at 64 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1EA5 starts at byte 64 of ASCII text. 107 B
009364 regression/block/ASCII/musical symbol at 64 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1D15E starts at byte 64 of ASCII text. 108 B
009365 regression/block/ASCII/e + acute at 65 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0065 U+0301 starts at byte 65 of ASCII text. 108 B
009366 regression/block/ASCII/angstrom sign at 65 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+212B starts at byte 65 of ASCII text. 108 B
009367 regression/block/ASCII/jamo at 65 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1100 U+1161 U+11A8 starts at byte 65 of ASCII text. 114 B
009368 regression/block/ASCII/qa at 65 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0958 starts at byte 65 of ASCII text. 108 B
009369 regression/block/ASCII/marks to reorder at 65 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0301 U+0323 starts at byte 65 of ASCII text. 109 B
009370 regression/block/ASCII/a + circumflex + acute at 65 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0061 U+0302 U+0301 starts at byte 65 of ASCII text. 110 B
009371 regression/block/ASCII/precomposed at 65 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1EA5 starts at byte 65 of ASCII text. 108 B
009372 regression/block/ASCII/musical symbol at 65 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1D15E starts at byte 65 of ASCII text. 109 B
009373 regression/block/ASCII/e + acute at 124 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0065 U+0301 starts at byte 124 of ASCII text. 167 B
009374 regression/block/ASCII/acute at 124 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0301 starts at byte 124 of ASCII text. 166 B
009375 regression/block/ASCII/angstrom sign at 124 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+212B starts at byte 124 of ASCII text. 167 B
009376 regression/block/ASCII/jamo at 124 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1100 U+1161 U+11A8 starts at byte 124 of ASCII text. 173 B
009377 regression/block/ASCII/qa at 124 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0958 starts at byte 124 of ASCII text. 167 B
009378 regression/block/ASCII/marks to reorder at 124 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0301 U+0323 starts at byte 124 of ASCII text. 168 B
009379 regression/block/ASCII/a + circumflex + acute at 124 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0061 U+0302 U+0301 starts at byte 124 of ASCII text. 169 B
009380 regression/block/ASCII/precomposed at 124 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1EA5 starts at byte 124 of ASCII text. 167 B
009381 regression/block/ASCII/musical symbol at 124 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1D15E starts at byte 124 of ASCII text. 168 B
009382 regression/block/ASCII/e + acute at 125 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0065 U+0301 starts at byte 125 of ASCII text. 168 B
009383 regression/block/ASCII/angstrom sign at 125 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+212B starts at byte 125 of ASCII text. 168 B
009384 regression/block/ASCII/jamo at 125 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1100 U+1161 U+11A8 starts at byte 125 of ASCII text. 174 B
009385 regression/block/ASCII/qa at 125 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0958 starts at byte 125 of ASCII text. 168 B
009386 regression/block/ASCII/marks to reorder at 125 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0301 U+0323 starts at byte 125 of ASCII text. 169 B
009387 regression/block/ASCII/a + circumflex + acute at 125 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0061 U+0302 U+0301 starts at byte 125 of ASCII text. 170 B
009388 regression/block/ASCII/precomposed at 125 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1EA5 starts at byte 125 of ASCII text. 168 B
009389 regression/block/ASCII/musical symbol at 125 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1D15E starts at byte 125 of ASCII text. 169 B
009390 regression/block/ASCII/e + acute at 126 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0065 U+0301 starts at byte 126 of ASCII text. 169 B
009391 regression/block/ASCII/angstrom sign at 126 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+212B starts at byte 126 of ASCII text. 169 B
009392 regression/block/ASCII/jamo at 126 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1100 U+1161 U+11A8 starts at byte 126 of ASCII text. 175 B
009393 regression/block/ASCII/qa at 126 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0958 starts at byte 126 of ASCII text. 169 B
009394 regression/block/ASCII/marks to reorder at 126 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0301 U+0323 starts at byte 126 of ASCII text. 170 B
009395 regression/block/ASCII/a + circumflex + acute at 126 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0061 U+0302 U+0301 starts at byte 126 of ASCII text. 171 B
009396 regression/block/ASCII/precomposed at 126 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1EA5 starts at byte 126 of ASCII text. 169 B
009397 regression/block/ASCII/musical symbol at 126 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1D15E starts at byte 126 of ASCII text. 170 B
009398 regression/block/ASCII/e + acute at 127 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0065 U+0301 starts at byte 127 of ASCII text. 170 B
009399 regression/block/ASCII/angstrom sign at 127 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+212B starts at byte 127 of ASCII text. 170 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.