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 |
|---|---|---|---|---|
| 002757 | unicode/part1/U+FA7D NormalizationTest.txt |
墳␊墳
|
7 B | |
| 002758 | unicode/part1/U+FA7E NormalizationTest.txt |
奄␊奄
|
7 B | |
| 002759 | unicode/part1/U+FA7F NormalizationTest.txt |
奔␊奔
|
7 B | |
| 002760 | unicode/part1/U+FA80 NormalizationTest.txt |
婢␊婢
|
7 B | |
| 002761 | unicode/part1/U+FA81 NormalizationTest.txt |
嬨␊嬨
|
7 B | |
| 002762 | unicode/part1/U+FA82 NormalizationTest.txt |
廒␊廒
|
7 B | |
| 002763 | unicode/part1/U+FA83 NormalizationTest.txt |
廙␊廙
|
7 B | |
| 002764 | unicode/part1/U+FA84 NormalizationTest.txt |
彩␊彩
|
7 B | |
| 002765 | unicode/part1/U+FA85 NormalizationTest.txt |
徭␊徭
|
7 B | |
| 002766 | unicode/part1/U+FA86 NormalizationTest.txt |
惘␊惘
|
7 B | |
| 002767 | unicode/part1/U+FA87 NormalizationTest.txt |
慎␊慎
|
7 B | |
| 002768 | unicode/part1/U+FA88 NormalizationTest.txt |
愈␊愈
|
7 B | |
| 002769 | unicode/part1/U+FA89 NormalizationTest.txt |
憎␊憎
|
7 B | |
| 002770 | unicode/part1/U+FA8A NormalizationTest.txt |
慠␊慠
|
7 B | |
| 002771 | unicode/part1/U+FA8B NormalizationTest.txt |
懲␊懲
|
7 B | |
| 002772 | unicode/part1/U+FA8C NormalizationTest.txt |
戴␊戴
|
7 B | |
| 002773 | unicode/part1/U+FA8D NormalizationTest.txt |
揄␊揄
|
7 B | |
| 002774 | unicode/part1/U+FA8E NormalizationTest.txt |
搜␊搜
|
7 B | |
| 002775 | unicode/part1/U+FA8F NormalizationTest.txt |
摒␊摒
|
7 B | |
| 002776 | unicode/part1/U+FA90 NormalizationTest.txt |
敖␊敖
|
7 B | |
| 002777 | unicode/part1/U+FA91 NormalizationTest.txt |
晴␊晴
|
7 B | |
| 002778 | unicode/part1/U+FA92 NormalizationTest.txt |
朗␊朗
|
7 B | |
| 002779 | unicode/part1/U+FA93 NormalizationTest.txt |
望␊望
|
7 B | |
| 002780 | unicode/part1/U+FA94 NormalizationTest.txt |
杖␊杖
|
7 B | |
| 002781 | unicode/part1/U+FA95 NormalizationTest.txt |
歹␊歹
|
7 B | |
| 002782 | unicode/part1/U+FA96 NormalizationTest.txt |
殺␊殺
|
7 B | |
| 002783 | unicode/part1/U+FA97 NormalizationTest.txt |
流␊流
|
7 B | |
| 002784 | unicode/part1/U+FA98 NormalizationTest.txt |
滛␊滛
|
7 B | |
| 002785 | unicode/part1/U+FA99 NormalizationTest.txt |
滋␊滋
|
7 B | |
| 002786 | unicode/part1/U+FA9A NormalizationTest.txt |
漢␊漢
|
7 B | |
| 002787 | unicode/part1/U+FA9B NormalizationTest.txt |
瀞␊瀞
|
7 B | |
| 002788 | unicode/part1/U+FA9C NormalizationTest.txt |
煮␊煮
|
7 B | |
| 002789 | unicode/part1/U+FA9D NormalizationTest.txt |
瞧␊瞧
|
7 B | |
| 002790 | unicode/part1/U+FA9E NormalizationTest.txt |
爵␊爵
|
7 B | |
| 002791 | unicode/part1/U+FA9F NormalizationTest.txt |
犯␊犯
|
7 B | |
| 002792 | unicode/part1/U+FAA0 NormalizationTest.txt |
猪␊猪
|
7 B | |
| 002793 | unicode/part1/U+FAA1 NormalizationTest.txt |
瑱␊瑱
|
7 B | |
| 002794 | unicode/part1/U+FAA2 NormalizationTest.txt |
甆␊甆
|
7 B | |
| 002795 | unicode/part1/U+FAA3 NormalizationTest.txt |
画␊画
|
7 B | |
| 002796 | unicode/part1/U+FAA4 NormalizationTest.txt |
瘝␊瘝
|
7 B | |
| 002797 | unicode/part1/U+FAA5 NormalizationTest.txt |
瘟␊瘟
|
7 B | |
| 002798 | unicode/part1/U+FAA6 NormalizationTest.txt |
益␊益
|
7 B | |
| 002799 | unicode/part1/U+FAA7 NormalizationTest.txt |
盛␊盛
|
7 B | |
| 002800 | unicode/part1/U+FAA8 NormalizationTest.txt |
直␊直
|
7 B | |
| 002801 | unicode/part1/U+FAA9 NormalizationTest.txt |
睊␊睊
|
7 B | |
| 002802 | unicode/part1/U+FAAA NormalizationTest.txt |
着␊着
|
7 B | |
| 002803 | unicode/part1/U+FAAB NormalizationTest.txt |
磌␊磌
|
7 B | |
| 002804 | unicode/part1/U+FAAC NormalizationTest.txt |
窱␊窱
|
7 B | |
| 002805 | unicode/part1/U+FAAD NormalizationTest.txt |
節␊節
|
7 B | |
| 002806 | unicode/part1/U+FAAE 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