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

5,928 of 11,911 cases

Case Name Expected Note Size
000845 unicode/part1/U+1EDA NormalizationTest.txt Ớ␊Ớ Line 898: LATIN CAPITAL LETTER O WITH HORN AND ACUTE. Its distinct columns, one per line. 9 B
000846 unicode/part1/U+1EDB NormalizationTest.txt ớ␊ớ Line 899: LATIN SMALL LETTER O WITH HORN AND ACUTE. Its distinct columns, one per line. 9 B
000847 unicode/part1/U+1EDC NormalizationTest.txt Ờ␊Ờ Line 900: LATIN CAPITAL LETTER O WITH HORN AND GRAVE. Its distinct columns, one per line. 9 B
000848 unicode/part1/U+1EDD NormalizationTest.txt ờ␊ờ Line 901: LATIN SMALL LETTER O WITH HORN AND GRAVE. Its distinct columns, one per line. 9 B
000849 unicode/part1/U+1EDE NormalizationTest.txt Ở␊Ở Line 902: LATIN CAPITAL LETTER O WITH HORN AND HOOK ABOVE. Its distinct columns, one per line. 9 B
000850 unicode/part1/U+1EDF NormalizationTest.txt ở␊ở Line 903: LATIN SMALL LETTER O WITH HORN AND HOOK ABOVE. Its distinct columns, one per line. 9 B
000851 unicode/part1/U+1EE0 NormalizationTest.txt Ỡ␊Ỡ Line 904: LATIN CAPITAL LETTER O WITH HORN AND TILDE. Its distinct columns, one per line. 9 B
000852 unicode/part1/U+1EE1 NormalizationTest.txt ỡ␊ỡ Line 905: LATIN SMALL LETTER O WITH HORN AND TILDE. Its distinct columns, one per line. 9 B
000853 unicode/part1/U+1EE2 NormalizationTest.txt Ợ␊Ợ Line 906: LATIN CAPITAL LETTER O WITH HORN AND DOT BELOW. Its distinct columns, one per line. 9 B
000854 unicode/part1/U+1EE3 NormalizationTest.txt ợ␊ợ Line 907: LATIN SMALL LETTER O WITH HORN AND DOT BELOW. Its distinct columns, one per line. 9 B
000855 unicode/part1/U+1EE4 NormalizationTest.txt Ụ␊Ụ Line 908: LATIN CAPITAL LETTER U WITH DOT BELOW. Its distinct columns, one per line. 7 B
000856 unicode/part1/U+1EE5 NormalizationTest.txt ụ␊ụ Line 909: LATIN SMALL LETTER U WITH DOT BELOW. Its distinct columns, one per line. 7 B
000857 unicode/part1/U+1EE6 NormalizationTest.txt Ủ␊Ủ Line 910: LATIN CAPITAL LETTER U WITH HOOK ABOVE. Its distinct columns, one per line. 7 B
000858 unicode/part1/U+1EE7 NormalizationTest.txt ủ␊ủ Line 911: LATIN SMALL LETTER U WITH HOOK ABOVE. Its distinct columns, one per line. 7 B
000859 unicode/part1/U+1EE8 NormalizationTest.txt Ứ␊Ứ Line 912: LATIN CAPITAL LETTER U WITH HORN AND ACUTE. Its distinct columns, one per line. 9 B
000860 unicode/part1/U+1EE9 NormalizationTest.txt ứ␊ứ Line 913: LATIN SMALL LETTER U WITH HORN AND ACUTE. Its distinct columns, one per line. 9 B
000861 unicode/part1/U+1EEA NormalizationTest.txt Ừ␊Ừ Line 914: LATIN CAPITAL LETTER U WITH HORN AND GRAVE. Its distinct columns, one per line. 9 B
000862 unicode/part1/U+1EEB NormalizationTest.txt ừ␊ừ Line 915: LATIN SMALL LETTER U WITH HORN AND GRAVE. Its distinct columns, one per line. 9 B
000863 unicode/part1/U+1EEC NormalizationTest.txt Ử␊Ử Line 916: LATIN CAPITAL LETTER U WITH HORN AND HOOK ABOVE. Its distinct columns, one per line. 9 B
000864 unicode/part1/U+1EED NormalizationTest.txt ử␊ử Line 917: LATIN SMALL LETTER U WITH HORN AND HOOK ABOVE. Its distinct columns, one per line. 9 B
000865 unicode/part1/U+1EEE NormalizationTest.txt Ữ␊Ữ Line 918: LATIN CAPITAL LETTER U WITH HORN AND TILDE. Its distinct columns, one per line. 9 B
000866 unicode/part1/U+1EEF NormalizationTest.txt ữ␊ữ Line 919: LATIN SMALL LETTER U WITH HORN AND TILDE. Its distinct columns, one per line. 9 B
000867 unicode/part1/U+1EF0 NormalizationTest.txt Ự␊Ự Line 920: LATIN CAPITAL LETTER U WITH HORN AND DOT BELOW. Its distinct columns, one per line. 9 B
000868 unicode/part1/U+1EF1 NormalizationTest.txt ự␊ự Line 921: LATIN SMALL LETTER U WITH HORN AND DOT BELOW. Its distinct columns, one per line. 9 B
000869 unicode/part1/U+1EF2 NormalizationTest.txt Ỳ␊Ỳ Line 922: LATIN CAPITAL LETTER Y WITH GRAVE. Its distinct columns, one per line. 7 B
000870 unicode/part1/U+1EF3 NormalizationTest.txt ỳ␊ỳ Line 923: LATIN SMALL LETTER Y WITH GRAVE. Its distinct columns, one per line. 7 B
000871 unicode/part1/U+1EF4 NormalizationTest.txt Ỵ␊Ỵ Line 924: LATIN CAPITAL LETTER Y WITH DOT BELOW. Its distinct columns, one per line. 7 B
000872 unicode/part1/U+1EF5 NormalizationTest.txt ỵ␊ỵ Line 925: LATIN SMALL LETTER Y WITH DOT BELOW. Its distinct columns, one per line. 7 B
000873 unicode/part1/U+1EF6 NormalizationTest.txt Ỷ␊Ỷ Line 926: LATIN CAPITAL LETTER Y WITH HOOK ABOVE. Its distinct columns, one per line. 7 B
000874 unicode/part1/U+1EF7 NormalizationTest.txt ỷ␊ỷ Line 927: LATIN SMALL LETTER Y WITH HOOK ABOVE. Its distinct columns, one per line. 7 B
000875 unicode/part1/U+1EF8 NormalizationTest.txt Ỹ␊Ỹ Line 928: LATIN CAPITAL LETTER Y WITH TILDE. Its distinct columns, one per line. 7 B
000876 unicode/part1/U+1EF9 NormalizationTest.txt ỹ␊ỹ Line 929: LATIN SMALL LETTER Y WITH TILDE. Its distinct columns, one per line. 7 B
000877 unicode/part1/U+1F00 NormalizationTest.txt ἀ␊ἀ Line 930: GREEK SMALL LETTER ALPHA WITH PSILI. Its distinct columns, one per line. 8 B
000878 unicode/part1/U+1F01 NormalizationTest.txt ἁ␊ἁ Line 931: GREEK SMALL LETTER ALPHA WITH DASIA. Its distinct columns, one per line. 8 B
000879 unicode/part1/U+1F02 NormalizationTest.txt ἂ␊ἂ Line 932: GREEK SMALL LETTER ALPHA WITH PSILI AND VARIA. Its distinct columns, one per line. 10 B
000880 unicode/part1/U+1F03 NormalizationTest.txt ἃ␊ἃ Line 933: GREEK SMALL LETTER ALPHA WITH DASIA AND VARIA. Its distinct columns, one per line. 10 B
000881 unicode/part1/U+1F04 NormalizationTest.txt ἄ␊ἄ Line 934: GREEK SMALL LETTER ALPHA WITH PSILI AND OXIA. Its distinct columns, one per line. 10 B
000882 unicode/part1/U+1F05 NormalizationTest.txt ἅ␊ἅ Line 935: GREEK SMALL LETTER ALPHA WITH DASIA AND OXIA. Its distinct columns, one per line. 10 B
000883 unicode/part1/U+1F06 NormalizationTest.txt ἆ␊ἆ Line 936: GREEK SMALL LETTER ALPHA WITH PSILI AND PERISPOMENI. Its distinct columns, one per line. 10 B
000884 unicode/part1/U+1F07 NormalizationTest.txt ἇ␊ἇ Line 937: GREEK SMALL LETTER ALPHA WITH DASIA AND PERISPOMENI. Its distinct columns, one per line. 10 B
000885 unicode/part1/U+1F08 NormalizationTest.txt Ἀ␊Ἀ Line 938: GREEK CAPITAL LETTER ALPHA WITH PSILI. Its distinct columns, one per line. 8 B
000886 unicode/part1/U+1F09 NormalizationTest.txt Ἁ␊Ἁ Line 939: GREEK CAPITAL LETTER ALPHA WITH DASIA. Its distinct columns, one per line. 8 B
000887 unicode/part1/U+1F0A NormalizationTest.txt Ἂ␊Ἂ Line 940: GREEK CAPITAL LETTER ALPHA WITH PSILI AND VARIA. Its distinct columns, one per line. 10 B
000888 unicode/part1/U+1F0B NormalizationTest.txt Ἃ␊Ἃ Line 941: GREEK CAPITAL LETTER ALPHA WITH DASIA AND VARIA. Its distinct columns, one per line. 10 B
000889 unicode/part1/U+1F0C NormalizationTest.txt Ἄ␊Ἄ Line 942: GREEK CAPITAL LETTER ALPHA WITH PSILI AND OXIA. Its distinct columns, one per line. 10 B
000890 unicode/part1/U+1F0D NormalizationTest.txt Ἅ␊Ἅ Line 943: GREEK CAPITAL LETTER ALPHA WITH DASIA AND OXIA. Its distinct columns, one per line. 10 B
000891 unicode/part1/U+1F0E NormalizationTest.txt Ἆ␊Ἆ Line 944: GREEK CAPITAL LETTER ALPHA WITH PSILI AND PERISPOMENI. Its distinct columns, one per line. 10 B
000892 unicode/part1/U+1F0F NormalizationTest.txt Ἇ␊Ἇ Line 945: GREEK CAPITAL LETTER ALPHA WITH DASIA AND PERISPOMENI. Its distinct columns, one per line. 10 B
000893 unicode/part1/U+1F10 NormalizationTest.txt ἐ␊ἐ Line 946: GREEK SMALL LETTER EPSILON WITH PSILI. Its distinct columns, one per line. 8 B
000894 unicode/part1/U+1F11 NormalizationTest.txt ἑ␊ἑ Line 947: GREEK SMALL LETTER EPSILON WITH DASIA. Its distinct columns, one per line. 8 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.