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
002545 unicode/part1/U+F99B NormalizationTest.txt 鍊␊鍊 Line 13770: CJK COMPATIBILITY IDEOGRAPH-F99B. Its distinct columns, one per line. 7 B
002546 unicode/part1/U+F99C NormalizationTest.txt 列␊列 Line 13771: CJK COMPATIBILITY IDEOGRAPH-F99C. Its distinct columns, one per line. 7 B
002547 unicode/part1/U+F99D NormalizationTest.txt 劣␊劣 Line 13772: CJK COMPATIBILITY IDEOGRAPH-F99D. Its distinct columns, one per line. 7 B
002548 unicode/part1/U+F99E NormalizationTest.txt 咽␊咽 Line 13773: CJK COMPATIBILITY IDEOGRAPH-F99E. Its distinct columns, one per line. 7 B
002549 unicode/part1/U+F99F NormalizationTest.txt 烈␊烈 Line 13774: CJK COMPATIBILITY IDEOGRAPH-F99F. Its distinct columns, one per line. 7 B
002550 unicode/part1/U+F9A0 NormalizationTest.txt 裂␊裂 Line 13775: CJK COMPATIBILITY IDEOGRAPH-F9A0. Its distinct columns, one per line. 7 B
002551 unicode/part1/U+F9A1 NormalizationTest.txt 說␊說 Line 13776: CJK COMPATIBILITY IDEOGRAPH-F9A1. Its distinct columns, one per line. 7 B
002552 unicode/part1/U+F9A2 NormalizationTest.txt 廉␊廉 Line 13777: CJK COMPATIBILITY IDEOGRAPH-F9A2. Its distinct columns, one per line. 7 B
002553 unicode/part1/U+F9A3 NormalizationTest.txt 念␊念 Line 13778: CJK COMPATIBILITY IDEOGRAPH-F9A3. Its distinct columns, one per line. 7 B
002554 unicode/part1/U+F9A4 NormalizationTest.txt 捻␊捻 Line 13779: CJK COMPATIBILITY IDEOGRAPH-F9A4. Its distinct columns, one per line. 7 B
002555 unicode/part1/U+F9A5 NormalizationTest.txt 殮␊殮 Line 13780: CJK COMPATIBILITY IDEOGRAPH-F9A5. Its distinct columns, one per line. 7 B
002556 unicode/part1/U+F9A6 NormalizationTest.txt 簾␊簾 Line 13781: CJK COMPATIBILITY IDEOGRAPH-F9A6. Its distinct columns, one per line. 7 B
002557 unicode/part1/U+F9A7 NormalizationTest.txt 獵␊獵 Line 13782: CJK COMPATIBILITY IDEOGRAPH-F9A7. Its distinct columns, one per line. 7 B
002558 unicode/part1/U+F9A8 NormalizationTest.txt 令␊令 Line 13783: CJK COMPATIBILITY IDEOGRAPH-F9A8. Its distinct columns, one per line. 7 B
002559 unicode/part1/U+F9A9 NormalizationTest.txt 囹␊囹 Line 13784: CJK COMPATIBILITY IDEOGRAPH-F9A9. Its distinct columns, one per line. 7 B
002560 unicode/part1/U+F9AA NormalizationTest.txt 寧␊寧 Line 13785: CJK COMPATIBILITY IDEOGRAPH-F9AA. Its distinct columns, one per line. 7 B
002561 unicode/part1/U+F9AB NormalizationTest.txt 嶺␊嶺 Line 13786: CJK COMPATIBILITY IDEOGRAPH-F9AB. Its distinct columns, one per line. 7 B
002562 unicode/part1/U+F9AC NormalizationTest.txt 怜␊怜 Line 13787: CJK COMPATIBILITY IDEOGRAPH-F9AC. Its distinct columns, one per line. 7 B
002563 unicode/part1/U+F9AD NormalizationTest.txt 玲␊玲 Line 13788: CJK COMPATIBILITY IDEOGRAPH-F9AD. Its distinct columns, one per line. 7 B
002564 unicode/part1/U+F9AE NormalizationTest.txt 瑩␊瑩 Line 13789: CJK COMPATIBILITY IDEOGRAPH-F9AE. Its distinct columns, one per line. 7 B
002565 unicode/part1/U+F9AF NormalizationTest.txt 羚␊羚 Line 13790: CJK COMPATIBILITY IDEOGRAPH-F9AF. Its distinct columns, one per line. 7 B
002566 unicode/part1/U+F9B0 NormalizationTest.txt 聆␊聆 Line 13791: CJK COMPATIBILITY IDEOGRAPH-F9B0. Its distinct columns, one per line. 7 B
002567 unicode/part1/U+F9B1 NormalizationTest.txt 鈴␊鈴 Line 13792: CJK COMPATIBILITY IDEOGRAPH-F9B1. Its distinct columns, one per line. 7 B
002568 unicode/part1/U+F9B2 NormalizationTest.txt 零␊零 Line 13793: CJK COMPATIBILITY IDEOGRAPH-F9B2. Its distinct columns, one per line. 7 B
002569 unicode/part1/U+F9B3 NormalizationTest.txt 靈␊靈 Line 13794: CJK COMPATIBILITY IDEOGRAPH-F9B3. Its distinct columns, one per line. 7 B
002570 unicode/part1/U+F9B4 NormalizationTest.txt 領␊領 Line 13795: CJK COMPATIBILITY IDEOGRAPH-F9B4. Its distinct columns, one per line. 7 B
002571 unicode/part1/U+F9B5 NormalizationTest.txt 例␊例 Line 13796: CJK COMPATIBILITY IDEOGRAPH-F9B5. Its distinct columns, one per line. 7 B
002572 unicode/part1/U+F9B6 NormalizationTest.txt 禮␊禮 Line 13797: CJK COMPATIBILITY IDEOGRAPH-F9B6. Its distinct columns, one per line. 7 B
002573 unicode/part1/U+F9B7 NormalizationTest.txt 醴␊醴 Line 13798: CJK COMPATIBILITY IDEOGRAPH-F9B7. Its distinct columns, one per line. 7 B
002574 unicode/part1/U+F9B8 NormalizationTest.txt 隸␊隸 Line 13799: CJK COMPATIBILITY IDEOGRAPH-F9B8. Its distinct columns, one per line. 7 B
002575 unicode/part1/U+F9B9 NormalizationTest.txt 惡␊惡 Line 13800: CJK COMPATIBILITY IDEOGRAPH-F9B9. Its distinct columns, one per line. 7 B
002576 unicode/part1/U+F9BA NormalizationTest.txt 了␊了 Line 13801: CJK COMPATIBILITY IDEOGRAPH-F9BA. Its distinct columns, one per line. 7 B
002577 unicode/part1/U+F9BB NormalizationTest.txt 僚␊僚 Line 13802: CJK COMPATIBILITY IDEOGRAPH-F9BB. Its distinct columns, one per line. 7 B
002578 unicode/part1/U+F9BC NormalizationTest.txt 寮␊寮 Line 13803: CJK COMPATIBILITY IDEOGRAPH-F9BC. Its distinct columns, one per line. 7 B
002579 unicode/part1/U+F9BD NormalizationTest.txt 尿␊尿 Line 13804: CJK COMPATIBILITY IDEOGRAPH-F9BD. Its distinct columns, one per line. 7 B
002580 unicode/part1/U+F9BE NormalizationTest.txt 料␊料 Line 13805: CJK COMPATIBILITY IDEOGRAPH-F9BE. Its distinct columns, one per line. 7 B
002581 unicode/part1/U+F9BF NormalizationTest.txt 樂␊樂 Line 13806: CJK COMPATIBILITY IDEOGRAPH-F9BF. Its distinct columns, one per line. 7 B
002582 unicode/part1/U+F9C0 NormalizationTest.txt 燎␊燎 Line 13807: CJK COMPATIBILITY IDEOGRAPH-F9C0. Its distinct columns, one per line. 7 B
002583 unicode/part1/U+F9C1 NormalizationTest.txt 療␊療 Line 13808: CJK COMPATIBILITY IDEOGRAPH-F9C1. Its distinct columns, one per line. 7 B
002584 unicode/part1/U+F9C2 NormalizationTest.txt 蓼␊蓼 Line 13809: CJK COMPATIBILITY IDEOGRAPH-F9C2. Its distinct columns, one per line. 7 B
002585 unicode/part1/U+F9C3 NormalizationTest.txt 遼␊遼 Line 13810: CJK COMPATIBILITY IDEOGRAPH-F9C3. Its distinct columns, one per line. 7 B
002586 unicode/part1/U+F9C4 NormalizationTest.txt 龍␊龍 Line 13811: CJK COMPATIBILITY IDEOGRAPH-F9C4. Its distinct columns, one per line. 7 B
002587 unicode/part1/U+F9C5 NormalizationTest.txt 暈␊暈 Line 13812: CJK COMPATIBILITY IDEOGRAPH-F9C5. Its distinct columns, one per line. 7 B
002588 unicode/part1/U+F9C6 NormalizationTest.txt 阮␊阮 Line 13813: CJK COMPATIBILITY IDEOGRAPH-F9C6. Its distinct columns, one per line. 7 B
002589 unicode/part1/U+F9C7 NormalizationTest.txt 劉␊劉 Line 13814: CJK COMPATIBILITY IDEOGRAPH-F9C7. Its distinct columns, one per line. 7 B
002590 unicode/part1/U+F9C8 NormalizationTest.txt 杻␊杻 Line 13815: CJK COMPATIBILITY IDEOGRAPH-F9C8. Its distinct columns, one per line. 7 B
002591 unicode/part1/U+F9C9 NormalizationTest.txt 柳␊柳 Line 13816: CJK COMPATIBILITY IDEOGRAPH-F9C9. Its distinct columns, one per line. 7 B
002592 unicode/part1/U+F9CA NormalizationTest.txt 流␊流 Line 13817: CJK COMPATIBILITY IDEOGRAPH-F9CA. Its distinct columns, one per line. 7 B
002593 unicode/part1/U+F9CB NormalizationTest.txt 溜␊溜 Line 13818: CJK COMPATIBILITY IDEOGRAPH-F9CB. Its distinct columns, one per line. 7 B
002594 unicode/part1/U+F9CC NormalizationTest.txt 琉␊琉 Line 13819: CJK COMPATIBILITY IDEOGRAPH-F9CC. 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.