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 |
|---|---|---|---|---|
| 005669 | unicode/part1/U+2F901 NormalizationTest.txt |
海␊海
|
8 B | |
| 005670 | unicode/part1/U+2F902 NormalizationTest.txt |
流␊流
|
8 B | |
| 005671 | unicode/part1/U+2F903 NormalizationTest.txt |
浩␊浩
|
8 B | |
| 005672 | unicode/part1/U+2F904 NormalizationTest.txt |
浸␊浸
|
8 B | |
| 005673 | unicode/part1/U+2F905 NormalizationTest.txt |
涅␊涅
|
8 B | |
| 005674 | unicode/part1/U+2F906 NormalizationTest.txt |
𣴞␊𣴞
|
9 B | |
| 005675 | unicode/part1/U+2F907 NormalizationTest.txt |
洴␊洴
|
8 B | |
| 005676 | unicode/part1/U+2F908 NormalizationTest.txt |
港␊港
|
8 B | |
| 005677 | unicode/part1/U+2F909 NormalizationTest.txt |
湮␊湮
|
8 B | |
| 005678 | unicode/part1/U+2F90A NormalizationTest.txt |
㴳␊㴳
|
8 B | |
| 005679 | unicode/part1/U+2F90B NormalizationTest.txt |
滋␊滋
|
8 B | |
| 005680 | unicode/part1/U+2F90C NormalizationTest.txt |
滇␊滇
|
8 B | |
| 005681 | unicode/part1/U+2F90D NormalizationTest.txt |
𣻑␊𣻑
|
9 B | |
| 005682 | unicode/part1/U+2F90E NormalizationTest.txt |
淹␊淹
|
8 B | |
| 005683 | unicode/part1/U+2F90F NormalizationTest.txt |
潮␊潮
|
8 B | |
| 005684 | unicode/part1/U+2F910 NormalizationTest.txt |
𣽞␊𣽞
|
9 B | |
| 005685 | unicode/part1/U+2F911 NormalizationTest.txt |
𣾎␊𣾎
|
9 B | |
| 005686 | unicode/part1/U+2F912 NormalizationTest.txt |
濆␊濆
|
8 B | |
| 005687 | unicode/part1/U+2F913 NormalizationTest.txt |
瀹␊瀹
|
8 B | |
| 005688 | unicode/part1/U+2F914 NormalizationTest.txt |
瀞␊瀞
|
8 B | |
| 005689 | unicode/part1/U+2F915 NormalizationTest.txt |
瀛␊瀛
|
8 B | |
| 005690 | unicode/part1/U+2F916 NormalizationTest.txt |
㶖␊㶖
|
8 B | |
| 005691 | unicode/part1/U+2F917 NormalizationTest.txt |
灊␊灊
|
8 B | |
| 005692 | unicode/part1/U+2F918 NormalizationTest.txt |
災␊災
|
8 B | |
| 005693 | unicode/part1/U+2F919 NormalizationTest.txt |
灷␊灷
|
8 B | |
| 005694 | unicode/part1/U+2F91A NormalizationTest.txt |
炭␊炭
|
8 B | |
| 005695 | unicode/part1/U+2F91B NormalizationTest.txt |
𠔥␊𠔥
|
9 B | |
| 005696 | unicode/part1/U+2F91C NormalizationTest.txt |
煅␊煅
|
8 B | |
| 005697 | unicode/part1/U+2F91D NormalizationTest.txt |
𤉣␊𤉣
|
9 B | |
| 005698 | unicode/part1/U+2F91E NormalizationTest.txt |
熜␊熜
|
8 B | |
| 005699 | unicode/part1/U+2F91F NormalizationTest.txt |
𤎫␊𤎫
|
9 B | |
| 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 |
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