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

222 of 11,911 cases

Case Name Expected Note Size
011721 generated/1808 Generated bcoeeeedb o cdacddccecdocboc aacabeedd dcae caa… Seeded random text: after ASCII. 87 B
011730 generated/1817 Generated 蝹Ḝӧaひcdde a ecbec c Seeded random text: after ASCII. 28 B
011739 generated/1826 Generated dedccb ebeoẠĖ̂ao oacoecebecbbodecd eaoaoaeooddac… Seeded random text: after ASCII. 59 B
011748 generated/1835 Generated oaa e ced ccdeeboo cbed oocococ edᅥᆺᅬae obo da b… Seeded random text: after ASCII. 60 B
011757 generated/1844 Generated dd aaa c ao ebaÜŌ̧̂ö̀Ĕ̊odoacoabacbce bdee bbeaededcd… Seeded random text: after ASCII. 75 B
011766 generated/1853 Generated coecbbbaa debceebcę̨̃̇ǎ̃óẽ̀ệă̇ě̃ Seeded random text: after ASCII. 55 B
011775 generated/1862 Generated o abcedboecceccooebdeceeeoaooe aee ddcceoda bo … Seeded random text: after ASCII. 102 B
011783 generated/1871 Generated cadoacecdodbaobbdcaade o aad e bd ecda bd o… Seeded random text: after ASCII. 60 B
011792 generated/1880 Generated boccdceooboccb cdaboaoec oeeᆳᅡᅧ Seeded random text: after ASCII. 37 B
011801 generated/1889 Generated acadee oa bcbdeaeeodaed e ccdedbbcabcdaecdoebǪ̣̈̂Ą̂̀… Seeded random text: after ASCII. 95 B
011810 generated/1898 Generated bbaa caceac ab daaobccoob doeeedbdbodcacoebÈ̂̂̌eǫ̂Ọ̆̊̂… Seeded random text: after ASCII. 71 B
011819 generated/1907 Generated oad ebddooboced e eab a beobeab c b c dcoodd c… Seeded random text: after ASCII. 133 B
011828 generated/1916 Generated bd請𤎫dc aab dodbceodo cdo o adaa bacbodbod ac Seeded random text: after ASCII. 49 B
011837 generated/1925 Generated oeeoadc bbee cdadeccddobadab dee ebecoc oed dab… Seeded random text: after ASCII. 83 B
011846 generated/1934 Generated a dcocdeaoobdoao caebccaoce bdd eaoo oodooe dcc… Seeded random text: after ASCII. 71 B
011855 generated/1943 Generated dbboabobboao ocdoeeo edbbaecccb aacacoabe aaec… Seeded random text: after ASCII. 115 B
011864 generated/1952 Generated ab c caoaĄ̇̄ Seeded random text: after ASCII. 16 B
011873 generated/1961 Generated dĘ̂̆ÉEȫ̊̃ddcoaed o de o Seeded random text: after ASCII. 36 B
011882 generated/1970 Generated oeaeeooedbdbc ca edeeb bb odcb cacboc dc ὦȋが福ṑ Seeded random text: after ASCII. 64 B
011890 generated/1979 Generated bboao a ecbedobbebbcd aod bodbbcaocoooba ocÉ̀̊eo̧… Seeded random text: after ASCII. 105 B
011899 generated/1988 Generated aeeo abeaccodo acdao a edoddocda dodceeoocadodb… Seeded random text: after ASCII. 79 B
011908 generated/1997 Generated d bcecb ᆷᆽᆧᅭᆶᄀc cbdeaeo aob Seeded random text: after ASCII. 41 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.