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
3,833 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 001631 | unicode/part1/U+2F92 NormalizationTest.txt |
⾒␊見
|
7 B | |
| 001632 | unicode/part1/U+2F93 NormalizationTest.txt |
⾓␊角
|
7 B | |
| 001633 | unicode/part1/U+2F94 NormalizationTest.txt |
⾔␊言
|
7 B | |
| 001634 | unicode/part1/U+2F95 NormalizationTest.txt |
⾕␊谷
|
7 B | |
| 001635 | unicode/part1/U+2F96 NormalizationTest.txt |
⾖␊豆
|
7 B | |
| 001636 | unicode/part1/U+2F97 NormalizationTest.txt |
⾗␊豕
|
7 B | |
| 001637 | unicode/part1/U+2F98 NormalizationTest.txt |
⾘␊豸
|
7 B | |
| 001638 | unicode/part1/U+2F99 NormalizationTest.txt |
⾙␊貝
|
7 B | |
| 001639 | unicode/part1/U+2F9A NormalizationTest.txt |
⾚␊赤
|
7 B | |
| 001640 | unicode/part1/U+2F9B NormalizationTest.txt |
⾛␊走
|
7 B | |
| 001641 | unicode/part1/U+2F9C NormalizationTest.txt |
⾜␊足
|
7 B | |
| 001642 | unicode/part1/U+2F9D NormalizationTest.txt |
⾝␊身
|
7 B | |
| 001643 | unicode/part1/U+2F9E NormalizationTest.txt |
⾞␊車
|
7 B | |
| 001644 | unicode/part1/U+2F9F NormalizationTest.txt |
⾟␊辛
|
7 B | |
| 001645 | unicode/part1/U+2FA0 NormalizationTest.txt |
⾠␊辰
|
7 B | |
| 001646 | unicode/part1/U+2FA1 NormalizationTest.txt |
⾡␊辵
|
7 B | |
| 001647 | unicode/part1/U+2FA2 NormalizationTest.txt |
⾢␊邑
|
7 B | |
| 001648 | unicode/part1/U+2FA3 NormalizationTest.txt |
⾣␊酉
|
7 B | |
| 001649 | unicode/part1/U+2FA4 NormalizationTest.txt |
⾤␊釆
|
7 B | |
| 001650 | unicode/part1/U+2FA5 NormalizationTest.txt |
⾥␊里
|
7 B | |
| 001651 | unicode/part1/U+2FA6 NormalizationTest.txt |
⾦␊金
|
7 B | |
| 001652 | unicode/part1/U+2FA7 NormalizationTest.txt |
⾧␊長
|
7 B | |
| 001653 | unicode/part1/U+2FA8 NormalizationTest.txt |
⾨␊門
|
7 B | |
| 001654 | unicode/part1/U+2FA9 NormalizationTest.txt |
⾩␊阜
|
7 B | |
| 001655 | unicode/part1/U+2FAA NormalizationTest.txt |
⾪␊隶
|
7 B | |
| 001656 | unicode/part1/U+2FAB NormalizationTest.txt |
⾫␊隹
|
7 B | |
| 001657 | unicode/part1/U+2FAC NormalizationTest.txt |
⾬␊雨
|
7 B | |
| 001658 | unicode/part1/U+2FAD NormalizationTest.txt |
⾭␊靑
|
7 B | |
| 001659 | unicode/part1/U+2FAE NormalizationTest.txt |
⾮␊非
|
7 B | |
| 001660 | unicode/part1/U+2FAF NormalizationTest.txt |
⾯␊面
|
7 B | |
| 001661 | unicode/part1/U+2FB0 NormalizationTest.txt |
⾰␊革
|
7 B | |
| 001662 | unicode/part1/U+2FB1 NormalizationTest.txt |
⾱␊韋
|
7 B | |
| 001663 | unicode/part1/U+2FB2 NormalizationTest.txt |
⾲␊韭
|
7 B | |
| 001664 | unicode/part1/U+2FB3 NormalizationTest.txt |
⾳␊音
|
7 B | |
| 001665 | unicode/part1/U+2FB4 NormalizationTest.txt |
⾴␊頁
|
7 B | |
| 001666 | unicode/part1/U+2FB5 NormalizationTest.txt |
⾵␊風
|
7 B | |
| 001667 | unicode/part1/U+2FB6 NormalizationTest.txt |
⾶␊飛
|
7 B | |
| 001668 | unicode/part1/U+2FB7 NormalizationTest.txt |
⾷␊食
|
7 B | |
| 001669 | unicode/part1/U+2FB8 NormalizationTest.txt |
⾸␊首
|
7 B | |
| 001670 | unicode/part1/U+2FB9 NormalizationTest.txt |
⾹␊香
|
7 B | |
| 001671 | unicode/part1/U+2FBA NormalizationTest.txt |
⾺␊馬
|
7 B | |
| 001672 | unicode/part1/U+2FBB NormalizationTest.txt |
⾻␊骨
|
7 B | |
| 001673 | unicode/part1/U+2FBC NormalizationTest.txt |
⾼␊高
|
7 B | |
| 001674 | unicode/part1/U+2FBD NormalizationTest.txt |
⾽␊髟
|
7 B | |
| 001675 | unicode/part1/U+2FBE NormalizationTest.txt |
⾾␊鬥
|
7 B | |
| 001676 | unicode/part1/U+2FBF NormalizationTest.txt |
⾿␊鬯
|
7 B | |
| 001677 | unicode/part1/U+2FC0 NormalizationTest.txt |
⿀␊鬲
|
7 B | |
| 001678 | unicode/part1/U+2FC1 NormalizationTest.txt |
⿁␊鬼
|
7 B | |
| 001679 | unicode/part1/U+2FC2 NormalizationTest.txt |
⿂␊魚
|
7 B | |
| 001680 | unicode/part1/U+2FC3 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