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
005645 unicode/part1/U+2F8E9 NormalizationTest.txt 榣␊榣 Line 16870: CJK COMPATIBILITY IDEOGRAPH-2F8E9. Its distinct columns, one per line. 8 B
005646 unicode/part1/U+2F8EA NormalizationTest.txt 槪␊槪 Line 16871: CJK COMPATIBILITY IDEOGRAPH-2F8EA. Its distinct columns, one per line. 8 B
005647 unicode/part1/U+2F8EB NormalizationTest.txt 檨␊檨 Line 16872: CJK COMPATIBILITY IDEOGRAPH-2F8EB. Its distinct columns, one per line. 8 B
005648 unicode/part1/U+2F8EC NormalizationTest.txt 𣚣␊𣚣 Line 16873: CJK COMPATIBILITY IDEOGRAPH-2F8EC. Its distinct columns, one per line. 9 B
005649 unicode/part1/U+2F8ED NormalizationTest.txt 櫛␊櫛 Line 16874: CJK COMPATIBILITY IDEOGRAPH-2F8ED. Its distinct columns, one per line. 8 B
005650 unicode/part1/U+2F8EE NormalizationTest.txt 㰘␊㰘 Line 16875: CJK COMPATIBILITY IDEOGRAPH-2F8EE. Its distinct columns, one per line. 8 B
005651 unicode/part1/U+2F8EF NormalizationTest.txt 次␊次 Line 16876: CJK COMPATIBILITY IDEOGRAPH-2F8EF. Its distinct columns, one per line. 8 B
005652 unicode/part1/U+2F8F0 NormalizationTest.txt 𣢧␊𣢧 Line 16877: CJK COMPATIBILITY IDEOGRAPH-2F8F0. Its distinct columns, one per line. 9 B
005653 unicode/part1/U+2F8F1 NormalizationTest.txt 歔␊歔 Line 16878: CJK COMPATIBILITY IDEOGRAPH-2F8F1. Its distinct columns, one per line. 8 B
005654 unicode/part1/U+2F8F2 NormalizationTest.txt 㱎␊㱎 Line 16879: CJK COMPATIBILITY IDEOGRAPH-2F8F2. Its distinct columns, one per line. 8 B
005655 unicode/part1/U+2F8F3 NormalizationTest.txt 歲␊歲 Line 16880: CJK COMPATIBILITY IDEOGRAPH-2F8F3. Its distinct columns, one per line. 8 B
005656 unicode/part1/U+2F8F4 NormalizationTest.txt 殟␊殟 Line 16881: CJK COMPATIBILITY IDEOGRAPH-2F8F4. Its distinct columns, one per line. 8 B
005657 unicode/part1/U+2F8F5 NormalizationTest.txt 殺␊殺 Line 16882: CJK COMPATIBILITY IDEOGRAPH-2F8F5. Its distinct columns, one per line. 8 B
005658 unicode/part1/U+2F8F6 NormalizationTest.txt 殻␊殻 Line 16883: CJK COMPATIBILITY IDEOGRAPH-2F8F6. Its distinct columns, one per line. 8 B
005659 unicode/part1/U+2F8F7 NormalizationTest.txt 𣪍␊𣪍 Line 16884: CJK COMPATIBILITY IDEOGRAPH-2F8F7. Its distinct columns, one per line. 9 B
005660 unicode/part1/U+2F8F8 NormalizationTest.txt 𡴋␊𡴋 Line 16885: CJK COMPATIBILITY IDEOGRAPH-2F8F8. Its distinct columns, one per line. 9 B
005661 unicode/part1/U+2F8F9 NormalizationTest.txt 𣫺␊𣫺 Line 16886: CJK COMPATIBILITY IDEOGRAPH-2F8F9. Its distinct columns, one per line. 9 B
005662 unicode/part1/U+2F8FA NormalizationTest.txt 汎␊汎 Line 16887: CJK COMPATIBILITY IDEOGRAPH-2F8FA. Its distinct columns, one per line. 8 B
005663 unicode/part1/U+2F8FB NormalizationTest.txt 𣲼␊𣲼 Line 16888: CJK COMPATIBILITY IDEOGRAPH-2F8FB. Its distinct columns, one per line. 9 B
005664 unicode/part1/U+2F8FC NormalizationTest.txt 沿␊沿 Line 16889: CJK COMPATIBILITY IDEOGRAPH-2F8FC. Its distinct columns, one per line. 8 B
005665 unicode/part1/U+2F8FD NormalizationTest.txt 泍␊泍 Line 16890: CJK COMPATIBILITY IDEOGRAPH-2F8FD. Its distinct columns, one per line. 8 B
005666 unicode/part1/U+2F8FE NormalizationTest.txt 汧␊汧 Line 16891: CJK COMPATIBILITY IDEOGRAPH-2F8FE. Its distinct columns, one per line. 8 B
005667 unicode/part1/U+2F8FF NormalizationTest.txt 洖␊洖 Line 16892: CJK COMPATIBILITY IDEOGRAPH-2F8FF. Its distinct columns, one per line. 8 B
005668 unicode/part1/U+2F900 NormalizationTest.txt 派␊派 Line 16893: CJK COMPATIBILITY IDEOGRAPH-2F900. Its distinct columns, one per line. 8 B
005669 unicode/part1/U+2F901 NormalizationTest.txt 海␊海 Line 16894: CJK COMPATIBILITY IDEOGRAPH-2F901. Its distinct columns, one per line. 8 B
005670 unicode/part1/U+2F902 NormalizationTest.txt 流␊流 Line 16895: CJK COMPATIBILITY IDEOGRAPH-2F902. Its distinct columns, one per line. 8 B
005671 unicode/part1/U+2F903 NormalizationTest.txt 浩␊浩 Line 16896: CJK COMPATIBILITY IDEOGRAPH-2F903. Its distinct columns, one per line. 8 B
005672 unicode/part1/U+2F904 NormalizationTest.txt 浸␊浸 Line 16897: CJK COMPATIBILITY IDEOGRAPH-2F904. Its distinct columns, one per line. 8 B
005673 unicode/part1/U+2F905 NormalizationTest.txt 涅␊涅 Line 16898: CJK COMPATIBILITY IDEOGRAPH-2F905. Its distinct columns, one per line. 8 B
005674 unicode/part1/U+2F906 NormalizationTest.txt 𣴞␊𣴞 Line 16899: CJK COMPATIBILITY IDEOGRAPH-2F906. Its distinct columns, one per line. 9 B
005675 unicode/part1/U+2F907 NormalizationTest.txt 洴␊洴 Line 16900: CJK COMPATIBILITY IDEOGRAPH-2F907. Its distinct columns, one per line. 8 B
005676 unicode/part1/U+2F908 NormalizationTest.txt 港␊港 Line 16901: CJK COMPATIBILITY IDEOGRAPH-2F908. Its distinct columns, one per line. 8 B
005677 unicode/part1/U+2F909 NormalizationTest.txt 湮␊湮 Line 16902: CJK COMPATIBILITY IDEOGRAPH-2F909. Its distinct columns, one per line. 8 B
005678 unicode/part1/U+2F90A NormalizationTest.txt 㴳␊㴳 Line 16903: CJK COMPATIBILITY IDEOGRAPH-2F90A. Its distinct columns, one per line. 8 B
005679 unicode/part1/U+2F90B NormalizationTest.txt 滋␊滋 Line 16904: CJK COMPATIBILITY IDEOGRAPH-2F90B. Its distinct columns, one per line. 8 B
005680 unicode/part1/U+2F90C NormalizationTest.txt 滇␊滇 Line 16905: CJK COMPATIBILITY IDEOGRAPH-2F90C. Its distinct columns, one per line. 8 B
005681 unicode/part1/U+2F90D NormalizationTest.txt 𣻑␊𣻑 Line 16906: CJK COMPATIBILITY IDEOGRAPH-2F90D. Its distinct columns, one per line. 9 B
005682 unicode/part1/U+2F90E NormalizationTest.txt 淹␊淹 Line 16907: CJK COMPATIBILITY IDEOGRAPH-2F90E. Its distinct columns, one per line. 8 B
005683 unicode/part1/U+2F90F NormalizationTest.txt 潮␊潮 Line 16908: CJK COMPATIBILITY IDEOGRAPH-2F90F. Its distinct columns, one per line. 8 B
005684 unicode/part1/U+2F910 NormalizationTest.txt 𣽞␊𣽞 Line 16909: CJK COMPATIBILITY IDEOGRAPH-2F910. Its distinct columns, one per line. 9 B
005685 unicode/part1/U+2F911 NormalizationTest.txt 𣾎␊𣾎 Line 16910: CJK COMPATIBILITY IDEOGRAPH-2F911. Its distinct columns, one per line. 9 B
005686 unicode/part1/U+2F912 NormalizationTest.txt 濆␊濆 Line 16911: CJK COMPATIBILITY IDEOGRAPH-2F912. Its distinct columns, one per line. 8 B
005687 unicode/part1/U+2F913 NormalizationTest.txt 瀹␊瀹 Line 16912: CJK COMPATIBILITY IDEOGRAPH-2F913. Its distinct columns, one per line. 8 B
005688 unicode/part1/U+2F914 NormalizationTest.txt 瀞␊瀞 Line 16913: CJK COMPATIBILITY IDEOGRAPH-2F914. Its distinct columns, one per line. 8 B
005689 unicode/part1/U+2F915 NormalizationTest.txt 瀛␊瀛 Line 16914: CJK COMPATIBILITY IDEOGRAPH-2F915. Its distinct columns, one per line. 8 B
005690 unicode/part1/U+2F916 NormalizationTest.txt 㶖␊㶖 Line 16915: CJK COMPATIBILITY IDEOGRAPH-2F916. Its distinct columns, one per line. 8 B
005691 unicode/part1/U+2F917 NormalizationTest.txt 灊␊灊 Line 16916: CJK COMPATIBILITY IDEOGRAPH-2F917. Its distinct columns, one per line. 8 B
005692 unicode/part1/U+2F918 NormalizationTest.txt 災␊災 Line 16917: CJK COMPATIBILITY IDEOGRAPH-2F918. Its distinct columns, one per line. 8 B
005693 unicode/part1/U+2F919 NormalizationTest.txt 灷␊灷 Line 16918: CJK COMPATIBILITY IDEOGRAPH-2F919. Its distinct columns, one per line. 8 B
005694 unicode/part1/U+2F91A NormalizationTest.txt 炭␊炭 Line 16919: CJK COMPATIBILITY IDEOGRAPH-2F91A. 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.