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
011719 generated/1806 Generated 𹝿󔃣󴧈󹭐 Seeded random text: random scalars. 16 B
011728 generated/1815 Generated 񾩢 Seeded random text: random scalars. 4 B
011737 generated/1824 Generated 󡖎򖟼񩸯񟍹󩻘𫹧𷖸󇆿 Seeded random text: random scalars. 32 B
011746 generated/1833 Generated 򐞇򮭇饽񛐕򟨺𺗌 Seeded random text: random scalars. 23 B
011755 generated/1842 Generated 䵃 Seeded random text: random scalars. 3 B
011764 generated/1851 Generated 󪐲 Seeded random text: random scalars. 4 B
011773 generated/1860 Generated 󷯳 Seeded random text: random scalars. 4 B
011781 generated/1869 Generated 񊶷𯫝񮈐𵃆񍛟񑎟𗟷򩻽򫄦𝋭󜸍򓇎񘜿񾀟񢒛񴷲 Seeded random text: random scalars. 64 B
011790 generated/1878 Generated 𝉝򠆨𤿔񮹺 Seeded random text: random scalars. 16 B
011799 generated/1887 Generated 򉬸𔒹񲕑󸩋 Seeded random text: random scalars. 16 B
011808 generated/1896 Generated 𛆿𵴄򻰋 Seeded random text: random scalars. 12 B
011817 generated/1905 Generated 𻁪򽩨򸡕񮜻􃳐􇆩󎞣򁑋󪓗􏵩󯡯𨲑򋾌󑣶󋥎񤼱򗸱򏉸񉀒󘍍񺦲􅝖򫔾𔥡񻏏󮁻󝣻𓀮󘆸򸤭􍱳񓧘󪊴𹅜󾶰򷼨󣝋犳󆮭񠉥𮂪򱁁𨺙񮛃񏋑𓕋򛰒… Seeded random text: random scalars. 410 B
011826 generated/1914 Generated 󘯕󮍏򋶸󽫴򳷑𥯾𰓻󆻦 Seeded random text: random scalars. 32 B
011835 generated/1923 Generated 봽󰷁 Seeded random text: random scalars. 7 B
011844 generated/1932 Generated 󄞨󠲺 Seeded random text: random scalars. 8 B
011853 generated/1941 Generated 𖴠𨫑🶆򛑟 Seeded random text: random scalars. 16 B
011862 generated/1950 Generated 󟼋ꈯ󯰭 Seeded random text: random scalars. 11 B
011871 generated/1959 Generated 񝣷𾋜𚽶 Seeded random text: random scalars. 12 B
011880 generated/1968 Generated 򥸮󼳯 Seeded random text: random scalars. 8 B
011888 generated/1977 Generated 򚷴􇏁󇳃𺶝󅞯򬔃𧵒겣򙅚񎼎玎򝂉񶞛󜚋󀁂򣮵 Seeded random text: random scalars. 62 B
011897 generated/1986 Generated 𳅛 Seeded random text: random scalars. 4 B
011906 generated/1995 Generated 󠔏תּ򡵹 Seeded random text: random scalars. 11 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.