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 |
|---|---|---|---|---|
| 002607 | unicode/part1/U+F9D9 NormalizationTest.txt |
慄␊慄
|
7 B | |
| 002608 | unicode/part1/U+F9DA NormalizationTest.txt |
栗␊栗
|
7 B | |
| 002609 | unicode/part1/U+F9DB NormalizationTest.txt |
率␊率
|
7 B | |
| 002610 | unicode/part1/U+F9DC NormalizationTest.txt |
隆␊隆
|
7 B | |
| 002611 | unicode/part1/U+F9DD NormalizationTest.txt |
利␊利
|
7 B | |
| 002612 | unicode/part1/U+F9DE NormalizationTest.txt |
吏␊吏
|
7 B | |
| 002613 | unicode/part1/U+F9DF NormalizationTest.txt |
履␊履
|
7 B | |
| 002614 | unicode/part1/U+F9E0 NormalizationTest.txt |
易␊易
|
7 B | |
| 002615 | unicode/part1/U+F9E1 NormalizationTest.txt |
李␊李
|
7 B | |
| 002616 | unicode/part1/U+F9E2 NormalizationTest.txt |
梨␊梨
|
7 B | |
| 002617 | unicode/part1/U+F9E3 NormalizationTest.txt |
泥␊泥
|
7 B | |
| 002618 | unicode/part1/U+F9E4 NormalizationTest.txt |
理␊理
|
7 B | |
| 002619 | unicode/part1/U+F9E5 NormalizationTest.txt |
痢␊痢
|
7 B | |
| 002620 | unicode/part1/U+F9E6 NormalizationTest.txt |
罹␊罹
|
7 B | |
| 002621 | unicode/part1/U+F9E7 NormalizationTest.txt |
裏␊裏
|
7 B | |
| 002622 | unicode/part1/U+F9E8 NormalizationTest.txt |
裡␊裡
|
7 B | |
| 002623 | unicode/part1/U+F9E9 NormalizationTest.txt |
里␊里
|
7 B | |
| 002624 | unicode/part1/U+F9EA NormalizationTest.txt |
離␊離
|
7 B | |
| 002625 | unicode/part1/U+F9EB NormalizationTest.txt |
匿␊匿
|
7 B | |
| 002626 | unicode/part1/U+F9EC NormalizationTest.txt |
溺␊溺
|
7 B | |
| 002627 | unicode/part1/U+F9ED NormalizationTest.txt |
吝␊吝
|
7 B | |
| 002628 | unicode/part1/U+F9EE NormalizationTest.txt |
燐␊燐
|
7 B | |
| 002629 | unicode/part1/U+F9EF NormalizationTest.txt |
璘␊璘
|
7 B | |
| 002630 | unicode/part1/U+F9F0 NormalizationTest.txt |
藺␊藺
|
7 B | |
| 002631 | unicode/part1/U+F9F1 NormalizationTest.txt |
隣␊隣
|
7 B | |
| 002632 | unicode/part1/U+F9F2 NormalizationTest.txt |
鱗␊鱗
|
7 B | |
| 002633 | unicode/part1/U+F9F3 NormalizationTest.txt |
麟␊麟
|
7 B | |
| 002634 | unicode/part1/U+F9F4 NormalizationTest.txt |
林␊林
|
7 B | |
| 002635 | unicode/part1/U+F9F5 NormalizationTest.txt |
淋␊淋
|
7 B | |
| 002636 | unicode/part1/U+F9F6 NormalizationTest.txt |
臨␊臨
|
7 B | |
| 002637 | unicode/part1/U+F9F7 NormalizationTest.txt |
立␊立
|
7 B | |
| 002638 | unicode/part1/U+F9F8 NormalizationTest.txt |
笠␊笠
|
7 B | |
| 002639 | unicode/part1/U+F9F9 NormalizationTest.txt |
粒␊粒
|
7 B | |
| 002640 | unicode/part1/U+F9FA NormalizationTest.txt |
狀␊狀
|
7 B | |
| 002641 | unicode/part1/U+F9FB NormalizationTest.txt |
炙␊炙
|
7 B | |
| 002642 | unicode/part1/U+F9FC NormalizationTest.txt |
識␊識
|
7 B | |
| 002643 | unicode/part1/U+F9FD NormalizationTest.txt |
什␊什
|
7 B | |
| 002644 | unicode/part1/U+F9FE NormalizationTest.txt |
茶␊茶
|
7 B | |
| 002645 | unicode/part1/U+F9FF NormalizationTest.txt |
刺␊刺
|
7 B | |
| 002646 | unicode/part1/U+FA00 NormalizationTest.txt |
切␊切
|
7 B | |
| 002647 | unicode/part1/U+FA01 NormalizationTest.txt |
度␊度
|
7 B | |
| 002648 | unicode/part1/U+FA02 NormalizationTest.txt |
拓␊拓
|
7 B | |
| 002649 | unicode/part1/U+FA03 NormalizationTest.txt |
糖␊糖
|
7 B | |
| 002650 | unicode/part1/U+FA04 NormalizationTest.txt |
宅␊宅
|
7 B | |
| 002651 | unicode/part1/U+FA05 NormalizationTest.txt |
洞␊洞
|
7 B | |
| 002652 | unicode/part1/U+FA06 NormalizationTest.txt |
暴␊暴
|
7 B | |
| 002653 | unicode/part1/U+FA07 NormalizationTest.txt |
輻␊輻
|
7 B | |
| 002654 | unicode/part1/U+FA08 NormalizationTest.txt |
行␊行
|
7 B | |
| 002655 | unicode/part1/U+FA09 NormalizationTest.txt |
降␊降
|
7 B | |
| 002656 | unicode/part1/U+FA0A 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