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
All 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 005700 | unicode/part1/U+2F920 NormalizationTest.txt |
爨␊爨
|
8 B | |
| 005701 | unicode/part1/U+2F921 NormalizationTest.txt |
爵␊爵
|
8 B | |
| 005702 | unicode/part1/U+2F922 NormalizationTest.txt |
牐␊牐
|
8 B | |
| 005703 | unicode/part1/U+2F923 NormalizationTest.txt |
𤘈␊𤘈
|
9 B | |
| 005704 | unicode/part1/U+2F924 NormalizationTest.txt |
犀␊犀
|
8 B | |
| 005705 | unicode/part1/U+2F925 NormalizationTest.txt |
犕␊犕
|
8 B | |
| 005706 | unicode/part1/U+2F926 NormalizationTest.txt |
𤜵␊𤜵
|
9 B | |
| 005707 | unicode/part1/U+2F927 NormalizationTest.txt |
𤠔␊𤠔
|
9 B | |
| 005708 | unicode/part1/U+2F928 NormalizationTest.txt |
獺␊獺
|
8 B | |
| 005709 | unicode/part1/U+2F929 NormalizationTest.txt |
王␊王
|
8 B | |
| 005710 | unicode/part1/U+2F92A NormalizationTest.txt |
㺬␊㺬
|
8 B | |
| 005711 | unicode/part1/U+2F92B NormalizationTest.txt |
玥␊玥
|
8 B | |
| 005712 | unicode/part1/U+2F92C NormalizationTest.txt |
㺸␊㺸
|
8 B | |
| 005713 | unicode/part1/U+2F92D NormalizationTest.txt |
㺸␊㺸
|
8 B | |
| 005714 | unicode/part1/U+2F92E NormalizationTest.txt |
瑇␊瑇
|
8 B | |
| 005715 | unicode/part1/U+2F92F NormalizationTest.txt |
瑜␊瑜
|
8 B | |
| 005716 | unicode/part1/U+2F930 NormalizationTest.txt |
瑱␊瑱
|
8 B | |
| 005717 | unicode/part1/U+2F931 NormalizationTest.txt |
璅␊璅
|
8 B | |
| 005718 | unicode/part1/U+2F932 NormalizationTest.txt |
瓊␊瓊
|
8 B | |
| 005719 | unicode/part1/U+2F933 NormalizationTest.txt |
㼛␊㼛
|
8 B | |
| 005720 | unicode/part1/U+2F934 NormalizationTest.txt |
甤␊甤
|
8 B | |
| 005721 | unicode/part1/U+2F935 NormalizationTest.txt |
𤰶␊𤰶
|
9 B | |
| 005722 | unicode/part1/U+2F936 NormalizationTest.txt |
甾␊甾
|
8 B | |
| 005723 | unicode/part1/U+2F937 NormalizationTest.txt |
𤲒␊𤲒
|
9 B | |
| 005724 | unicode/part1/U+2F938 NormalizationTest.txt |
異␊異
|
8 B | |
| 005725 | unicode/part1/U+2F939 NormalizationTest.txt |
𢆟␊𢆟
|
9 B | |
| 005726 | unicode/part1/U+2F93A NormalizationTest.txt |
瘐␊瘐
|
8 B | |
| 005727 | unicode/part1/U+2F93B NormalizationTest.txt |
𤾡␊𤾡
|
9 B | |
| 005728 | unicode/part1/U+2F93C NormalizationTest.txt |
𤾸␊𤾸
|
9 B | |
| 005729 | unicode/part1/U+2F93D NormalizationTest.txt |
𥁄␊𥁄
|
9 B | |
| 005730 | unicode/part1/U+2F93E NormalizationTest.txt |
㿼␊㿼
|
8 B | |
| 005731 | unicode/part1/U+2F93F NormalizationTest.txt |
䀈␊䀈
|
8 B | |
| 005732 | unicode/part1/U+2F940 NormalizationTest.txt |
直␊直
|
8 B | |
| 005733 | unicode/part1/U+2F941 NormalizationTest.txt |
𥃳␊𥃳
|
9 B | |
| 005734 | unicode/part1/U+2F942 NormalizationTest.txt |
𥃲␊𥃲
|
9 B | |
| 005735 | unicode/part1/U+2F943 NormalizationTest.txt |
𥄙␊𥄙
|
9 B | |
| 005736 | unicode/part1/U+2F944 NormalizationTest.txt |
𥄳␊𥄳
|
9 B | |
| 005737 | unicode/part1/U+2F945 NormalizationTest.txt |
眞␊眞
|
8 B | |
| 005738 | unicode/part1/U+2F946 NormalizationTest.txt |
真␊真
|
8 B | |
| 005739 | unicode/part1/U+2F947 NormalizationTest.txt |
真␊真
|
8 B | |
| 005740 | unicode/part1/U+2F948 NormalizationTest.txt |
睊␊睊
|
8 B | |
| 005741 | unicode/part1/U+2F949 NormalizationTest.txt |
䀹␊䀹
|
8 B | |
| 005742 | unicode/part1/U+2F94A NormalizationTest.txt |
瞋␊瞋
|
8 B | |
| 005743 | unicode/part1/U+2F94B NormalizationTest.txt |
䁆␊䁆
|
8 B | |
| 005744 | unicode/part1/U+2F94C NormalizationTest.txt |
䂖␊䂖
|
8 B | |
| 005745 | unicode/part1/U+2F94D NormalizationTest.txt |
𥐝␊𥐝
|
9 B | |
| 005746 | unicode/part1/U+2F94E NormalizationTest.txt |
硎␊硎
|
8 B | |
| 005747 | unicode/part1/U+2F94F NormalizationTest.txt |
碌␊碌
|
8 B | |
| 005748 | unicode/part1/U+2F950 NormalizationTest.txt |
磌␊磌
|
8 B | |
| 005749 | unicode/part1/U+2F951 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