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

1,049 of 11,911 cases

Case Name Expected Note Size
002607 unicode/part1/U+F9D9 NormalizationTest.txt 慄␊慄 Line 13832: CJK COMPATIBILITY IDEOGRAPH-F9D9. Its distinct columns, one per line. 7 B
002608 unicode/part1/U+F9DA NormalizationTest.txt 栗␊栗 Line 13833: CJK COMPATIBILITY IDEOGRAPH-F9DA. Its distinct columns, one per line. 7 B
002609 unicode/part1/U+F9DB NormalizationTest.txt 率␊率 Line 13834: CJK COMPATIBILITY IDEOGRAPH-F9DB. Its distinct columns, one per line. 7 B
002610 unicode/part1/U+F9DC NormalizationTest.txt 隆␊隆 Line 13835: CJK COMPATIBILITY IDEOGRAPH-F9DC. Its distinct columns, one per line. 7 B
002611 unicode/part1/U+F9DD NormalizationTest.txt 利␊利 Line 13836: CJK COMPATIBILITY IDEOGRAPH-F9DD. Its distinct columns, one per line. 7 B
002612 unicode/part1/U+F9DE NormalizationTest.txt 吏␊吏 Line 13837: CJK COMPATIBILITY IDEOGRAPH-F9DE. Its distinct columns, one per line. 7 B
002613 unicode/part1/U+F9DF NormalizationTest.txt 履␊履 Line 13838: CJK COMPATIBILITY IDEOGRAPH-F9DF. Its distinct columns, one per line. 7 B
002614 unicode/part1/U+F9E0 NormalizationTest.txt 易␊易 Line 13839: CJK COMPATIBILITY IDEOGRAPH-F9E0. Its distinct columns, one per line. 7 B
002615 unicode/part1/U+F9E1 NormalizationTest.txt 李␊李 Line 13840: CJK COMPATIBILITY IDEOGRAPH-F9E1. Its distinct columns, one per line. 7 B
002616 unicode/part1/U+F9E2 NormalizationTest.txt 梨␊梨 Line 13841: CJK COMPATIBILITY IDEOGRAPH-F9E2. Its distinct columns, one per line. 7 B
002617 unicode/part1/U+F9E3 NormalizationTest.txt 泥␊泥 Line 13842: CJK COMPATIBILITY IDEOGRAPH-F9E3. Its distinct columns, one per line. 7 B
002618 unicode/part1/U+F9E4 NormalizationTest.txt 理␊理 Line 13843: CJK COMPATIBILITY IDEOGRAPH-F9E4. Its distinct columns, one per line. 7 B
002619 unicode/part1/U+F9E5 NormalizationTest.txt 痢␊痢 Line 13844: CJK COMPATIBILITY IDEOGRAPH-F9E5. Its distinct columns, one per line. 7 B
002620 unicode/part1/U+F9E6 NormalizationTest.txt 罹␊罹 Line 13845: CJK COMPATIBILITY IDEOGRAPH-F9E6. Its distinct columns, one per line. 7 B
002621 unicode/part1/U+F9E7 NormalizationTest.txt 裏␊裏 Line 13846: CJK COMPATIBILITY IDEOGRAPH-F9E7. Its distinct columns, one per line. 7 B
002622 unicode/part1/U+F9E8 NormalizationTest.txt 裡␊裡 Line 13847: CJK COMPATIBILITY IDEOGRAPH-F9E8. Its distinct columns, one per line. 7 B
002623 unicode/part1/U+F9E9 NormalizationTest.txt 里␊里 Line 13848: CJK COMPATIBILITY IDEOGRAPH-F9E9. Its distinct columns, one per line. 7 B
002624 unicode/part1/U+F9EA NormalizationTest.txt 離␊離 Line 13849: CJK COMPATIBILITY IDEOGRAPH-F9EA. Its distinct columns, one per line. 7 B
002625 unicode/part1/U+F9EB NormalizationTest.txt 匿␊匿 Line 13850: CJK COMPATIBILITY IDEOGRAPH-F9EB. Its distinct columns, one per line. 7 B
002626 unicode/part1/U+F9EC NormalizationTest.txt 溺␊溺 Line 13851: CJK COMPATIBILITY IDEOGRAPH-F9EC. Its distinct columns, one per line. 7 B
002627 unicode/part1/U+F9ED NormalizationTest.txt 吝␊吝 Line 13852: CJK COMPATIBILITY IDEOGRAPH-F9ED. Its distinct columns, one per line. 7 B
002628 unicode/part1/U+F9EE NormalizationTest.txt 燐␊燐 Line 13853: CJK COMPATIBILITY IDEOGRAPH-F9EE. Its distinct columns, one per line. 7 B
002629 unicode/part1/U+F9EF NormalizationTest.txt 璘␊璘 Line 13854: CJK COMPATIBILITY IDEOGRAPH-F9EF. Its distinct columns, one per line. 7 B
002630 unicode/part1/U+F9F0 NormalizationTest.txt 藺␊藺 Line 13855: CJK COMPATIBILITY IDEOGRAPH-F9F0. Its distinct columns, one per line. 7 B
002631 unicode/part1/U+F9F1 NormalizationTest.txt 隣␊隣 Line 13856: CJK COMPATIBILITY IDEOGRAPH-F9F1. Its distinct columns, one per line. 7 B
002632 unicode/part1/U+F9F2 NormalizationTest.txt 鱗␊鱗 Line 13857: CJK COMPATIBILITY IDEOGRAPH-F9F2. Its distinct columns, one per line. 7 B
002633 unicode/part1/U+F9F3 NormalizationTest.txt 麟␊麟 Line 13858: CJK COMPATIBILITY IDEOGRAPH-F9F3. Its distinct columns, one per line. 7 B
002634 unicode/part1/U+F9F4 NormalizationTest.txt 林␊林 Line 13859: CJK COMPATIBILITY IDEOGRAPH-F9F4. Its distinct columns, one per line. 7 B
002635 unicode/part1/U+F9F5 NormalizationTest.txt 淋␊淋 Line 13860: CJK COMPATIBILITY IDEOGRAPH-F9F5. Its distinct columns, one per line. 7 B
002636 unicode/part1/U+F9F6 NormalizationTest.txt 臨␊臨 Line 13861: CJK COMPATIBILITY IDEOGRAPH-F9F6. Its distinct columns, one per line. 7 B
002637 unicode/part1/U+F9F7 NormalizationTest.txt 立␊立 Line 13862: CJK COMPATIBILITY IDEOGRAPH-F9F7. Its distinct columns, one per line. 7 B
002638 unicode/part1/U+F9F8 NormalizationTest.txt 笠␊笠 Line 13863: CJK COMPATIBILITY IDEOGRAPH-F9F8. Its distinct columns, one per line. 7 B
002639 unicode/part1/U+F9F9 NormalizationTest.txt 粒␊粒 Line 13864: CJK COMPATIBILITY IDEOGRAPH-F9F9. Its distinct columns, one per line. 7 B
002640 unicode/part1/U+F9FA NormalizationTest.txt 狀␊狀 Line 13865: CJK COMPATIBILITY IDEOGRAPH-F9FA. Its distinct columns, one per line. 7 B
002641 unicode/part1/U+F9FB NormalizationTest.txt 炙␊炙 Line 13866: CJK COMPATIBILITY IDEOGRAPH-F9FB. Its distinct columns, one per line. 7 B
002642 unicode/part1/U+F9FC NormalizationTest.txt 識␊識 Line 13867: CJK COMPATIBILITY IDEOGRAPH-F9FC. Its distinct columns, one per line. 7 B
002643 unicode/part1/U+F9FD NormalizationTest.txt 什␊什 Line 13868: CJK COMPATIBILITY IDEOGRAPH-F9FD. Its distinct columns, one per line. 7 B
002644 unicode/part1/U+F9FE NormalizationTest.txt 茶␊茶 Line 13869: CJK COMPATIBILITY IDEOGRAPH-F9FE. Its distinct columns, one per line. 7 B
002645 unicode/part1/U+F9FF NormalizationTest.txt 刺␊刺 Line 13870: CJK COMPATIBILITY IDEOGRAPH-F9FF. Its distinct columns, one per line. 7 B
002646 unicode/part1/U+FA00 NormalizationTest.txt 切␊切 Line 13871: CJK COMPATIBILITY IDEOGRAPH-FA00. Its distinct columns, one per line. 7 B
002647 unicode/part1/U+FA01 NormalizationTest.txt 度␊度 Line 13872: CJK COMPATIBILITY IDEOGRAPH-FA01. Its distinct columns, one per line. 7 B
002648 unicode/part1/U+FA02 NormalizationTest.txt 拓␊拓 Line 13873: CJK COMPATIBILITY IDEOGRAPH-FA02. Its distinct columns, one per line. 7 B
002649 unicode/part1/U+FA03 NormalizationTest.txt 糖␊糖 Line 13874: CJK COMPATIBILITY IDEOGRAPH-FA03. Its distinct columns, one per line. 7 B
002650 unicode/part1/U+FA04 NormalizationTest.txt 宅␊宅 Line 13875: CJK COMPATIBILITY IDEOGRAPH-FA04. Its distinct columns, one per line. 7 B
002651 unicode/part1/U+FA05 NormalizationTest.txt 洞␊洞 Line 13876: CJK COMPATIBILITY IDEOGRAPH-FA05. Its distinct columns, one per line. 7 B
002652 unicode/part1/U+FA06 NormalizationTest.txt 暴␊暴 Line 13877: CJK COMPATIBILITY IDEOGRAPH-FA06. Its distinct columns, one per line. 7 B
002653 unicode/part1/U+FA07 NormalizationTest.txt 輻␊輻 Line 13878: CJK COMPATIBILITY IDEOGRAPH-FA07. Its distinct columns, one per line. 7 B
002654 unicode/part1/U+FA08 NormalizationTest.txt 行␊行 Line 13879: CJK COMPATIBILITY IDEOGRAPH-FA08. Its distinct columns, one per line. 7 B
002655 unicode/part1/U+FA09 NormalizationTest.txt 降␊降 Line 13880: CJK COMPATIBILITY IDEOGRAPH-FA09. Its distinct columns, one per line. 7 B
002656 unicode/part1/U+FA0A NormalizationTest.txt 見␊見 Line 13881: CJK COMPATIBILITY IDEOGRAPH-FA0A. 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.