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
1,049 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 002557 | unicode/part1/U+F9A7 NormalizationTest.txt |
獵␊獵
|
7 B | |
| 002558 | unicode/part1/U+F9A8 NormalizationTest.txt |
令␊令
|
7 B | |
| 002559 | unicode/part1/U+F9A9 NormalizationTest.txt |
囹␊囹
|
7 B | |
| 002560 | unicode/part1/U+F9AA NormalizationTest.txt |
寧␊寧
|
7 B | |
| 002561 | unicode/part1/U+F9AB NormalizationTest.txt |
嶺␊嶺
|
7 B | |
| 002562 | unicode/part1/U+F9AC NormalizationTest.txt |
怜␊怜
|
7 B | |
| 002563 | unicode/part1/U+F9AD NormalizationTest.txt |
玲␊玲
|
7 B | |
| 002564 | unicode/part1/U+F9AE NormalizationTest.txt |
瑩␊瑩
|
7 B | |
| 002565 | unicode/part1/U+F9AF NormalizationTest.txt |
羚␊羚
|
7 B | |
| 002566 | unicode/part1/U+F9B0 NormalizationTest.txt |
聆␊聆
|
7 B | |
| 002567 | unicode/part1/U+F9B1 NormalizationTest.txt |
鈴␊鈴
|
7 B | |
| 002568 | unicode/part1/U+F9B2 NormalizationTest.txt |
零␊零
|
7 B | |
| 002569 | unicode/part1/U+F9B3 NormalizationTest.txt |
靈␊靈
|
7 B | |
| 002570 | unicode/part1/U+F9B4 NormalizationTest.txt |
領␊領
|
7 B | |
| 002571 | unicode/part1/U+F9B5 NormalizationTest.txt |
例␊例
|
7 B | |
| 002572 | unicode/part1/U+F9B6 NormalizationTest.txt |
禮␊禮
|
7 B | |
| 002573 | unicode/part1/U+F9B7 NormalizationTest.txt |
醴␊醴
|
7 B | |
| 002574 | unicode/part1/U+F9B8 NormalizationTest.txt |
隸␊隸
|
7 B | |
| 002575 | unicode/part1/U+F9B9 NormalizationTest.txt |
惡␊惡
|
7 B | |
| 002576 | unicode/part1/U+F9BA NormalizationTest.txt |
了␊了
|
7 B | |
| 002577 | unicode/part1/U+F9BB NormalizationTest.txt |
僚␊僚
|
7 B | |
| 002578 | unicode/part1/U+F9BC NormalizationTest.txt |
寮␊寮
|
7 B | |
| 002579 | unicode/part1/U+F9BD NormalizationTest.txt |
尿␊尿
|
7 B | |
| 002580 | unicode/part1/U+F9BE NormalizationTest.txt |
料␊料
|
7 B | |
| 002581 | unicode/part1/U+F9BF NormalizationTest.txt |
樂␊樂
|
7 B | |
| 002582 | unicode/part1/U+F9C0 NormalizationTest.txt |
燎␊燎
|
7 B | |
| 002583 | unicode/part1/U+F9C1 NormalizationTest.txt |
療␊療
|
7 B | |
| 002584 | unicode/part1/U+F9C2 NormalizationTest.txt |
蓼␊蓼
|
7 B | |
| 002585 | unicode/part1/U+F9C3 NormalizationTest.txt |
遼␊遼
|
7 B | |
| 002586 | unicode/part1/U+F9C4 NormalizationTest.txt |
龍␊龍
|
7 B | |
| 002587 | unicode/part1/U+F9C5 NormalizationTest.txt |
暈␊暈
|
7 B | |
| 002588 | unicode/part1/U+F9C6 NormalizationTest.txt |
阮␊阮
|
7 B | |
| 002589 | unicode/part1/U+F9C7 NormalizationTest.txt |
劉␊劉
|
7 B | |
| 002590 | unicode/part1/U+F9C8 NormalizationTest.txt |
杻␊杻
|
7 B | |
| 002591 | unicode/part1/U+F9C9 NormalizationTest.txt |
柳␊柳
|
7 B | |
| 002592 | unicode/part1/U+F9CA NormalizationTest.txt |
流␊流
|
7 B | |
| 002593 | unicode/part1/U+F9CB NormalizationTest.txt |
溜␊溜
|
7 B | |
| 002594 | unicode/part1/U+F9CC NormalizationTest.txt |
琉␊琉
|
7 B | |
| 002595 | unicode/part1/U+F9CD NormalizationTest.txt |
留␊留
|
7 B | |
| 002596 | unicode/part1/U+F9CE NormalizationTest.txt |
硫␊硫
|
7 B | |
| 002597 | unicode/part1/U+F9CF NormalizationTest.txt |
紐␊紐
|
7 B | |
| 002598 | unicode/part1/U+F9D0 NormalizationTest.txt |
類␊類
|
7 B | |
| 002599 | unicode/part1/U+F9D1 NormalizationTest.txt |
六␊六
|
7 B | |
| 002600 | unicode/part1/U+F9D2 NormalizationTest.txt |
戮␊戮
|
7 B | |
| 002601 | unicode/part1/U+F9D3 NormalizationTest.txt |
陸␊陸
|
7 B | |
| 002602 | unicode/part1/U+F9D4 NormalizationTest.txt |
倫␊倫
|
7 B | |
| 002603 | unicode/part1/U+F9D5 NormalizationTest.txt |
崙␊崙
|
7 B | |
| 002604 | unicode/part1/U+F9D6 NormalizationTest.txt |
淪␊淪
|
7 B | |
| 002605 | unicode/part1/U+F9D7 NormalizationTest.txt |
輪␊輪
|
7 B | |
| 002606 | unicode/part1/U+F9D8 NormalizationTest.txt |
律␊律
|
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.
- NormalizationTest.txt — Unicode’s conformance test, the source of the 8,868 unicode cases; each case is one line, its distinct columns on separate lines
- The Unicode Character Database — combining classes, decompositions and composition exclusions, the source of the 157 ucd cases