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
5,928 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 005845 | unicode/part1/U+2F9B1 NormalizationTest.txt |
𧃒␊𧃒
|
9 B | |
| 005846 | unicode/part1/U+2F9B2 NormalizationTest.txt |
䕫␊䕫
|
8 B | |
| 005847 | unicode/part1/U+2F9B3 NormalizationTest.txt |
虐␊虐
|
8 B | |
| 005848 | unicode/part1/U+2F9B4 NormalizationTest.txt |
虜␊虜
|
8 B | |
| 005849 | unicode/part1/U+2F9B5 NormalizationTest.txt |
虧␊虧
|
8 B | |
| 005850 | unicode/part1/U+2F9B6 NormalizationTest.txt |
虩␊虩
|
8 B | |
| 005851 | unicode/part1/U+2F9B7 NormalizationTest.txt |
蚩␊蚩
|
8 B | |
| 005852 | unicode/part1/U+2F9B8 NormalizationTest.txt |
蚈␊蚈
|
8 B | |
| 005853 | unicode/part1/U+2F9B9 NormalizationTest.txt |
蜎␊蜎
|
8 B | |
| 005854 | unicode/part1/U+2F9BA NormalizationTest.txt |
蛢␊蛢
|
8 B | |
| 005855 | unicode/part1/U+2F9BB NormalizationTest.txt |
蝹␊蝹
|
8 B | |
| 005856 | unicode/part1/U+2F9BC NormalizationTest.txt |
蜨␊蜨
|
8 B | |
| 005857 | unicode/part1/U+2F9BD NormalizationTest.txt |
蝫␊蝫
|
8 B | |
| 005858 | unicode/part1/U+2F9BE NormalizationTest.txt |
螆␊螆
|
8 B | |
| 005859 | unicode/part1/U+2F9BF NormalizationTest.txt |
䗗␊䗗
|
8 B | |
| 005860 | unicode/part1/U+2F9C0 NormalizationTest.txt |
蟡␊蟡
|
8 B | |
| 005861 | unicode/part1/U+2F9C1 NormalizationTest.txt |
蠁␊蠁
|
8 B | |
| 005862 | unicode/part1/U+2F9C2 NormalizationTest.txt |
䗹␊䗹
|
8 B | |
| 005863 | unicode/part1/U+2F9C3 NormalizationTest.txt |
衠␊衠
|
8 B | |
| 005864 | unicode/part1/U+2F9C4 NormalizationTest.txt |
衣␊衣
|
8 B | |
| 005865 | unicode/part1/U+2F9C5 NormalizationTest.txt |
𧙧␊𧙧
|
9 B | |
| 005866 | unicode/part1/U+2F9C6 NormalizationTest.txt |
裗␊裗
|
8 B | |
| 005867 | unicode/part1/U+2F9C7 NormalizationTest.txt |
裞␊裞
|
8 B | |
| 005868 | unicode/part1/U+2F9C8 NormalizationTest.txt |
䘵␊䘵
|
8 B | |
| 005869 | unicode/part1/U+2F9C9 NormalizationTest.txt |
裺␊裺
|
8 B | |
| 005870 | unicode/part1/U+2F9CA NormalizationTest.txt |
㒻␊㒻
|
8 B | |
| 005871 | unicode/part1/U+2F9CB NormalizationTest.txt |
𧢮␊𧢮
|
9 B | |
| 005872 | unicode/part1/U+2F9CC NormalizationTest.txt |
𧥦␊𧥦
|
9 B | |
| 005873 | unicode/part1/U+2F9CD NormalizationTest.txt |
䚾␊䚾
|
8 B | |
| 005874 | unicode/part1/U+2F9CE NormalizationTest.txt |
䛇␊䛇
|
8 B | |
| 005875 | unicode/part1/U+2F9CF NormalizationTest.txt |
誠␊誠
|
8 B | |
| 005876 | unicode/part1/U+2F9D0 NormalizationTest.txt |
諭␊諭
|
8 B | |
| 005877 | unicode/part1/U+2F9D1 NormalizationTest.txt |
變␊變
|
8 B | |
| 005878 | unicode/part1/U+2F9D2 NormalizationTest.txt |
豕␊豕
|
8 B | |
| 005879 | unicode/part1/U+2F9D3 NormalizationTest.txt |
𧲨␊𧲨
|
9 B | |
| 005880 | unicode/part1/U+2F9D4 NormalizationTest.txt |
貫␊貫
|
8 B | |
| 005881 | unicode/part1/U+2F9D5 NormalizationTest.txt |
賁␊賁
|
8 B | |
| 005882 | unicode/part1/U+2F9D6 NormalizationTest.txt |
贛␊贛
|
8 B | |
| 005883 | unicode/part1/U+2F9D7 NormalizationTest.txt |
起␊起
|
8 B | |
| 005884 | unicode/part1/U+2F9D8 NormalizationTest.txt |
𧼯␊𧼯
|
9 B | |
| 005885 | unicode/part1/U+2F9D9 NormalizationTest.txt |
𠠄␊𠠄
|
9 B | |
| 005886 | unicode/part1/U+2F9DA NormalizationTest.txt |
跋␊跋
|
8 B | |
| 005887 | unicode/part1/U+2F9DB NormalizationTest.txt |
趼␊趼
|
8 B | |
| 005888 | unicode/part1/U+2F9DC NormalizationTest.txt |
跰␊跰
|
8 B | |
| 005889 | unicode/part1/U+2F9DD NormalizationTest.txt |
𠣞␊𠣞
|
9 B | |
| 005890 | unicode/part1/U+2F9DE NormalizationTest.txt |
軔␊軔
|
8 B | |
| 005891 | unicode/part1/U+2F9DF NormalizationTest.txt |
輸␊輸
|
8 B | |
| 005892 | unicode/part1/U+2F9E0 NormalizationTest.txt |
𨗒␊𨗒
|
9 B | |
| 005893 | unicode/part1/U+2F9E1 NormalizationTest.txt |
𨗭␊𨗭
|
9 B | |
| 005894 | unicode/part1/U+2F9E2 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