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
009400 regression/block/ASCII/jamo at 127 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1100 U+1161 U+11A8 starts at byte 127 of ASCII text. 176 B
009401 regression/block/ASCII/qa at 127 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0958 starts at byte 127 of ASCII text. 170 B
009402 regression/block/ASCII/marks to reorder at 127 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0301 U+0323 starts at byte 127 of ASCII text. 171 B
009403 regression/block/ASCII/a + circumflex + acute at 127 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0061 U+0302 U+0301 starts at byte 127 of ASCII text. 172 B
009404 regression/block/ASCII/precomposed at 127 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1EA5 starts at byte 127 of ASCII text. 170 B
009405 regression/block/ASCII/musical symbol at 127 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1D15E starts at byte 127 of ASCII text. 171 B
009406 regression/block/ASCII/e + acute at 128 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0065 U+0301 starts at byte 128 of ASCII text. 171 B
009407 regression/block/ASCII/angstrom sign at 128 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+212B starts at byte 128 of ASCII text. 171 B
009408 regression/block/ASCII/jamo at 128 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1100 U+1161 U+11A8 starts at byte 128 of ASCII text. 177 B
009409 regression/block/ASCII/qa at 128 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0958 starts at byte 128 of ASCII text. 171 B
009410 regression/block/ASCII/marks to reorder at 128 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0301 U+0323 starts at byte 128 of ASCII text. 172 B
009411 regression/block/ASCII/a + circumflex + acute at 128 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0061 U+0302 U+0301 starts at byte 128 of ASCII text. 173 B
009412 regression/block/ASCII/precomposed at 128 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1EA5 starts at byte 128 of ASCII text. 171 B
009413 regression/block/ASCII/musical symbol at 128 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1D15E starts at byte 128 of ASCII text. 172 B
009414 regression/block/ASCII/e + acute at 129 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0065 U+0301 starts at byte 129 of ASCII text. 172 B
009415 regression/block/ASCII/angstrom sign at 129 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+212B starts at byte 129 of ASCII text. 172 B
009416 regression/block/ASCII/jamo at 129 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1100 U+1161 U+11A8 starts at byte 129 of ASCII text. 178 B
009417 regression/block/ASCII/qa at 129 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0958 starts at byte 129 of ASCII text. 172 B
009418 regression/block/ASCII/marks to reorder at 129 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0301 U+0323 starts at byte 129 of ASCII text. 173 B
009419 regression/block/ASCII/a + circumflex + acute at 129 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+0061 U+0302 U+0301 starts at byte 129 of ASCII text. 174 B
009420 regression/block/ASCII/precomposed at 129 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1EA5 starts at byte 129 of ASCII text. 172 B
009421 regression/block/ASCII/musical symbol at 129 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… U+1D15E starts at byte 129 of ASCII text. 173 B
009422 regression/block/Cyrillic/e + acute at 12 Focused regression ееееееéееееееееееееееееееее U+0065 U+0301 starts at byte 12 of Cyrillic text. 55 B
009423 regression/block/Cyrillic/acute at 12 Focused regression ееееее́ееееееееееееееееееее U+0301 starts at byte 12 of Cyrillic text. 54 B
009424 regression/block/Cyrillic/angstrom sign at 12 Focused regression ееееееÅееееееееееееееееееее U+212B starts at byte 12 of Cyrillic text. 55 B
009425 regression/block/Cyrillic/jamo at 12 Focused regression ееееее각ееееееееееееееееееее U+1100 U+1161 U+11A8 starts at byte 12 of Cyrillic text. 61 B
009426 regression/block/Cyrillic/qa at 12 Focused regression ееееееक़ееееееееееееееееееее U+0958 starts at byte 12 of Cyrillic text. 55 B
009427 regression/block/Cyrillic/marks to reorder at 12 Focused regression ееееее̣́ееееееееееееееееееее U+0301 U+0323 starts at byte 12 of Cyrillic text. 56 B
009428 regression/block/Cyrillic/a + circumflex + acute at 12 Focused regression ееееееấееееееееееееееееееее U+0061 U+0302 U+0301 starts at byte 12 of Cyrillic text. 57 B
009429 regression/block/Cyrillic/precomposed at 12 Focused regression ееееееấееееееееееееееееееее U+1EA5 starts at byte 12 of Cyrillic text. 55 B
009430 regression/block/Cyrillic/musical symbol at 12 Focused regression ееееее𝅗𝅥ееееееееееееееееееее U+1D15E starts at byte 12 of Cyrillic text. 56 B
009431 regression/block/Cyrillic/e + acute at 14 Focused regression еееееееéееееееееееееееееееее U+0065 U+0301 starts at byte 14 of Cyrillic text. 57 B
009432 regression/block/Cyrillic/acute at 14 Focused regression еееееее́ееееееееееееееееееее U+0301 starts at byte 14 of Cyrillic text. 56 B
009433 regression/block/Cyrillic/angstrom sign at 14 Focused regression еееееееÅееееееееееееееееееее U+212B starts at byte 14 of Cyrillic text. 57 B
009434 regression/block/Cyrillic/jamo at 14 Focused regression еееееее각ееееееееееееееееееее U+1100 U+1161 U+11A8 starts at byte 14 of Cyrillic text. 63 B
009435 regression/block/Cyrillic/qa at 14 Focused regression еееееееक़ееееееееееееееееееее U+0958 starts at byte 14 of Cyrillic text. 57 B
009436 regression/block/Cyrillic/marks to reorder at 14 Focused regression еееееее̣́ееееееееееееееееееее U+0301 U+0323 starts at byte 14 of Cyrillic text. 58 B
009437 regression/block/Cyrillic/a + circumflex + acute at 14 Focused regression еееееееấееееееееееееееееееее U+0061 U+0302 U+0301 starts at byte 14 of Cyrillic text. 59 B
009438 regression/block/Cyrillic/precomposed at 14 Focused regression еееееееấееееееееееееееееееее U+1EA5 starts at byte 14 of Cyrillic text. 57 B
009439 regression/block/Cyrillic/musical symbol at 14 Focused regression еееееее𝅗𝅥ееееееееееееееееееее U+1D15E starts at byte 14 of Cyrillic text. 58 B
009440 regression/block/Cyrillic/e + acute at 16 Focused regression ееееееееéееееееееееееееееееее U+0065 U+0301 starts at byte 16 of Cyrillic text. 59 B
009441 regression/block/Cyrillic/acute at 16 Focused regression ееееееее́ееееееееееееееееееее U+0301 starts at byte 16 of Cyrillic text. 58 B
009442 regression/block/Cyrillic/angstrom sign at 16 Focused regression ееееееееÅееееееееееееееееееее U+212B starts at byte 16 of Cyrillic text. 59 B
009443 regression/block/Cyrillic/jamo at 16 Focused regression ееееееее각ееееееееееееееееееее U+1100 U+1161 U+11A8 starts at byte 16 of Cyrillic text. 65 B
009444 regression/block/Cyrillic/qa at 16 Focused regression ееееееееक़ееееееееееееееееееее U+0958 starts at byte 16 of Cyrillic text. 59 B
009445 regression/block/Cyrillic/marks to reorder at 16 Focused regression ееееееее̣́ееееееееееееееееееее U+0301 U+0323 starts at byte 16 of Cyrillic text. 60 B
009446 regression/block/Cyrillic/a + circumflex + acute at 16 Focused regression ееееееееấееееееееееееееееееее U+0061 U+0302 U+0301 starts at byte 16 of Cyrillic text. 61 B
009447 regression/block/Cyrillic/precomposed at 16 Focused regression ееееееееấееееееееееееееееееее U+1EA5 starts at byte 16 of Cyrillic text. 59 B
009448 regression/block/Cyrillic/musical symbol at 16 Focused regression ееееееее𝅗𝅥ееееееееееееееееееее U+1D15E starts at byte 16 of Cyrillic text. 60 B
009449 regression/block/Cyrillic/e + acute at 28 Focused regression ееееееееееееееéееееееееееееееееееее U+0065 U+0301 starts at byte 28 of Cyrillic text. 71 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.