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 |
|---|---|---|---|---|
| 005469 | unicode/part1/U+2F839 NormalizationTest.txt |
叫␊叫
|
8 B | |
| 005470 | unicode/part1/U+2F83A NormalizationTest.txt |
叱␊叱
|
8 B | |
| 005471 | unicode/part1/U+2F83B NormalizationTest.txt |
吆␊吆
|
8 B | |
| 005472 | unicode/part1/U+2F83C NormalizationTest.txt |
咞␊咞
|
8 B | |
| 005473 | unicode/part1/U+2F83D NormalizationTest.txt |
吸␊吸
|
8 B | |
| 005474 | unicode/part1/U+2F83E NormalizationTest.txt |
呈␊呈
|
8 B | |
| 005475 | unicode/part1/U+2F83F NormalizationTest.txt |
周␊周
|
8 B | |
| 005476 | unicode/part1/U+2F840 NormalizationTest.txt |
咢␊咢
|
8 B | |
| 005477 | unicode/part1/U+2F841 NormalizationTest.txt |
哶␊哶
|
8 B | |
| 005478 | unicode/part1/U+2F842 NormalizationTest.txt |
唐␊唐
|
8 B | |
| 005479 | unicode/part1/U+2F843 NormalizationTest.txt |
啓␊啓
|
8 B | |
| 005480 | unicode/part1/U+2F844 NormalizationTest.txt |
啣␊啣
|
8 B | |
| 005481 | unicode/part1/U+2F845 NormalizationTest.txt |
善␊善
|
8 B | |
| 005482 | unicode/part1/U+2F846 NormalizationTest.txt |
善␊善
|
8 B | |
| 005483 | unicode/part1/U+2F847 NormalizationTest.txt |
喙␊喙
|
8 B | |
| 005484 | unicode/part1/U+2F848 NormalizationTest.txt |
喫␊喫
|
8 B | |
| 005485 | unicode/part1/U+2F849 NormalizationTest.txt |
喳␊喳
|
8 B | |
| 005486 | unicode/part1/U+2F84A NormalizationTest.txt |
嗂␊嗂
|
8 B | |
| 005487 | unicode/part1/U+2F84B NormalizationTest.txt |
圖␊圖
|
8 B | |
| 005488 | unicode/part1/U+2F84C NormalizationTest.txt |
嘆␊嘆
|
8 B | |
| 005489 | unicode/part1/U+2F84D NormalizationTest.txt |
圗␊圗
|
8 B | |
| 005490 | unicode/part1/U+2F84E NormalizationTest.txt |
噑␊噑
|
8 B | |
| 005491 | unicode/part1/U+2F84F NormalizationTest.txt |
噴␊噴
|
8 B | |
| 005492 | unicode/part1/U+2F850 NormalizationTest.txt |
切␊切
|
8 B | |
| 005493 | unicode/part1/U+2F851 NormalizationTest.txt |
壮␊壮
|
8 B | |
| 005494 | unicode/part1/U+2F852 NormalizationTest.txt |
城␊城
|
8 B | |
| 005495 | unicode/part1/U+2F853 NormalizationTest.txt |
埴␊埴
|
8 B | |
| 005496 | unicode/part1/U+2F854 NormalizationTest.txt |
堍␊堍
|
8 B | |
| 005497 | unicode/part1/U+2F855 NormalizationTest.txt |
型␊型
|
8 B | |
| 005498 | unicode/part1/U+2F856 NormalizationTest.txt |
堲␊堲
|
8 B | |
| 005499 | unicode/part1/U+2F857 NormalizationTest.txt |
報␊報
|
8 B | |
| 005500 | unicode/part1/U+2F858 NormalizationTest.txt |
墬␊墬
|
8 B | |
| 005501 | unicode/part1/U+2F859 NormalizationTest.txt |
𡓤␊𡓤
|
9 B | |
| 005502 | unicode/part1/U+2F85A NormalizationTest.txt |
売␊売
|
8 B | |
| 005503 | unicode/part1/U+2F85B NormalizationTest.txt |
壷␊壷
|
8 B | |
| 005504 | unicode/part1/U+2F85C NormalizationTest.txt |
夆␊夆
|
8 B | |
| 005505 | unicode/part1/U+2F85D NormalizationTest.txt |
多␊多
|
8 B | |
| 005506 | unicode/part1/U+2F85E NormalizationTest.txt |
夢␊夢
|
8 B | |
| 005507 | unicode/part1/U+2F85F NormalizationTest.txt |
奢␊奢
|
8 B | |
| 005508 | unicode/part1/U+2F860 NormalizationTest.txt |
𡚨␊𡚨
|
9 B | |
| 005509 | unicode/part1/U+2F861 NormalizationTest.txt |
𡛪␊𡛪
|
9 B | |
| 005510 | unicode/part1/U+2F862 NormalizationTest.txt |
姬␊姬
|
8 B | |
| 005511 | unicode/part1/U+2F863 NormalizationTest.txt |
娛␊娛
|
8 B | |
| 005512 | unicode/part1/U+2F864 NormalizationTest.txt |
娧␊娧
|
8 B | |
| 005513 | unicode/part1/U+2F865 NormalizationTest.txt |
姘␊姘
|
8 B | |
| 005514 | unicode/part1/U+2F866 NormalizationTest.txt |
婦␊婦
|
8 B | |
| 005515 | unicode/part1/U+2F867 NormalizationTest.txt |
㛮␊㛮
|
8 B | |
| 005516 | unicode/part1/U+2F868 NormalizationTest.txt |
㛼␊㛼
|
8 B | |
| 005517 | unicode/part1/U+2F869 NormalizationTest.txt |
嬈␊嬈
|
8 B | |
| 005518 | unicode/part1/U+2F86A 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