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
008200 unicode/part4/line 19435 NormalizationTest.txt ắ␊ắ␊ắ Line 19435: LATIN SMALL LETTER A WITH BREVE, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008201 unicode/part4/line 19436 NormalizationTest.txt ắ␊ắ␊ắ Line 19436: LATIN SMALL LETTER A WITH BREVE, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 B
008202 unicode/part4/line 19437 NormalizationTest.txt Ằ␊Ằ␊Ằ Line 19437: LATIN CAPITAL LETTER A WITH BREVE, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 14 B
008203 unicode/part4/line 19438 NormalizationTest.txt Ằ␊Ằ␊Ằ Line 19438: LATIN CAPITAL LETTER A WITH BREVE, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 14 B
008204 unicode/part4/line 19439 NormalizationTest.txt ằ␊ằ␊ằ Line 19439: LATIN SMALL LETTER A WITH BREVE, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 14 B
008205 unicode/part4/line 19440 NormalizationTest.txt ằ␊ằ␊ằ Line 19440: LATIN SMALL LETTER A WITH BREVE, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 14 B
008206 unicode/part4/line 19441 NormalizationTest.txt Ẳ␊Ẳ␊Ẳ Line 19441: LATIN CAPITAL LETTER A WITH BREVE, COMBINING HOOK ABOVE. Its distinct columns, one per line. 14 B
008207 unicode/part4/line 19442 NormalizationTest.txt ẳ␊ẳ␊ẳ Line 19442: LATIN SMALL LETTER A WITH BREVE, COMBINING HOOK ABOVE. Its distinct columns, one per line. 14 B
008208 unicode/part4/line 19443 NormalizationTest.txt Ẵ␊Ẵ␊Ẵ Line 19443: LATIN CAPITAL LETTER A WITH BREVE, COMBINING TILDE. Its distinct columns, one per line. 14 B
008209 unicode/part4/line 19444 NormalizationTest.txt ẵ␊ẵ␊ẵ Line 19444: LATIN SMALL LETTER A WITH BREVE, COMBINING TILDE. Its distinct columns, one per line. 14 B
008210 unicode/part4/line 19445 NormalizationTest.txt Ặ␊Ặ␊Ặ Line 19445: LATIN CAPITAL LETTER A WITH BREVE, COMBINING DOT BELOW. Its distinct columns, one per line. 14 B
008211 unicode/part4/line 19446 NormalizationTest.txt Ặ␊Ặ␊Ặ Line 19446: LATIN CAPITAL LETTER A WITH DOT BELOW, COMBINING BREVE. Its distinct columns, one per line. 15 B
008212 unicode/part4/line 19447 NormalizationTest.txt ặ␊ặ␊ặ Line 19447: LATIN SMALL LETTER A WITH BREVE, COMBINING DOT BELOW. Its distinct columns, one per line. 14 B
008213 unicode/part4/line 19448 NormalizationTest.txt ặ␊ặ␊ặ Line 19448: LATIN SMALL LETTER A WITH DOT BELOW, COMBINING BREVE. Its distinct columns, one per line. 15 B
008214 unicode/part4/line 19449 NormalizationTest.txt Ế␊Ế␊Ế Line 19449: LATIN CAPITAL LETTER E WITH CIRCUMFLEX, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008215 unicode/part4/line 19450 NormalizationTest.txt Ế␊Ế␊Ế Line 19450: LATIN CAPITAL LETTER E WITH CIRCUMFLEX, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 B
008216 unicode/part4/line 19451 NormalizationTest.txt ế␊ế␊ế Line 19451: LATIN SMALL LETTER E WITH CIRCUMFLEX, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008217 unicode/part4/line 19452 NormalizationTest.txt ế␊ế␊ế Line 19452: LATIN SMALL LETTER E WITH CIRCUMFLEX, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 B
008218 unicode/part4/line 19453 NormalizationTest.txt Ề␊Ề␊Ề Line 19453: LATIN CAPITAL LETTER E WITH CIRCUMFLEX, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 14 B
008219 unicode/part4/line 19454 NormalizationTest.txt Ề␊Ề␊Ề Line 19454: LATIN CAPITAL LETTER E WITH CIRCUMFLEX, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 14 B
008220 unicode/part4/line 19455 NormalizationTest.txt ề␊ề␊ề Line 19455: LATIN SMALL LETTER E WITH CIRCUMFLEX, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 14 B
008221 unicode/part4/line 19456 NormalizationTest.txt ề␊ề␊ề Line 19456: LATIN SMALL LETTER E WITH CIRCUMFLEX, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 14 B
008222 unicode/part4/line 19457 NormalizationTest.txt Ể␊Ể␊Ể Line 19457: LATIN CAPITAL LETTER E WITH CIRCUMFLEX, COMBINING HOOK ABOVE. Its distinct columns, one per line. 14 B
008223 unicode/part4/line 19458 NormalizationTest.txt ể␊ể␊ể Line 19458: LATIN SMALL LETTER E WITH CIRCUMFLEX, COMBINING HOOK ABOVE. Its distinct columns, one per line. 14 B
008224 unicode/part4/line 19459 NormalizationTest.txt Ễ␊Ễ␊Ễ Line 19459: LATIN CAPITAL LETTER E WITH CIRCUMFLEX, COMBINING TILDE. Its distinct columns, one per line. 14 B
008225 unicode/part4/line 19460 NormalizationTest.txt ễ␊ễ␊ễ Line 19460: LATIN SMALL LETTER E WITH CIRCUMFLEX, COMBINING TILDE. Its distinct columns, one per line. 14 B
008226 unicode/part4/line 19461 NormalizationTest.txt Ệ␊Ệ␊Ệ Line 19461: LATIN CAPITAL LETTER E WITH CIRCUMFLEX, COMBINING DOT BELOW. Its distinct columns, one per line. 14 B
008227 unicode/part4/line 19462 NormalizationTest.txt Ệ␊Ệ␊Ệ Line 19462: LATIN CAPITAL LETTER E WITH DOT BELOW, COMBINING CIRCUMFLEX ACCENT. Its distinct columns, one per line. 15 B
008228 unicode/part4/line 19463 NormalizationTest.txt ệ␊ệ␊ệ Line 19463: LATIN SMALL LETTER E WITH CIRCUMFLEX, COMBINING DOT BELOW. Its distinct columns, one per line. 14 B
008229 unicode/part4/line 19464 NormalizationTest.txt ệ␊ệ␊ệ Line 19464: LATIN SMALL LETTER E WITH DOT BELOW, COMBINING CIRCUMFLEX ACCENT. Its distinct columns, one per line. 15 B
008230 unicode/part4/line 19465 NormalizationTest.txt Ố␊Ố␊Ố Line 19465: LATIN CAPITAL LETTER O WITH CIRCUMFLEX, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008231 unicode/part4/line 19466 NormalizationTest.txt Ố␊Ố␊Ố Line 19466: LATIN CAPITAL LETTER O WITH CIRCUMFLEX, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 B
008232 unicode/part4/line 19467 NormalizationTest.txt ố␊ố␊ố Line 19467: LATIN SMALL LETTER O WITH CIRCUMFLEX, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008233 unicode/part4/line 19468 NormalizationTest.txt ố␊ố␊ố Line 19468: LATIN SMALL LETTER O WITH CIRCUMFLEX, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 B
008234 unicode/part4/line 19469 NormalizationTest.txt Ồ␊Ồ␊Ồ Line 19469: LATIN CAPITAL LETTER O WITH CIRCUMFLEX, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 14 B
008235 unicode/part4/line 19470 NormalizationTest.txt Ồ␊Ồ␊Ồ Line 19470: LATIN CAPITAL LETTER O WITH CIRCUMFLEX, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 14 B
008236 unicode/part4/line 19471 NormalizationTest.txt ồ␊ồ␊ồ Line 19471: LATIN SMALL LETTER O WITH CIRCUMFLEX, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 14 B
008237 unicode/part4/line 19472 NormalizationTest.txt ồ␊ồ␊ồ Line 19472: LATIN SMALL LETTER O WITH CIRCUMFLEX, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 14 B
008238 unicode/part4/line 19473 NormalizationTest.txt Ổ␊Ổ␊Ổ Line 19473: LATIN CAPITAL LETTER O WITH CIRCUMFLEX, COMBINING HOOK ABOVE. Its distinct columns, one per line. 14 B
008239 unicode/part4/line 19474 NormalizationTest.txt ổ␊ổ␊ổ Line 19474: LATIN SMALL LETTER O WITH CIRCUMFLEX, COMBINING HOOK ABOVE. Its distinct columns, one per line. 14 B
008240 unicode/part4/line 19475 NormalizationTest.txt Ỗ␊Ỗ␊Ỗ Line 19475: LATIN CAPITAL LETTER O WITH CIRCUMFLEX, COMBINING TILDE. Its distinct columns, one per line. 14 B
008241 unicode/part4/line 19476 NormalizationTest.txt ỗ␊ỗ␊ỗ Line 19476: LATIN SMALL LETTER O WITH CIRCUMFLEX, COMBINING TILDE. Its distinct columns, one per line. 14 B
008242 unicode/part4/line 19477 NormalizationTest.txt Ộ␊Ộ␊Ộ Line 19477: LATIN CAPITAL LETTER O WITH CIRCUMFLEX, COMBINING DOT BELOW. Its distinct columns, one per line. 14 B
008243 unicode/part4/line 19478 NormalizationTest.txt Ộ␊Ộ␊Ộ Line 19478: LATIN CAPITAL LETTER O WITH DOT BELOW, COMBINING CIRCUMFLEX ACCENT. Its distinct columns, one per line. 15 B
008244 unicode/part4/line 19479 NormalizationTest.txt ộ␊ộ␊ộ Line 19479: LATIN SMALL LETTER O WITH CIRCUMFLEX, COMBINING DOT BELOW. Its distinct columns, one per line. 14 B
008245 unicode/part4/line 19480 NormalizationTest.txt ộ␊ộ␊ộ Line 19480: LATIN SMALL LETTER O WITH DOT BELOW, COMBINING CIRCUMFLEX ACCENT. Its distinct columns, one per line. 15 B
008246 unicode/part4/line 19481 NormalizationTest.txt Ớ␊Ớ␊Ớ Line 19481: LATIN CAPITAL LETTER O WITH ACUTE, COMBINING HORN. Its distinct columns, one per line. 14 B
008247 unicode/part4/line 19482 NormalizationTest.txt Ớ␊Ớ␊Ớ Line 19482: LATIN CAPITAL LETTER O WITH HORN, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008248 unicode/part4/line 19483 NormalizationTest.txt Ớ␊Ớ␊Ớ Line 19483: LATIN CAPITAL LETTER O WITH HORN, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 B
008249 unicode/part4/line 19484 NormalizationTest.txt ớ␊ớ␊ớ Line 19484: LATIN SMALL LETTER O WITH ACUTE, COMBINING HORN. Its distinct columns, one per line. 14 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.