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 |
|---|---|---|---|---|
| 005769 | unicode/part1/U+2F965 NormalizationTest.txt |
𥲀␊𥲀
|
9 B | |
| 005770 | unicode/part1/U+2F966 NormalizationTest.txt |
糒␊糒
|
8 B | |
| 005771 | unicode/part1/U+2F967 NormalizationTest.txt |
䊠␊䊠
|
8 B | |
| 005772 | unicode/part1/U+2F968 NormalizationTest.txt |
糨␊糨
|
8 B | |
| 005773 | unicode/part1/U+2F969 NormalizationTest.txt |
糣␊糣
|
8 B | |
| 005774 | unicode/part1/U+2F96A NormalizationTest.txt |
紀␊紀
|
8 B | |
| 005775 | unicode/part1/U+2F96B NormalizationTest.txt |
𥾆␊𥾆
|
9 B | |
| 005776 | unicode/part1/U+2F96C NormalizationTest.txt |
絣␊絣
|
8 B | |
| 005777 | unicode/part1/U+2F96D NormalizationTest.txt |
䌁␊䌁
|
8 B | |
| 005778 | unicode/part1/U+2F96E NormalizationTest.txt |
緇␊緇
|
8 B | |
| 005779 | unicode/part1/U+2F96F NormalizationTest.txt |
縂␊縂
|
8 B | |
| 005780 | unicode/part1/U+2F970 NormalizationTest.txt |
繅␊繅
|
8 B | |
| 005781 | unicode/part1/U+2F971 NormalizationTest.txt |
䌴␊䌴
|
8 B | |
| 005782 | unicode/part1/U+2F972 NormalizationTest.txt |
𦈨␊𦈨
|
9 B | |
| 005783 | unicode/part1/U+2F973 NormalizationTest.txt |
𦉇␊𦉇
|
9 B | |
| 005784 | unicode/part1/U+2F974 NormalizationTest.txt |
䍙␊䍙
|
8 B | |
| 005785 | unicode/part1/U+2F975 NormalizationTest.txt |
𦋙␊𦋙
|
9 B | |
| 005786 | unicode/part1/U+2F976 NormalizationTest.txt |
罺␊罺
|
8 B | |
| 005787 | unicode/part1/U+2F977 NormalizationTest.txt |
𦌾␊𦌾
|
9 B | |
| 005788 | unicode/part1/U+2F978 NormalizationTest.txt |
羕␊羕
|
8 B | |
| 005789 | unicode/part1/U+2F979 NormalizationTest.txt |
翺␊翺
|
8 B | |
| 005790 | unicode/part1/U+2F97A NormalizationTest.txt |
者␊者
|
8 B | |
| 005791 | unicode/part1/U+2F97B NormalizationTest.txt |
𦓚␊𦓚
|
9 B | |
| 005792 | unicode/part1/U+2F97C NormalizationTest.txt |
𦔣␊𦔣
|
9 B | |
| 005793 | unicode/part1/U+2F97D NormalizationTest.txt |
聠␊聠
|
8 B | |
| 005794 | unicode/part1/U+2F97E NormalizationTest.txt |
𦖨␊𦖨
|
9 B | |
| 005795 | unicode/part1/U+2F97F NormalizationTest.txt |
聰␊聰
|
8 B | |
| 005796 | unicode/part1/U+2F980 NormalizationTest.txt |
𣍟␊𣍟
|
9 B | |
| 005797 | unicode/part1/U+2F981 NormalizationTest.txt |
䏕␊䏕
|
8 B | |
| 005798 | unicode/part1/U+2F982 NormalizationTest.txt |
育␊育
|
8 B | |
| 005799 | unicode/part1/U+2F983 NormalizationTest.txt |
脃␊脃
|
8 B | |
| 005800 | unicode/part1/U+2F984 NormalizationTest.txt |
䐋␊䐋
|
8 B | |
| 005801 | unicode/part1/U+2F985 NormalizationTest.txt |
脾␊脾
|
8 B | |
| 005802 | unicode/part1/U+2F986 NormalizationTest.txt |
媵␊媵
|
8 B | |
| 005803 | unicode/part1/U+2F987 NormalizationTest.txt |
𦞧␊𦞧
|
9 B | |
| 005804 | unicode/part1/U+2F988 NormalizationTest.txt |
𦞵␊𦞵
|
9 B | |
| 005805 | unicode/part1/U+2F989 NormalizationTest.txt |
𣎓␊𣎓
|
9 B | |
| 005806 | unicode/part1/U+2F98A NormalizationTest.txt |
𣎜␊𣎜
|
9 B | |
| 005807 | unicode/part1/U+2F98B NormalizationTest.txt |
舁␊舁
|
8 B | |
| 005808 | unicode/part1/U+2F98C NormalizationTest.txt |
舄␊舄
|
8 B | |
| 005809 | unicode/part1/U+2F98D NormalizationTest.txt |
辞␊辞
|
8 B | |
| 005810 | unicode/part1/U+2F98E NormalizationTest.txt |
䑫␊䑫
|
8 B | |
| 005811 | unicode/part1/U+2F98F NormalizationTest.txt |
芑␊芑
|
8 B | |
| 005812 | unicode/part1/U+2F990 NormalizationTest.txt |
芋␊芋
|
8 B | |
| 005813 | unicode/part1/U+2F991 NormalizationTest.txt |
芝␊芝
|
8 B | |
| 005814 | unicode/part1/U+2F992 NormalizationTest.txt |
劳␊劳
|
8 B | |
| 005815 | unicode/part1/U+2F993 NormalizationTest.txt |
花␊花
|
8 B | |
| 005816 | unicode/part1/U+2F994 NormalizationTest.txt |
芳␊芳
|
8 B | |
| 005817 | unicode/part1/U+2F995 NormalizationTest.txt |
芽␊芽
|
8 B | |
| 005818 | unicode/part1/U+2F996 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