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

727 of 11,911 cases

Case Name Expected Note Size
008784 unicode/part4/line 20026 NormalizationTest.txt ῴ␊ῴ␊ῴ Line 20026: GREEK SMALL LETTER OMEGA WITH TONOS, COMBINING GREEK YPOGEGRAMMENI. Its distinct columns, one per line. 15 B
008785 unicode/part4/line 20027 NormalizationTest.txt ῴ␊ῴ␊ῴ Line 20027: GREEK SMALL LETTER OMEGA WITH OXIA, COMBINING GREEK YPOGEGRAMMENI. Its distinct columns, one per line. 16 B
008786 unicode/part4/line 20028 NormalizationTest.txt ῴ␊ῴ␊ῴ Line 20028: GREEK SMALL LETTER OMEGA WITH YPOGEGRAMMENI, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008787 unicode/part4/line 20029 NormalizationTest.txt ῴ␊ῴ␊ῴ Line 20029: GREEK SMALL LETTER OMEGA WITH YPOGEGRAMMENI, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008788 unicode/part4/line 20030 NormalizationTest.txt ῷ␊ῷ␊ῷ Line 20030: GREEK SMALL LETTER OMEGA WITH YPOGEGRAMMENI, COMBINING GREEK PERISPOMENI. Its distinct columns, one per line. 16 B
008789 unicode/part4/line 20031 NormalizationTest.txt ῷ␊ῷ␊ῷ Line 20031: GREEK SMALL LETTER OMEGA WITH PERISPOMENI, COMBINING GREEK YPOGEGRAMMENI. Its distinct columns, one per line. 16 B
008790 unicode/part4/line 20032 NormalizationTest.txt שּׁ␊שּׁ Line 20032: HEBREW LETTER SHIN WITH SHIN DOT, HEBREW POINT DAGESH OR MAPIQ. Its distinct columns, one per line. 12 B
008791 unicode/part4/line 20033 NormalizationTest.txt שּׁ␊שּׁ Line 20033: HEBREW LETTER SHIN WITH DAGESH, HEBREW POINT SHIN DOT. Its distinct columns, one per line. 12 B
008792 unicode/part4/line 20034 NormalizationTest.txt שּׂ␊שּׂ Line 20034: HEBREW LETTER SHIN WITH SIN DOT, HEBREW POINT DAGESH OR MAPIQ. Its distinct columns, one per line. 12 B
008793 unicode/part4/line 20035 NormalizationTest.txt שּׂ␊שּׂ Line 20035: HEBREW LETTER SHIN WITH DAGESH, HEBREW POINT SIN DOT. Its distinct columns, one per line. 12 B
008794 unicode/part4/line 20036 NormalizationTest.txt 𖄦␊𖄦␊𖄦 Line 20036: GURUNG KHEMA VOWEL SIGN AA, GURUNG KHEMA VOWEL SIGN E. Its distinct columns, one per line. 26 B
008795 unicode/part4/line 20037 NormalizationTest.txt 𖄦␊𖄦␊𖄦 Line 20037: GURUNG KHEMA VOWEL SIGN U, GURUNG KHEMA VOWEL SIGN I. Its distinct columns, one per line. 26 B
008796 unicode/part4/line 20038 NormalizationTest.txt 𖄧␊𖄧␊𖄧 Line 20038: GURUNG KHEMA VOWEL SIGN AA, GURUNG KHEMA VOWEL SIGN EE. Its distinct columns, one per line. 26 B
008797 unicode/part4/line 20039 NormalizationTest.txt 𖄧␊𖄧␊𖄧 Line 20039: GURUNG KHEMA VOWEL SIGN UU, GURUNG KHEMA VOWEL SIGN I. Its distinct columns, one per line. 26 B
008798 unicode/part4/line 20040 NormalizationTest.txt 𖄨␊𖄨␊𖄨 Line 20040: GURUNG KHEMA VOWEL SIGN AA, GURUNG KHEMA VOWEL SIGN AI. Its distinct columns, one per line. 26 B
008799 unicode/part4/line 20041 NormalizationTest.txt 𖄨␊𖄨␊𖄨 Line 20041: GURUNG KHEMA VOWEL SIGN U, GURUNG KHEMA VOWEL SIGN II. Its distinct columns, one per line. 26 B
008800 unicode/part4/line 20042 NormalizationTest.txt 𖵪␊𖵪␊𖵪 Line 20042: KIRAT RAI VOWEL SIGN AA, KIRAT RAI VOWEL SIGN AI. Its distinct columns, one per line. 26 B
008801 unicode/part4/line 20043 NormalizationTest.txt 𖵪␊𖵪␊𖵪 Line 20043: KIRAT RAI VOWEL SIGN O, KIRAT RAI VOWEL SIGN E. Its distinct columns, one per line. 26 B
008802 unicode/part4/line 20044 NormalizationTest.txt 𝅘𝅥𝅮␊𝅘𝅥𝅮 Line 20044: MUSICAL SYMBOL QUARTER NOTE, MUSICAL SYMBOL COMBINING FLAG-1. Its distinct columns, one per line. 21 B
008803 unicode/part4/line 20045 NormalizationTest.txt 𝅘𝅥𝅯␊𝅘𝅥𝅯 Line 20045: MUSICAL SYMBOL QUARTER NOTE, MUSICAL SYMBOL COMBINING FLAG-2. Its distinct columns, one per line. 21 B
008804 unicode/part4/line 20046 NormalizationTest.txt 𝅘𝅥𝅰␊𝅘𝅥𝅰 Line 20046: MUSICAL SYMBOL QUARTER NOTE, MUSICAL SYMBOL COMBINING FLAG-3. Its distinct columns, one per line. 21 B
008805 unicode/part4/line 20047 NormalizationTest.txt 𝅘𝅥𝅱␊𝅘𝅥𝅱 Line 20047: MUSICAL SYMBOL QUARTER NOTE, MUSICAL SYMBOL COMBINING FLAG-4. Its distinct columns, one per line. 21 B
008806 unicode/part4/line 20048 NormalizationTest.txt 𝅘𝅥𝅲␊𝅘𝅥𝅲 Line 20048: MUSICAL SYMBOL QUARTER NOTE, MUSICAL SYMBOL COMBINING FLAG-5. Its distinct columns, one per line. 21 B
008807 unicode/part4/line 20049 NormalizationTest.txt 𝆹𝅥𝅮␊𝆹𝅥𝅮 Line 20049: MUSICAL SYMBOL MINIMA, MUSICAL SYMBOL COMBINING FLAG-1. Its distinct columns, one per line. 21 B
008808 unicode/part4/line 20050 NormalizationTest.txt 𝆺𝅥𝅮␊𝆺𝅥𝅮 Line 20050: MUSICAL SYMBOL MINIMA BLACK, MUSICAL SYMBOL COMBINING FLAG-1. Its distinct columns, one per line. 21 B
008809 unicode/part4/line 20051 NormalizationTest.txt 𝆹𝅥𝅯␊𝆹𝅥𝅯 Line 20051: MUSICAL SYMBOL MINIMA, MUSICAL SYMBOL COMBINING FLAG-2. Its distinct columns, one per line. 21 B
008810 unicode/part4/line 20052 NormalizationTest.txt 𝆺𝅥𝅯␊𝆺𝅥𝅯 Line 20052: MUSICAL SYMBOL MINIMA BLACK, MUSICAL SYMBOL COMBINING FLAG-2. Its distinct columns, one per line. 21 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.