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 |
|---|---|---|---|---|
| 002807 | unicode/part1/U+FAAF NormalizationTest.txt |
絛␊絛
|
7 B | |
| 002808 | unicode/part1/U+FAB0 NormalizationTest.txt |
練␊練
|
7 B | |
| 002809 | unicode/part1/U+FAB1 NormalizationTest.txt |
缾␊缾
|
7 B | |
| 002810 | unicode/part1/U+FAB2 NormalizationTest.txt |
者␊者
|
7 B | |
| 002811 | unicode/part1/U+FAB3 NormalizationTest.txt |
荒␊荒
|
7 B | |
| 002812 | unicode/part1/U+FAB4 NormalizationTest.txt |
華␊華
|
7 B | |
| 002813 | unicode/part1/U+FAB5 NormalizationTest.txt |
蝹␊蝹
|
7 B | |
| 002814 | unicode/part1/U+FAB6 NormalizationTest.txt |
襁␊襁
|
7 B | |
| 002815 | unicode/part1/U+FAB7 NormalizationTest.txt |
覆␊覆
|
7 B | |
| 002816 | unicode/part1/U+FAB8 NormalizationTest.txt |
視␊視
|
7 B | |
| 002817 | unicode/part1/U+FAB9 NormalizationTest.txt |
調␊調
|
7 B | |
| 002818 | unicode/part1/U+FABA NormalizationTest.txt |
諸␊諸
|
7 B | |
| 002819 | unicode/part1/U+FABB NormalizationTest.txt |
請␊請
|
7 B | |
| 002820 | unicode/part1/U+FABC NormalizationTest.txt |
謁␊謁
|
7 B | |
| 002821 | unicode/part1/U+FABD NormalizationTest.txt |
諾␊諾
|
7 B | |
| 002822 | unicode/part1/U+FABE NormalizationTest.txt |
諭␊諭
|
7 B | |
| 002823 | unicode/part1/U+FABF NormalizationTest.txt |
謹␊謹
|
7 B | |
| 002824 | unicode/part1/U+FAC0 NormalizationTest.txt |
變␊變
|
7 B | |
| 002825 | unicode/part1/U+FAC1 NormalizationTest.txt |
贈␊贈
|
7 B | |
| 002826 | unicode/part1/U+FAC2 NormalizationTest.txt |
輸␊輸
|
7 B | |
| 002827 | unicode/part1/U+FAC3 NormalizationTest.txt |
遲␊遲
|
7 B | |
| 002828 | unicode/part1/U+FAC4 NormalizationTest.txt |
醙␊醙
|
7 B | |
| 002829 | unicode/part1/U+FAC5 NormalizationTest.txt |
鉶␊鉶
|
7 B | |
| 002830 | unicode/part1/U+FAC6 NormalizationTest.txt |
陼␊陼
|
7 B | |
| 002831 | unicode/part1/U+FAC7 NormalizationTest.txt |
難␊難
|
7 B | |
| 002832 | unicode/part1/U+FAC8 NormalizationTest.txt |
靖␊靖
|
7 B | |
| 002833 | unicode/part1/U+FAC9 NormalizationTest.txt |
韛␊韛
|
7 B | |
| 002834 | unicode/part1/U+FACA NormalizationTest.txt |
響␊響
|
7 B | |
| 002835 | unicode/part1/U+FACB NormalizationTest.txt |
頋␊頋
|
7 B | |
| 002836 | unicode/part1/U+FACC NormalizationTest.txt |
頻␊頻
|
7 B | |
| 002837 | unicode/part1/U+FACD NormalizationTest.txt |
鬒␊鬒
|
7 B | |
| 002838 | unicode/part1/U+FACE NormalizationTest.txt |
龜␊龜
|
7 B | |
| 002839 | unicode/part1/U+FACF NormalizationTest.txt |
𢡊␊𢡊
|
8 B | |
| 002840 | unicode/part1/U+FAD0 NormalizationTest.txt |
𢡄␊𢡄
|
8 B | |
| 002841 | unicode/part1/U+FAD1 NormalizationTest.txt |
𣏕␊𣏕
|
8 B | |
| 002842 | unicode/part1/U+FAD2 NormalizationTest.txt |
㮝␊㮝
|
7 B | |
| 002843 | unicode/part1/U+FAD3 NormalizationTest.txt |
䀘␊䀘
|
7 B | |
| 002844 | unicode/part1/U+FAD4 NormalizationTest.txt |
䀹␊䀹
|
7 B | |
| 002845 | unicode/part1/U+FAD5 NormalizationTest.txt |
𥉉␊𥉉
|
8 B | |
| 002846 | unicode/part1/U+FAD6 NormalizationTest.txt |
𥳐␊𥳐
|
8 B | |
| 002847 | unicode/part1/U+FAD7 NormalizationTest.txt |
𧻓␊𧻓
|
8 B | |
| 002848 | unicode/part1/U+FAD8 NormalizationTest.txt |
齃␊齃
|
7 B | |
| 002849 | unicode/part1/U+FAD9 NormalizationTest.txt |
龎␊龎
|
7 B | |
| 005412 | unicode/part1/U+2F800 NormalizationTest.txt |
丽␊丽
|
8 B | |
| 005413 | unicode/part1/U+2F801 NormalizationTest.txt |
丸␊丸
|
8 B | |
| 005414 | unicode/part1/U+2F802 NormalizationTest.txt |
乁␊乁
|
8 B | |
| 005415 | unicode/part1/U+2F803 NormalizationTest.txt |
𠄢␊𠄢
|
9 B | |
| 005416 | unicode/part1/U+2F804 NormalizationTest.txt |
你␊你
|
8 B | |
| 005417 | unicode/part1/U+2F805 NormalizationTest.txt |
侮␊侮
|
8 B | |
| 005418 | unicode/part1/U+2F806 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