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
5,928 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 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 | |
| 001681 | unicode/part1/U+2FC4 NormalizationTest.txt |
⿄␊鹵
|
7 B | |
| 001682 | unicode/part1/U+2FC5 NormalizationTest.txt |
⿅␊鹿
|
7 B | |
| 001683 | unicode/part1/U+2FC6 NormalizationTest.txt |
⿆␊麥
|
7 B | |
| 001684 | unicode/part1/U+2FC7 NormalizationTest.txt |
⿇␊麻
|
7 B | |
| 001685 | unicode/part1/U+2FC8 NormalizationTest.txt |
⿈␊黃
|
7 B | |
| 001686 | unicode/part1/U+2FC9 NormalizationTest.txt |
⿉␊黍
|
7 B | |
| 001687 | unicode/part1/U+2FCA NormalizationTest.txt |
⿊␊黑
|
7 B | |
| 001688 | unicode/part1/U+2FCB NormalizationTest.txt |
⿋␊黹
|
7 B | |
| 001689 | unicode/part1/U+2FCC NormalizationTest.txt |
⿌␊黽
|
7 B | |
| 001690 | unicode/part1/U+2FCD NormalizationTest.txt |
⿍␊鼎
|
7 B | |
| 001691 | unicode/part1/U+2FCE NormalizationTest.txt |
⿎␊鼓
|
7 B | |
| 001692 | unicode/part1/U+2FCF NormalizationTest.txt |
⿏␊鼠
|
7 B | |
| 001693 | unicode/part1/U+2FD0 NormalizationTest.txt |
⿐␊鼻
|
7 B | |
| 001694 | unicode/part1/U+2FD1 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