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

All 11,911 cases

Case Name Expected Note Size
001800 unicode/part1/U+3153 NormalizationTest.txt ㅓ␊ᅥ Line 1853: HANGUL LETTER EO. Its distinct columns, one per line. 7 B
001801 unicode/part1/U+3154 NormalizationTest.txt ㅔ␊ᅦ Line 1854: HANGUL LETTER E. Its distinct columns, one per line. 7 B
001802 unicode/part1/U+3155 NormalizationTest.txt ㅕ␊ᅧ Line 1855: HANGUL LETTER YEO. Its distinct columns, one per line. 7 B
001803 unicode/part1/U+3156 NormalizationTest.txt ㅖ␊ᅨ Line 1856: HANGUL LETTER YE. Its distinct columns, one per line. 7 B
001804 unicode/part1/U+3157 NormalizationTest.txt ㅗ␊ᅩ Line 1857: HANGUL LETTER O. Its distinct columns, one per line. 7 B
001805 unicode/part1/U+3158 NormalizationTest.txt ㅘ␊ᅪ Line 1858: HANGUL LETTER WA. Its distinct columns, one per line. 7 B
001806 unicode/part1/U+3159 NormalizationTest.txt ㅙ␊ᅫ Line 1859: HANGUL LETTER WAE. Its distinct columns, one per line. 7 B
001807 unicode/part1/U+315A NormalizationTest.txt ㅚ␊ᅬ Line 1860: HANGUL LETTER OE. Its distinct columns, one per line. 7 B
001808 unicode/part1/U+315B NormalizationTest.txt ㅛ␊ᅭ Line 1861: HANGUL LETTER YO. Its distinct columns, one per line. 7 B
001809 unicode/part1/U+315C NormalizationTest.txt ㅜ␊ᅮ Line 1862: HANGUL LETTER U. Its distinct columns, one per line. 7 B
001810 unicode/part1/U+315D NormalizationTest.txt ㅝ␊ᅯ Line 1863: HANGUL LETTER WEO. Its distinct columns, one per line. 7 B
001811 unicode/part1/U+315E NormalizationTest.txt ㅞ␊ᅰ Line 1864: HANGUL LETTER WE. Its distinct columns, one per line. 7 B
001812 unicode/part1/U+315F NormalizationTest.txt ㅟ␊ᅱ Line 1865: HANGUL LETTER WI. Its distinct columns, one per line. 7 B
001813 unicode/part1/U+3160 NormalizationTest.txt ㅠ␊ᅲ Line 1866: HANGUL LETTER YU. Its distinct columns, one per line. 7 B
001814 unicode/part1/U+3161 NormalizationTest.txt ㅡ␊ᅳ Line 1867: HANGUL LETTER EU. Its distinct columns, one per line. 7 B
001815 unicode/part1/U+3162 NormalizationTest.txt ㅢ␊ᅴ Line 1868: HANGUL LETTER YI. Its distinct columns, one per line. 7 B
001816 unicode/part1/U+3163 NormalizationTest.txt ㅣ␊ᅵ Line 1869: HANGUL LETTER I. Its distinct columns, one per line. 7 B
001817 unicode/part1/U+3164 NormalizationTest.txt ㅤ␊ᅠ Line 1870: HANGUL FILLER. Its distinct columns, one per line. 7 B
001818 unicode/part1/U+3165 NormalizationTest.txt ㅥ␊ᄔ Line 1871: HANGUL LETTER SSANGNIEUN. Its distinct columns, one per line. 7 B
001819 unicode/part1/U+3166 NormalizationTest.txt ㅦ␊ᄕ Line 1872: HANGUL LETTER NIEUN-TIKEUT. Its distinct columns, one per line. 7 B
001820 unicode/part1/U+3167 NormalizationTest.txt ㅧ␊ᇇ Line 1873: HANGUL LETTER NIEUN-SIOS. Its distinct columns, one per line. 7 B
001821 unicode/part1/U+3168 NormalizationTest.txt ㅨ␊ᇈ Line 1874: HANGUL LETTER NIEUN-PANSIOS. Its distinct columns, one per line. 7 B
001822 unicode/part1/U+3169 NormalizationTest.txt ㅩ␊ᇌ Line 1875: HANGUL LETTER RIEUL-KIYEOK-SIOS. Its distinct columns, one per line. 7 B
001823 unicode/part1/U+316A NormalizationTest.txt ㅪ␊ᇎ Line 1876: HANGUL LETTER RIEUL-TIKEUT. Its distinct columns, one per line. 7 B
001824 unicode/part1/U+316B NormalizationTest.txt ㅫ␊ᇓ Line 1877: HANGUL LETTER RIEUL-PIEUP-SIOS. Its distinct columns, one per line. 7 B
001825 unicode/part1/U+316C NormalizationTest.txt ㅬ␊ᇗ Line 1878: HANGUL LETTER RIEUL-PANSIOS. Its distinct columns, one per line. 7 B
001826 unicode/part1/U+316D NormalizationTest.txt ㅭ␊ᇙ Line 1879: HANGUL LETTER RIEUL-YEORINHIEUH. Its distinct columns, one per line. 7 B
001827 unicode/part1/U+316E NormalizationTest.txt ㅮ␊ᄜ Line 1880: HANGUL LETTER MIEUM-PIEUP. Its distinct columns, one per line. 7 B
001828 unicode/part1/U+316F NormalizationTest.txt ㅯ␊ᇝ Line 1881: HANGUL LETTER MIEUM-SIOS. Its distinct columns, one per line. 7 B
001829 unicode/part1/U+3170 NormalizationTest.txt ㅰ␊ᇟ Line 1882: HANGUL LETTER MIEUM-PANSIOS. Its distinct columns, one per line. 7 B
001830 unicode/part1/U+3171 NormalizationTest.txt ㅱ␊ᄝ Line 1883: HANGUL LETTER KAPYEOUNMIEUM. Its distinct columns, one per line. 7 B
001831 unicode/part1/U+3172 NormalizationTest.txt ㅲ␊ᄞ Line 1884: HANGUL LETTER PIEUP-KIYEOK. Its distinct columns, one per line. 7 B
001832 unicode/part1/U+3173 NormalizationTest.txt ㅳ␊ᄠ Line 1885: HANGUL LETTER PIEUP-TIKEUT. Its distinct columns, one per line. 7 B
001833 unicode/part1/U+3174 NormalizationTest.txt ㅴ␊ᄢ Line 1886: HANGUL LETTER PIEUP-SIOS-KIYEOK. Its distinct columns, one per line. 7 B
001834 unicode/part1/U+3175 NormalizationTest.txt ㅵ␊ᄣ Line 1887: HANGUL LETTER PIEUP-SIOS-TIKEUT. Its distinct columns, one per line. 7 B
001835 unicode/part1/U+3176 NormalizationTest.txt ㅶ␊ᄧ Line 1888: HANGUL LETTER PIEUP-CIEUC. Its distinct columns, one per line. 7 B
001836 unicode/part1/U+3177 NormalizationTest.txt ㅷ␊ᄩ Line 1889: HANGUL LETTER PIEUP-THIEUTH. Its distinct columns, one per line. 7 B
001837 unicode/part1/U+3178 NormalizationTest.txt ㅸ␊ᄫ Line 1890: HANGUL LETTER KAPYEOUNPIEUP. Its distinct columns, one per line. 7 B
001838 unicode/part1/U+3179 NormalizationTest.txt ㅹ␊ᄬ Line 1891: HANGUL LETTER KAPYEOUNSSANGPIEUP. Its distinct columns, one per line. 7 B
001839 unicode/part1/U+317A NormalizationTest.txt ㅺ␊ᄭ Line 1892: HANGUL LETTER SIOS-KIYEOK. Its distinct columns, one per line. 7 B
001840 unicode/part1/U+317B NormalizationTest.txt ㅻ␊ᄮ Line 1893: HANGUL LETTER SIOS-NIEUN. Its distinct columns, one per line. 7 B
001841 unicode/part1/U+317C NormalizationTest.txt ㅼ␊ᄯ Line 1894: HANGUL LETTER SIOS-TIKEUT. Its distinct columns, one per line. 7 B
001842 unicode/part1/U+317D NormalizationTest.txt ㅽ␊ᄲ Line 1895: HANGUL LETTER SIOS-PIEUP. Its distinct columns, one per line. 7 B
001843 unicode/part1/U+317E NormalizationTest.txt ㅾ␊ᄶ Line 1896: HANGUL LETTER SIOS-CIEUC. Its distinct columns, one per line. 7 B
001844 unicode/part1/U+317F NormalizationTest.txt ㅿ␊ᅀ Line 1897: HANGUL LETTER PANSIOS. Its distinct columns, one per line. 7 B
001845 unicode/part1/U+3180 NormalizationTest.txt ㆀ␊ᅇ Line 1898: HANGUL LETTER SSANGIEUNG. Its distinct columns, one per line. 7 B
001846 unicode/part1/U+3181 NormalizationTest.txt ㆁ␊ᅌ Line 1899: HANGUL LETTER YESIEUNG. Its distinct columns, one per line. 7 B
001847 unicode/part1/U+3182 NormalizationTest.txt ㆂ␊ᇱ Line 1900: HANGUL LETTER YESIEUNG-SIOS. Its distinct columns, one per line. 7 B
001848 unicode/part1/U+3183 NormalizationTest.txt ㆃ␊ᇲ Line 1901: HANGUL LETTER YESIEUNG-PANSIOS. Its distinct columns, one per line. 7 B
001849 unicode/part1/U+3184 NormalizationTest.txt ㆄ␊ᅗ Line 1902: HANGUL LETTER KAPYEOUNPHIEUPH. 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.