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 |
|---|---|---|---|---|
| 005569 | unicode/part1/U+2F89D NormalizationTest.txt |
忍␊忍
|
8 B | |
| 005570 | unicode/part1/U+2F89E NormalizationTest.txt |
志␊志
|
8 B | |
| 005571 | unicode/part1/U+2F89F NormalizationTest.txt |
忹␊忹
|
8 B | |
| 005572 | unicode/part1/U+2F8A0 NormalizationTest.txt |
悁␊悁
|
8 B | |
| 005573 | unicode/part1/U+2F8A1 NormalizationTest.txt |
㤺␊㤺
|
8 B | |
| 005574 | unicode/part1/U+2F8A2 NormalizationTest.txt |
㤜␊㤜
|
8 B | |
| 005575 | unicode/part1/U+2F8A3 NormalizationTest.txt |
悔␊悔
|
8 B | |
| 005576 | unicode/part1/U+2F8A4 NormalizationTest.txt |
𢛔␊𢛔
|
9 B | |
| 005577 | unicode/part1/U+2F8A5 NormalizationTest.txt |
惇␊惇
|
8 B | |
| 005578 | unicode/part1/U+2F8A6 NormalizationTest.txt |
慈␊慈
|
8 B | |
| 005579 | unicode/part1/U+2F8A7 NormalizationTest.txt |
慌␊慌
|
8 B | |
| 005580 | unicode/part1/U+2F8A8 NormalizationTest.txt |
慎␊慎
|
8 B | |
| 005581 | unicode/part1/U+2F8A9 NormalizationTest.txt |
慌␊慌
|
8 B | |
| 005582 | unicode/part1/U+2F8AA NormalizationTest.txt |
慺␊慺
|
8 B | |
| 005583 | unicode/part1/U+2F8AB NormalizationTest.txt |
憎␊憎
|
8 B | |
| 005584 | unicode/part1/U+2F8AC NormalizationTest.txt |
憲␊憲
|
8 B | |
| 005585 | unicode/part1/U+2F8AD NormalizationTest.txt |
憤␊憤
|
8 B | |
| 005586 | unicode/part1/U+2F8AE NormalizationTest.txt |
憯␊憯
|
8 B | |
| 005587 | unicode/part1/U+2F8AF NormalizationTest.txt |
懞␊懞
|
8 B | |
| 005588 | unicode/part1/U+2F8B0 NormalizationTest.txt |
懲␊懲
|
8 B | |
| 005589 | unicode/part1/U+2F8B1 NormalizationTest.txt |
懶␊懶
|
8 B | |
| 005590 | unicode/part1/U+2F8B2 NormalizationTest.txt |
成␊成
|
8 B | |
| 005591 | unicode/part1/U+2F8B3 NormalizationTest.txt |
戛␊戛
|
8 B | |
| 005592 | unicode/part1/U+2F8B4 NormalizationTest.txt |
扝␊扝
|
8 B | |
| 005593 | unicode/part1/U+2F8B5 NormalizationTest.txt |
抱␊抱
|
8 B | |
| 005594 | unicode/part1/U+2F8B6 NormalizationTest.txt |
拔␊拔
|
8 B | |
| 005595 | unicode/part1/U+2F8B7 NormalizationTest.txt |
捐␊捐
|
8 B | |
| 005596 | unicode/part1/U+2F8B8 NormalizationTest.txt |
𢬌␊𢬌
|
9 B | |
| 005597 | unicode/part1/U+2F8B9 NormalizationTest.txt |
挽␊挽
|
8 B | |
| 005598 | unicode/part1/U+2F8BA NormalizationTest.txt |
拼␊拼
|
8 B | |
| 005599 | unicode/part1/U+2F8BB NormalizationTest.txt |
捨␊捨
|
8 B | |
| 005600 | unicode/part1/U+2F8BC NormalizationTest.txt |
掃␊掃
|
8 B | |
| 005601 | unicode/part1/U+2F8BD NormalizationTest.txt |
揤␊揤
|
8 B | |
| 005602 | unicode/part1/U+2F8BE NormalizationTest.txt |
𢯱␊𢯱
|
9 B | |
| 005603 | unicode/part1/U+2F8BF NormalizationTest.txt |
搢␊搢
|
8 B | |
| 005604 | unicode/part1/U+2F8C0 NormalizationTest.txt |
揅␊揅
|
8 B | |
| 005605 | unicode/part1/U+2F8C1 NormalizationTest.txt |
掩␊掩
|
8 B | |
| 005606 | unicode/part1/U+2F8C2 NormalizationTest.txt |
㨮␊㨮
|
8 B | |
| 005607 | unicode/part1/U+2F8C3 NormalizationTest.txt |
摩␊摩
|
8 B | |
| 005608 | unicode/part1/U+2F8C4 NormalizationTest.txt |
摾␊摾
|
8 B | |
| 005609 | unicode/part1/U+2F8C5 NormalizationTest.txt |
撝␊撝
|
8 B | |
| 005610 | unicode/part1/U+2F8C6 NormalizationTest.txt |
摷␊摷
|
8 B | |
| 005611 | unicode/part1/U+2F8C7 NormalizationTest.txt |
㩬␊㩬
|
8 B | |
| 005612 | unicode/part1/U+2F8C8 NormalizationTest.txt |
敏␊敏
|
8 B | |
| 005613 | unicode/part1/U+2F8C9 NormalizationTest.txt |
敬␊敬
|
8 B | |
| 005614 | unicode/part1/U+2F8CA NormalizationTest.txt |
𣀊␊𣀊
|
9 B | |
| 005615 | unicode/part1/U+2F8CB NormalizationTest.txt |
旣␊旣
|
8 B | |
| 005616 | unicode/part1/U+2F8CC NormalizationTest.txt |
書␊書
|
8 B | |
| 005617 | unicode/part1/U+2F8CD NormalizationTest.txt |
晉␊晉
|
8 B | |
| 005618 | unicode/part1/U+2F8CE NormalizationTest.txt |
㬙␊㬙
|
8 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