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

3,833 of 11,911 cases

Case Name Expected Note Size
003783 unicode/part1/U+FF50 NormalizationTest.txt p␊p Line 15008: FULLWIDTH LATIN SMALL LETTER P. Its distinct columns, one per line. 5 B
003784 unicode/part1/U+FF51 NormalizationTest.txt q␊q Line 15009: FULLWIDTH LATIN SMALL LETTER Q. Its distinct columns, one per line. 5 B
003785 unicode/part1/U+FF52 NormalizationTest.txt r␊r Line 15010: FULLWIDTH LATIN SMALL LETTER R. Its distinct columns, one per line. 5 B
003786 unicode/part1/U+FF53 NormalizationTest.txt s␊s Line 15011: FULLWIDTH LATIN SMALL LETTER S. Its distinct columns, one per line. 5 B
003787 unicode/part1/U+FF54 NormalizationTest.txt t␊t Line 15012: FULLWIDTH LATIN SMALL LETTER T. Its distinct columns, one per line. 5 B
003788 unicode/part1/U+FF55 NormalizationTest.txt u␊u Line 15013: FULLWIDTH LATIN SMALL LETTER U. Its distinct columns, one per line. 5 B
003789 unicode/part1/U+FF56 NormalizationTest.txt v␊v Line 15014: FULLWIDTH LATIN SMALL LETTER V. Its distinct columns, one per line. 5 B
003790 unicode/part1/U+FF57 NormalizationTest.txt w␊w Line 15015: FULLWIDTH LATIN SMALL LETTER W. Its distinct columns, one per line. 5 B
003791 unicode/part1/U+FF58 NormalizationTest.txt x␊x Line 15016: FULLWIDTH LATIN SMALL LETTER X. Its distinct columns, one per line. 5 B
003792 unicode/part1/U+FF59 NormalizationTest.txt y␊y Line 15017: FULLWIDTH LATIN SMALL LETTER Y. Its distinct columns, one per line. 5 B
003793 unicode/part1/U+FF5A NormalizationTest.txt z␊z Line 15018: FULLWIDTH LATIN SMALL LETTER Z. Its distinct columns, one per line. 5 B
003794 unicode/part1/U+FF5B NormalizationTest.txt {␊{ Line 15019: FULLWIDTH LEFT CURLY BRACKET. Its distinct columns, one per line. 5 B
003795 unicode/part1/U+FF5C NormalizationTest.txt |␊| Line 15020: FULLWIDTH VERTICAL LINE. Its distinct columns, one per line. 5 B
003796 unicode/part1/U+FF5D NormalizationTest.txt }␊} Line 15021: FULLWIDTH RIGHT CURLY BRACKET. Its distinct columns, one per line. 5 B
003797 unicode/part1/U+FF5E NormalizationTest.txt ~␊~ Line 15022: FULLWIDTH TILDE. Its distinct columns, one per line. 5 B
003798 unicode/part1/U+FF5F NormalizationTest.txt ⦅␊⦅ Line 15023: FULLWIDTH LEFT WHITE PARENTHESIS. Its distinct columns, one per line. 7 B
003799 unicode/part1/U+FF60 NormalizationTest.txt ⦆␊⦆ Line 15024: FULLWIDTH RIGHT WHITE PARENTHESIS. Its distinct columns, one per line. 7 B
003800 unicode/part1/U+FF61 NormalizationTest.txt 。␊。 Line 15025: HALFWIDTH IDEOGRAPHIC FULL STOP. Its distinct columns, one per line. 7 B
003801 unicode/part1/U+FF62 NormalizationTest.txt 「␊「 Line 15026: HALFWIDTH LEFT CORNER BRACKET. Its distinct columns, one per line. 7 B
003802 unicode/part1/U+FF63 NormalizationTest.txt 」␊」 Line 15027: HALFWIDTH RIGHT CORNER BRACKET. Its distinct columns, one per line. 7 B
003803 unicode/part1/U+FF64 NormalizationTest.txt 、␊、 Line 15028: HALFWIDTH IDEOGRAPHIC COMMA. Its distinct columns, one per line. 7 B
003804 unicode/part1/U+FF65 NormalizationTest.txt ・␊・ Line 15029: HALFWIDTH KATAKANA MIDDLE DOT. Its distinct columns, one per line. 7 B
003805 unicode/part1/U+FF66 NormalizationTest.txt ヲ␊ヲ Line 15030: HALFWIDTH KATAKANA LETTER WO. Its distinct columns, one per line. 7 B
003806 unicode/part1/U+FF67 NormalizationTest.txt ァ␊ァ Line 15031: HALFWIDTH KATAKANA LETTER SMALL A. Its distinct columns, one per line. 7 B
003807 unicode/part1/U+FF68 NormalizationTest.txt ィ␊ィ Line 15032: HALFWIDTH KATAKANA LETTER SMALL I. Its distinct columns, one per line. 7 B
003808 unicode/part1/U+FF69 NormalizationTest.txt ゥ␊ゥ Line 15033: HALFWIDTH KATAKANA LETTER SMALL U. Its distinct columns, one per line. 7 B
003809 unicode/part1/U+FF6A NormalizationTest.txt ェ␊ェ Line 15034: HALFWIDTH KATAKANA LETTER SMALL E. Its distinct columns, one per line. 7 B
003810 unicode/part1/U+FF6B NormalizationTest.txt ォ␊ォ Line 15035: HALFWIDTH KATAKANA LETTER SMALL O. Its distinct columns, one per line. 7 B
003811 unicode/part1/U+FF6C NormalizationTest.txt ャ␊ャ Line 15036: HALFWIDTH KATAKANA LETTER SMALL YA. Its distinct columns, one per line. 7 B
003812 unicode/part1/U+FF6D NormalizationTest.txt ュ␊ュ Line 15037: HALFWIDTH KATAKANA LETTER SMALL YU. Its distinct columns, one per line. 7 B
003813 unicode/part1/U+FF6E NormalizationTest.txt ョ␊ョ Line 15038: HALFWIDTH KATAKANA LETTER SMALL YO. Its distinct columns, one per line. 7 B
003814 unicode/part1/U+FF6F NormalizationTest.txt ッ␊ッ Line 15039: HALFWIDTH KATAKANA LETTER SMALL TU. Its distinct columns, one per line. 7 B
003815 unicode/part1/U+FF70 NormalizationTest.txt ー␊ー Line 15040: HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK. Its distinct columns, one per line. 7 B
003816 unicode/part1/U+FF71 NormalizationTest.txt ア␊ア Line 15041: HALFWIDTH KATAKANA LETTER A. Its distinct columns, one per line. 7 B
003817 unicode/part1/U+FF72 NormalizationTest.txt イ␊イ Line 15042: HALFWIDTH KATAKANA LETTER I. Its distinct columns, one per line. 7 B
003818 unicode/part1/U+FF73 NormalizationTest.txt ウ␊ウ Line 15043: HALFWIDTH KATAKANA LETTER U. Its distinct columns, one per line. 7 B
003819 unicode/part1/U+FF74 NormalizationTest.txt エ␊エ Line 15044: HALFWIDTH KATAKANA LETTER E. Its distinct columns, one per line. 7 B
003820 unicode/part1/U+FF75 NormalizationTest.txt オ␊オ Line 15045: HALFWIDTH KATAKANA LETTER O. Its distinct columns, one per line. 7 B
003821 unicode/part1/U+FF76 NormalizationTest.txt カ␊カ Line 15046: HALFWIDTH KATAKANA LETTER KA. Its distinct columns, one per line. 7 B
003822 unicode/part1/U+FF77 NormalizationTest.txt キ␊キ Line 15047: HALFWIDTH KATAKANA LETTER KI. Its distinct columns, one per line. 7 B
003823 unicode/part1/U+FF78 NormalizationTest.txt ク␊ク Line 15048: HALFWIDTH KATAKANA LETTER KU. Its distinct columns, one per line. 7 B
003824 unicode/part1/U+FF79 NormalizationTest.txt ケ␊ケ Line 15049: HALFWIDTH KATAKANA LETTER KE. Its distinct columns, one per line. 7 B
003825 unicode/part1/U+FF7A NormalizationTest.txt コ␊コ Line 15050: HALFWIDTH KATAKANA LETTER KO. Its distinct columns, one per line. 7 B
003826 unicode/part1/U+FF7B NormalizationTest.txt サ␊サ Line 15051: HALFWIDTH KATAKANA LETTER SA. Its distinct columns, one per line. 7 B
003827 unicode/part1/U+FF7C NormalizationTest.txt シ␊シ Line 15052: HALFWIDTH KATAKANA LETTER SI. Its distinct columns, one per line. 7 B
003828 unicode/part1/U+FF7D NormalizationTest.txt ス␊ス Line 15053: HALFWIDTH KATAKANA LETTER SU. Its distinct columns, one per line. 7 B
003829 unicode/part1/U+FF7E NormalizationTest.txt セ␊セ Line 15054: HALFWIDTH KATAKANA LETTER SE. Its distinct columns, one per line. 7 B
003830 unicode/part1/U+FF7F NormalizationTest.txt ソ␊ソ Line 15055: HALFWIDTH KATAKANA LETTER SO. Its distinct columns, one per line. 7 B
003831 unicode/part1/U+FF80 NormalizationTest.txt タ␊タ Line 15056: HALFWIDTH KATAKANA LETTER TA. Its distinct columns, one per line. 7 B
003832 unicode/part1/U+FF81 NormalizationTest.txt チ␊チ Line 15057: HALFWIDTH KATAKANA LETTER TI. Its distinct columns, one per line. 7 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.