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 |
|---|---|---|---|---|
| 002457 | unicode/part1/U+F943 NormalizationTest.txt |
弄␊弄
|
7 B | |
| 002458 | unicode/part1/U+F944 NormalizationTest.txt |
籠␊籠
|
7 B | |
| 002459 | unicode/part1/U+F945 NormalizationTest.txt |
聾␊聾
|
7 B | |
| 002460 | unicode/part1/U+F946 NormalizationTest.txt |
牢␊牢
|
7 B | |
| 002461 | unicode/part1/U+F947 NormalizationTest.txt |
磊␊磊
|
7 B | |
| 002462 | unicode/part1/U+F948 NormalizationTest.txt |
賂␊賂
|
7 B | |
| 002463 | unicode/part1/U+F949 NormalizationTest.txt |
雷␊雷
|
7 B | |
| 002464 | unicode/part1/U+F94A NormalizationTest.txt |
壘␊壘
|
7 B | |
| 002465 | unicode/part1/U+F94B NormalizationTest.txt |
屢␊屢
|
7 B | |
| 002466 | unicode/part1/U+F94C NormalizationTest.txt |
樓␊樓
|
7 B | |
| 002467 | unicode/part1/U+F94D NormalizationTest.txt |
淚␊淚
|
7 B | |
| 002468 | unicode/part1/U+F94E NormalizationTest.txt |
漏␊漏
|
7 B | |
| 002469 | unicode/part1/U+F94F NormalizationTest.txt |
累␊累
|
7 B | |
| 002470 | unicode/part1/U+F950 NormalizationTest.txt |
縷␊縷
|
7 B | |
| 002471 | unicode/part1/U+F951 NormalizationTest.txt |
陋␊陋
|
7 B | |
| 002472 | unicode/part1/U+F952 NormalizationTest.txt |
勒␊勒
|
7 B | |
| 002473 | unicode/part1/U+F953 NormalizationTest.txt |
肋␊肋
|
7 B | |
| 002474 | unicode/part1/U+F954 NormalizationTest.txt |
凜␊凜
|
7 B | |
| 002475 | unicode/part1/U+F955 NormalizationTest.txt |
凌␊凌
|
7 B | |
| 002476 | unicode/part1/U+F956 NormalizationTest.txt |
稜␊稜
|
7 B | |
| 002477 | unicode/part1/U+F957 NormalizationTest.txt |
綾␊綾
|
7 B | |
| 002478 | unicode/part1/U+F958 NormalizationTest.txt |
菱␊菱
|
7 B | |
| 002479 | unicode/part1/U+F959 NormalizationTest.txt |
陵␊陵
|
7 B | |
| 002480 | unicode/part1/U+F95A NormalizationTest.txt |
讀␊讀
|
7 B | |
| 002481 | unicode/part1/U+F95B NormalizationTest.txt |
拏␊拏
|
7 B | |
| 002482 | unicode/part1/U+F95C NormalizationTest.txt |
樂␊樂
|
7 B | |
| 002483 | unicode/part1/U+F95D NormalizationTest.txt |
諾␊諾
|
7 B | |
| 002484 | unicode/part1/U+F95E NormalizationTest.txt |
丹␊丹
|
7 B | |
| 002485 | unicode/part1/U+F95F NormalizationTest.txt |
寧␊寧
|
7 B | |
| 002486 | unicode/part1/U+F960 NormalizationTest.txt |
怒␊怒
|
7 B | |
| 002487 | unicode/part1/U+F961 NormalizationTest.txt |
率␊率
|
7 B | |
| 002488 | unicode/part1/U+F962 NormalizationTest.txt |
異␊異
|
7 B | |
| 002489 | unicode/part1/U+F963 NormalizationTest.txt |
北␊北
|
7 B | |
| 002490 | unicode/part1/U+F964 NormalizationTest.txt |
磻␊磻
|
7 B | |
| 002491 | unicode/part1/U+F965 NormalizationTest.txt |
便␊便
|
7 B | |
| 002492 | unicode/part1/U+F966 NormalizationTest.txt |
復␊復
|
7 B | |
| 002493 | unicode/part1/U+F967 NormalizationTest.txt |
不␊不
|
7 B | |
| 002494 | unicode/part1/U+F968 NormalizationTest.txt |
泌␊泌
|
7 B | |
| 002495 | unicode/part1/U+F969 NormalizationTest.txt |
數␊數
|
7 B | |
| 002496 | unicode/part1/U+F96A NormalizationTest.txt |
索␊索
|
7 B | |
| 002497 | unicode/part1/U+F96B NormalizationTest.txt |
參␊參
|
7 B | |
| 002498 | unicode/part1/U+F96C NormalizationTest.txt |
塞␊塞
|
7 B | |
| 002499 | unicode/part1/U+F96D NormalizationTest.txt |
省␊省
|
7 B | |
| 002500 | unicode/part1/U+F96E NormalizationTest.txt |
葉␊葉
|
7 B | |
| 002501 | unicode/part1/U+F96F NormalizationTest.txt |
說␊說
|
7 B | |
| 002502 | unicode/part1/U+F970 NormalizationTest.txt |
殺␊殺
|
7 B | |
| 002503 | unicode/part1/U+F971 NormalizationTest.txt |
辰␊辰
|
7 B | |
| 002504 | unicode/part1/U+F972 NormalizationTest.txt |
沈␊沈
|
7 B | |
| 002505 | unicode/part1/U+F973 NormalizationTest.txt |
拾␊拾
|
7 B | |
| 002506 | unicode/part1/U+F974 NormalizationTest.txt |
若␊若
|
7 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