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
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
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

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.