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 |
|---|---|---|---|---|
| 001581 | unicode/part1/U+2F60 NormalizationTest.txt |
⽠␊瓜
|
7 B | |
| 001582 | unicode/part1/U+2F61 NormalizationTest.txt |
⽡␊瓦
|
7 B | |
| 001583 | unicode/part1/U+2F62 NormalizationTest.txt |
⽢␊甘
|
7 B | |
| 001584 | unicode/part1/U+2F63 NormalizationTest.txt |
⽣␊生
|
7 B | |
| 001585 | unicode/part1/U+2F64 NormalizationTest.txt |
⽤␊用
|
7 B | |
| 001586 | unicode/part1/U+2F65 NormalizationTest.txt |
⽥␊田
|
7 B | |
| 001587 | unicode/part1/U+2F66 NormalizationTest.txt |
⽦␊疋
|
7 B | |
| 001588 | unicode/part1/U+2F67 NormalizationTest.txt |
⽧␊疒
|
7 B | |
| 001589 | unicode/part1/U+2F68 NormalizationTest.txt |
⽨␊癶
|
7 B | |
| 001590 | unicode/part1/U+2F69 NormalizationTest.txt |
⽩␊白
|
7 B | |
| 001591 | unicode/part1/U+2F6A NormalizationTest.txt |
⽪␊皮
|
7 B | |
| 001592 | unicode/part1/U+2F6B NormalizationTest.txt |
⽫␊皿
|
7 B | |
| 001593 | unicode/part1/U+2F6C NormalizationTest.txt |
⽬␊目
|
7 B | |
| 001594 | unicode/part1/U+2F6D NormalizationTest.txt |
⽭␊矛
|
7 B | |
| 001595 | unicode/part1/U+2F6E NormalizationTest.txt |
⽮␊矢
|
7 B | |
| 001596 | unicode/part1/U+2F6F NormalizationTest.txt |
⽯␊石
|
7 B | |
| 001597 | unicode/part1/U+2F70 NormalizationTest.txt |
⽰␊示
|
7 B | |
| 001598 | unicode/part1/U+2F71 NormalizationTest.txt |
⽱␊禸
|
7 B | |
| 001599 | unicode/part1/U+2F72 NormalizationTest.txt |
⽲␊禾
|
7 B | |
| 001600 | unicode/part1/U+2F73 NormalizationTest.txt |
⽳␊穴
|
7 B | |
| 001601 | unicode/part1/U+2F74 NormalizationTest.txt |
⽴␊立
|
7 B | |
| 001602 | unicode/part1/U+2F75 NormalizationTest.txt |
⽵␊竹
|
7 B | |
| 001603 | unicode/part1/U+2F76 NormalizationTest.txt |
⽶␊米
|
7 B | |
| 001604 | unicode/part1/U+2F77 NormalizationTest.txt |
⽷␊糸
|
7 B | |
| 001605 | unicode/part1/U+2F78 NormalizationTest.txt |
⽸␊缶
|
7 B | |
| 001606 | unicode/part1/U+2F79 NormalizationTest.txt |
⽹␊网
|
7 B | |
| 001607 | unicode/part1/U+2F7A NormalizationTest.txt |
⽺␊羊
|
7 B | |
| 001608 | unicode/part1/U+2F7B NormalizationTest.txt |
⽻␊羽
|
7 B | |
| 001609 | unicode/part1/U+2F7C NormalizationTest.txt |
⽼␊老
|
7 B | |
| 001610 | unicode/part1/U+2F7D NormalizationTest.txt |
⽽␊而
|
7 B | |
| 001611 | unicode/part1/U+2F7E NormalizationTest.txt |
⽾␊耒
|
7 B | |
| 001612 | unicode/part1/U+2F7F NormalizationTest.txt |
⽿␊耳
|
7 B | |
| 001613 | unicode/part1/U+2F80 NormalizationTest.txt |
⾀␊聿
|
7 B | |
| 001614 | unicode/part1/U+2F81 NormalizationTest.txt |
⾁␊肉
|
7 B | |
| 001615 | unicode/part1/U+2F82 NormalizationTest.txt |
⾂␊臣
|
7 B | |
| 001616 | unicode/part1/U+2F83 NormalizationTest.txt |
⾃␊自
|
7 B | |
| 001617 | unicode/part1/U+2F84 NormalizationTest.txt |
⾄␊至
|
7 B | |
| 001618 | unicode/part1/U+2F85 NormalizationTest.txt |
⾅␊臼
|
7 B | |
| 001619 | unicode/part1/U+2F86 NormalizationTest.txt |
⾆␊舌
|
7 B | |
| 001620 | unicode/part1/U+2F87 NormalizationTest.txt |
⾇␊舛
|
7 B | |
| 001621 | unicode/part1/U+2F88 NormalizationTest.txt |
⾈␊舟
|
7 B | |
| 001622 | unicode/part1/U+2F89 NormalizationTest.txt |
⾉␊艮
|
7 B | |
| 001623 | unicode/part1/U+2F8A NormalizationTest.txt |
⾊␊色
|
7 B | |
| 001624 | unicode/part1/U+2F8B NormalizationTest.txt |
⾋␊艸
|
7 B | |
| 001625 | unicode/part1/U+2F8C NormalizationTest.txt |
⾌␊虍
|
7 B | |
| 001626 | unicode/part1/U+2F8D NormalizationTest.txt |
⾍␊虫
|
7 B | |
| 001627 | unicode/part1/U+2F8E NormalizationTest.txt |
⾎␊血
|
7 B | |
| 001628 | unicode/part1/U+2F8F NormalizationTest.txt |
⾏␊行
|
7 B | |
| 001629 | unicode/part1/U+2F90 NormalizationTest.txt |
⾐␊衣
|
7 B | |
| 001630 | unicode/part1/U+2F91 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