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
008250 unicode/part4/line 19485 NormalizationTest.txt ớ␊ớ␊ớ Line 19485: LATIN SMALL LETTER O WITH HORN, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008251 unicode/part4/line 19486 NormalizationTest.txt ớ␊ớ␊ớ Line 19486: LATIN SMALL LETTER O WITH HORN, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 B
008252 unicode/part4/line 19487 NormalizationTest.txt Ờ␊Ờ␊Ờ Line 19487: LATIN CAPITAL LETTER O WITH GRAVE, COMBINING HORN. Its distinct columns, one per line. 14 B
008253 unicode/part4/line 19488 NormalizationTest.txt Ờ␊Ờ␊Ờ Line 19488: LATIN CAPITAL LETTER O WITH HORN, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 14 B
008254 unicode/part4/line 19489 NormalizationTest.txt Ờ␊Ờ␊Ờ Line 19489: LATIN CAPITAL LETTER O WITH HORN, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 14 B
008255 unicode/part4/line 19490 NormalizationTest.txt ờ␊ờ␊ờ Line 19490: LATIN SMALL LETTER O WITH GRAVE, COMBINING HORN. Its distinct columns, one per line. 14 B
008256 unicode/part4/line 19491 NormalizationTest.txt ờ␊ờ␊ờ Line 19491: LATIN SMALL LETTER O WITH HORN, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 14 B
008257 unicode/part4/line 19492 NormalizationTest.txt ờ␊ờ␊ờ Line 19492: LATIN SMALL LETTER O WITH HORN, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 14 B
008258 unicode/part4/line 19493 NormalizationTest.txt Ở␊Ở␊Ở Line 19493: LATIN CAPITAL LETTER O WITH HORN, COMBINING HOOK ABOVE. Its distinct columns, one per line. 14 B
008259 unicode/part4/line 19494 NormalizationTest.txt Ở␊Ở␊Ở Line 19494: LATIN CAPITAL LETTER O WITH HOOK ABOVE, COMBINING HORN. Its distinct columns, one per line. 15 B
008260 unicode/part4/line 19495 NormalizationTest.txt ở␊ở␊ở Line 19495: LATIN SMALL LETTER O WITH HORN, COMBINING HOOK ABOVE. Its distinct columns, one per line. 14 B
008261 unicode/part4/line 19496 NormalizationTest.txt ở␊ở␊ở Line 19496: LATIN SMALL LETTER O WITH HOOK ABOVE, COMBINING HORN. Its distinct columns, one per line. 15 B
008262 unicode/part4/line 19497 NormalizationTest.txt Ỡ␊Ỡ␊Ỡ Line 19497: LATIN CAPITAL LETTER O WITH TILDE, COMBINING HORN. Its distinct columns, one per line. 14 B
008263 unicode/part4/line 19498 NormalizationTest.txt Ỡ␊Ỡ␊Ỡ Line 19498: LATIN CAPITAL LETTER O WITH HORN, COMBINING TILDE. Its distinct columns, one per line. 14 B
008264 unicode/part4/line 19499 NormalizationTest.txt ỡ␊ỡ␊ỡ Line 19499: LATIN SMALL LETTER O WITH TILDE, COMBINING HORN. Its distinct columns, one per line. 14 B
008265 unicode/part4/line 19500 NormalizationTest.txt ỡ␊ỡ␊ỡ Line 19500: LATIN SMALL LETTER O WITH HORN, COMBINING TILDE. Its distinct columns, one per line. 14 B
008266 unicode/part4/line 19501 NormalizationTest.txt Ợ␊Ợ␊Ợ Line 19501: LATIN CAPITAL LETTER O WITH HORN, COMBINING DOT BELOW. Its distinct columns, one per line. 14 B
008267 unicode/part4/line 19502 NormalizationTest.txt Ợ␊Ợ␊Ợ Line 19502: LATIN CAPITAL LETTER O WITH DOT BELOW, COMBINING HORN. Its distinct columns, one per line. 15 B
008268 unicode/part4/line 19503 NormalizationTest.txt ợ␊ợ␊ợ Line 19503: LATIN SMALL LETTER O WITH HORN, COMBINING DOT BELOW. Its distinct columns, one per line. 14 B
008269 unicode/part4/line 19504 NormalizationTest.txt ợ␊ợ␊ợ Line 19504: LATIN SMALL LETTER O WITH DOT BELOW, COMBINING HORN. Its distinct columns, one per line. 15 B
008270 unicode/part4/line 19505 NormalizationTest.txt Ứ␊Ứ␊Ứ Line 19505: LATIN CAPITAL LETTER U WITH ACUTE, COMBINING HORN. Its distinct columns, one per line. 14 B
008271 unicode/part4/line 19506 NormalizationTest.txt Ứ␊Ứ␊Ứ Line 19506: LATIN CAPITAL LETTER U WITH HORN, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008272 unicode/part4/line 19507 NormalizationTest.txt Ứ␊Ứ␊Ứ Line 19507: LATIN CAPITAL LETTER U WITH HORN, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 B
008273 unicode/part4/line 19508 NormalizationTest.txt ứ␊ứ␊ứ Line 19508: LATIN SMALL LETTER U WITH ACUTE, COMBINING HORN. Its distinct columns, one per line. 14 B
008274 unicode/part4/line 19509 NormalizationTest.txt ứ␊ứ␊ứ Line 19509: LATIN SMALL LETTER U WITH HORN, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008275 unicode/part4/line 19510 NormalizationTest.txt ứ␊ứ␊ứ Line 19510: LATIN SMALL LETTER U WITH HORN, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 B
008276 unicode/part4/line 19511 NormalizationTest.txt Ừ␊Ừ␊Ừ Line 19511: LATIN CAPITAL LETTER U WITH GRAVE, COMBINING HORN. Its distinct columns, one per line. 14 B
008277 unicode/part4/line 19512 NormalizationTest.txt Ừ␊Ừ␊Ừ Line 19512: LATIN CAPITAL LETTER U WITH HORN, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 14 B
008278 unicode/part4/line 19513 NormalizationTest.txt Ừ␊Ừ␊Ừ Line 19513: LATIN CAPITAL LETTER U WITH HORN, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 14 B
008279 unicode/part4/line 19514 NormalizationTest.txt ừ␊ừ␊ừ Line 19514: LATIN SMALL LETTER U WITH GRAVE, COMBINING HORN. Its distinct columns, one per line. 14 B
008280 unicode/part4/line 19515 NormalizationTest.txt ừ␊ừ␊ừ Line 19515: LATIN SMALL LETTER U WITH HORN, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 14 B
008281 unicode/part4/line 19516 NormalizationTest.txt ừ␊ừ␊ừ Line 19516: LATIN SMALL LETTER U WITH HORN, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 14 B
008282 unicode/part4/line 19517 NormalizationTest.txt Ử␊Ử␊Ử Line 19517: LATIN CAPITAL LETTER U WITH HORN, COMBINING HOOK ABOVE. Its distinct columns, one per line. 14 B
008283 unicode/part4/line 19518 NormalizationTest.txt Ử␊Ử␊Ử Line 19518: LATIN CAPITAL LETTER U WITH HOOK ABOVE, COMBINING HORN. Its distinct columns, one per line. 15 B
008284 unicode/part4/line 19519 NormalizationTest.txt ử␊ử␊ử Line 19519: LATIN SMALL LETTER U WITH HORN, COMBINING HOOK ABOVE. Its distinct columns, one per line. 14 B
008285 unicode/part4/line 19520 NormalizationTest.txt ử␊ử␊ử Line 19520: LATIN SMALL LETTER U WITH HOOK ABOVE, COMBINING HORN. Its distinct columns, one per line. 15 B
008286 unicode/part4/line 19521 NormalizationTest.txt Ữ␊Ữ␊Ữ Line 19521: LATIN CAPITAL LETTER U WITH TILDE, COMBINING HORN. Its distinct columns, one per line. 14 B
008287 unicode/part4/line 19522 NormalizationTest.txt Ữ␊Ữ␊Ữ Line 19522: LATIN CAPITAL LETTER U WITH HORN, COMBINING TILDE. Its distinct columns, one per line. 14 B
008288 unicode/part4/line 19523 NormalizationTest.txt ữ␊ữ␊ữ Line 19523: LATIN SMALL LETTER U WITH TILDE, COMBINING HORN. Its distinct columns, one per line. 14 B
008289 unicode/part4/line 19524 NormalizationTest.txt ữ␊ữ␊ữ Line 19524: LATIN SMALL LETTER U WITH HORN, COMBINING TILDE. Its distinct columns, one per line. 14 B
008290 unicode/part4/line 19525 NormalizationTest.txt Ự␊Ự␊Ự Line 19525: LATIN CAPITAL LETTER U WITH HORN, COMBINING DOT BELOW. Its distinct columns, one per line. 14 B
008291 unicode/part4/line 19526 NormalizationTest.txt Ự␊Ự␊Ự Line 19526: LATIN CAPITAL LETTER U WITH DOT BELOW, COMBINING HORN. Its distinct columns, one per line. 15 B
008292 unicode/part4/line 19527 NormalizationTest.txt ự␊ự␊ự Line 19527: LATIN SMALL LETTER U WITH HORN, COMBINING DOT BELOW. Its distinct columns, one per line. 14 B
008293 unicode/part4/line 19528 NormalizationTest.txt ự␊ự␊ự Line 19528: LATIN SMALL LETTER U WITH DOT BELOW, COMBINING HORN. Its distinct columns, one per line. 15 B
008294 unicode/part4/line 19529 NormalizationTest.txt ἂ␊ἂ␊ἂ Line 19529: GREEK SMALL LETTER ALPHA WITH PSILI, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008295 unicode/part4/line 19530 NormalizationTest.txt ἂ␊ἂ␊ἂ Line 19530: GREEK SMALL LETTER ALPHA WITH PSILI, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008296 unicode/part4/line 19531 NormalizationTest.txt ἃ␊ἃ␊ἃ Line 19531: GREEK SMALL LETTER ALPHA WITH DASIA, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008297 unicode/part4/line 19532 NormalizationTest.txt ἃ␊ἃ␊ἃ Line 19532: GREEK SMALL LETTER ALPHA WITH DASIA, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008298 unicode/part4/line 19533 NormalizationTest.txt ἄ␊ἄ␊ἄ Line 19533: GREEK SMALL LETTER ALPHA WITH PSILI, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008299 unicode/part4/line 19534 NormalizationTest.txt ἄ␊ἄ␊ἄ Line 19534: GREEK SMALL LETTER ALPHA WITH PSILI, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 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.