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

956 of 11,911 cases

Case Name Expected Note Size
000417 unicode/part1/U+04DB NormalizationTest.txt ӛ␊ӛ Line 467: CYRILLIC SMALL LETTER SCHWA WITH DIAERESIS. Its distinct columns, one per line. 7 B
000418 unicode/part1/U+04DC NormalizationTest.txt Ӝ␊Ӝ Line 468: CYRILLIC CAPITAL LETTER ZHE WITH DIAERESIS. Its distinct columns, one per line. 7 B
000419 unicode/part1/U+04DD NormalizationTest.txt ӝ␊ӝ Line 469: CYRILLIC SMALL LETTER ZHE WITH DIAERESIS. Its distinct columns, one per line. 7 B
000420 unicode/part1/U+04DE NormalizationTest.txt Ӟ␊Ӟ Line 470: CYRILLIC CAPITAL LETTER ZE WITH DIAERESIS. Its distinct columns, one per line. 7 B
000421 unicode/part1/U+04DF NormalizationTest.txt ӟ␊ӟ Line 471: CYRILLIC SMALL LETTER ZE WITH DIAERESIS. Its distinct columns, one per line. 7 B
000422 unicode/part1/U+04E2 NormalizationTest.txt Ӣ␊Ӣ Line 472: CYRILLIC CAPITAL LETTER I WITH MACRON. Its distinct columns, one per line. 7 B
000423 unicode/part1/U+04E3 NormalizationTest.txt ӣ␊ӣ Line 473: CYRILLIC SMALL LETTER I WITH MACRON. Its distinct columns, one per line. 7 B
000424 unicode/part1/U+04E4 NormalizationTest.txt Ӥ␊Ӥ Line 474: CYRILLIC CAPITAL LETTER I WITH DIAERESIS. Its distinct columns, one per line. 7 B
000425 unicode/part1/U+04E5 NormalizationTest.txt ӥ␊ӥ Line 475: CYRILLIC SMALL LETTER I WITH DIAERESIS. Its distinct columns, one per line. 7 B
000426 unicode/part1/U+04E6 NormalizationTest.txt Ӧ␊Ӧ Line 476: CYRILLIC CAPITAL LETTER O WITH DIAERESIS. Its distinct columns, one per line. 7 B
000427 unicode/part1/U+04E7 NormalizationTest.txt ӧ␊ӧ Line 477: CYRILLIC SMALL LETTER O WITH DIAERESIS. Its distinct columns, one per line. 7 B
000428 unicode/part1/U+04EA NormalizationTest.txt Ӫ␊Ӫ Line 478: CYRILLIC CAPITAL LETTER BARRED O WITH DIAERESIS. Its distinct columns, one per line. 7 B
000429 unicode/part1/U+04EB NormalizationTest.txt ӫ␊ӫ Line 479: CYRILLIC SMALL LETTER BARRED O WITH DIAERESIS. Its distinct columns, one per line. 7 B
000430 unicode/part1/U+04EC NormalizationTest.txt Ӭ␊Ӭ Line 480: CYRILLIC CAPITAL LETTER E WITH DIAERESIS. Its distinct columns, one per line. 7 B
000431 unicode/part1/U+04ED NormalizationTest.txt ӭ␊ӭ Line 481: CYRILLIC SMALL LETTER E WITH DIAERESIS. Its distinct columns, one per line. 7 B
000432 unicode/part1/U+04EE NormalizationTest.txt Ӯ␊Ӯ Line 482: CYRILLIC CAPITAL LETTER U WITH MACRON. Its distinct columns, one per line. 7 B
000433 unicode/part1/U+04EF NormalizationTest.txt ӯ␊ӯ Line 483: CYRILLIC SMALL LETTER U WITH MACRON. Its distinct columns, one per line. 7 B
000434 unicode/part1/U+04F0 NormalizationTest.txt Ӱ␊Ӱ Line 484: CYRILLIC CAPITAL LETTER U WITH DIAERESIS. Its distinct columns, one per line. 7 B
000435 unicode/part1/U+04F1 NormalizationTest.txt ӱ␊ӱ Line 485: CYRILLIC SMALL LETTER U WITH DIAERESIS. Its distinct columns, one per line. 7 B
000436 unicode/part1/U+04F2 NormalizationTest.txt Ӳ␊Ӳ Line 486: CYRILLIC CAPITAL LETTER U WITH DOUBLE ACUTE. Its distinct columns, one per line. 7 B
000437 unicode/part1/U+04F3 NormalizationTest.txt ӳ␊ӳ Line 487: CYRILLIC SMALL LETTER U WITH DOUBLE ACUTE. Its distinct columns, one per line. 7 B
000438 unicode/part1/U+04F4 NormalizationTest.txt Ӵ␊Ӵ Line 488: CYRILLIC CAPITAL LETTER CHE WITH DIAERESIS. Its distinct columns, one per line. 7 B
000439 unicode/part1/U+04F5 NormalizationTest.txt ӵ␊ӵ Line 489: CYRILLIC SMALL LETTER CHE WITH DIAERESIS. Its distinct columns, one per line. 7 B
000440 unicode/part1/U+04F8 NormalizationTest.txt Ӹ␊Ӹ Line 490: CYRILLIC CAPITAL LETTER YERU WITH DIAERESIS. Its distinct columns, one per line. 7 B
000441 unicode/part1/U+04F9 NormalizationTest.txt ӹ␊ӹ Line 491: CYRILLIC SMALL LETTER YERU WITH DIAERESIS. Its distinct columns, one per line. 7 B
000443 unicode/part1/U+0622 NormalizationTest.txt آ␊آ Line 493: ARABIC LETTER ALEF WITH MADDA ABOVE. Its distinct columns, one per line. 7 B
000444 unicode/part1/U+0623 NormalizationTest.txt أ␊أ Line 494: ARABIC LETTER ALEF WITH HAMZA ABOVE. Its distinct columns, one per line. 7 B
000445 unicode/part1/U+0624 NormalizationTest.txt ؤ␊ؤ Line 495: ARABIC LETTER WAW WITH HAMZA ABOVE. Its distinct columns, one per line. 7 B
000446 unicode/part1/U+0625 NormalizationTest.txt إ␊إ Line 496: ARABIC LETTER ALEF WITH HAMZA BELOW. Its distinct columns, one per line. 7 B
000447 unicode/part1/U+0626 NormalizationTest.txt ئ␊ئ Line 497: ARABIC LETTER YEH WITH HAMZA ABOVE. Its distinct columns, one per line. 7 B
000452 unicode/part1/U+06C0 NormalizationTest.txt ۀ␊ۀ Line 502: ARABIC LETTER HEH WITH YEH ABOVE. Its distinct columns, one per line. 7 B
000453 unicode/part1/U+06C2 NormalizationTest.txt ۂ␊ۂ Line 503: ARABIC LETTER HEH GOAL WITH HAMZA ABOVE. Its distinct columns, one per line. 7 B
000454 unicode/part1/U+06D3 NormalizationTest.txt ۓ␊ۓ Line 504: ARABIC LETTER YEH BARREE WITH HAMZA ABOVE. Its distinct columns, one per line. 7 B
000455 unicode/part1/U+0929 NormalizationTest.txt ऩ␊ऩ Line 505: DEVANAGARI LETTER NNNA. Its distinct columns, one per line. 10 B
000456 unicode/part1/U+0931 NormalizationTest.txt ऱ␊ऱ Line 506: DEVANAGARI LETTER RRA. Its distinct columns, one per line. 10 B
000457 unicode/part1/U+0934 NormalizationTest.txt ऴ␊ऴ Line 507: DEVANAGARI LETTER LLLA. Its distinct columns, one per line. 10 B
000466 unicode/part1/U+09CB NormalizationTest.txt ো␊ো Line 516: BENGALI VOWEL SIGN O. Its distinct columns, one per line. 10 B
000467 unicode/part1/U+09CC NormalizationTest.txt ৌ␊ৌ Line 517: BENGALI VOWEL SIGN AU. Its distinct columns, one per line. 10 B
000477 unicode/part1/U+0B48 NormalizationTest.txt ୈ␊ୈ Line 527: ORIYA VOWEL SIGN AI. Its distinct columns, one per line. 10 B
000478 unicode/part1/U+0B4B NormalizationTest.txt ୋ␊ୋ Line 528: ORIYA VOWEL SIGN O. Its distinct columns, one per line. 10 B
000479 unicode/part1/U+0B4C NormalizationTest.txt ୌ␊ୌ Line 529: ORIYA VOWEL SIGN AU. Its distinct columns, one per line. 10 B
000482 unicode/part1/U+0B94 NormalizationTest.txt ஔ␊ஔ Line 532: TAMIL LETTER AU. Its distinct columns, one per line. 10 B
000483 unicode/part1/U+0BCA NormalizationTest.txt ொ␊ொ Line 533: TAMIL VOWEL SIGN O. Its distinct columns, one per line. 10 B
000484 unicode/part1/U+0BCB NormalizationTest.txt ோ␊ோ Line 534: TAMIL VOWEL SIGN OO. Its distinct columns, one per line. 10 B
000485 unicode/part1/U+0BCC NormalizationTest.txt ௌ␊ௌ Line 535: TAMIL VOWEL SIGN AU. Its distinct columns, one per line. 10 B
000486 unicode/part1/U+0C48 NormalizationTest.txt ై␊ై Line 536: TELUGU VOWEL SIGN AI. Its distinct columns, one per line. 10 B
000487 unicode/part1/U+0CC0 NormalizationTest.txt ೀ␊ೀ Line 537: KANNADA VOWEL SIGN II. Its distinct columns, one per line. 10 B
000488 unicode/part1/U+0CC7 NormalizationTest.txt ೇ␊ೇ Line 538: KANNADA VOWEL SIGN EE. Its distinct columns, one per line. 10 B
000489 unicode/part1/U+0CC8 NormalizationTest.txt ೈ␊ೈ Line 539: KANNADA VOWEL SIGN AI. Its distinct columns, one per line. 10 B
000490 unicode/part1/U+0CCA NormalizationTest.txt ೊ␊ೊ Line 540: KANNADA VOWEL SIGN O. Its distinct columns, one per line. 10 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.