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 |
|---|---|---|---|---|
| 002507 | unicode/part1/U+F975 NormalizationTest.txt |
掠␊掠
|
7 B | |
| 002508 | unicode/part1/U+F976 NormalizationTest.txt |
略␊略
|
7 B | |
| 002509 | unicode/part1/U+F977 NormalizationTest.txt |
亮␊亮
|
7 B | |
| 002510 | unicode/part1/U+F978 NormalizationTest.txt |
兩␊兩
|
7 B | |
| 002511 | unicode/part1/U+F979 NormalizationTest.txt |
凉␊凉
|
7 B | |
| 002512 | unicode/part1/U+F97A NormalizationTest.txt |
梁␊梁
|
7 B | |
| 002513 | unicode/part1/U+F97B NormalizationTest.txt |
糧␊糧
|
7 B | |
| 002514 | unicode/part1/U+F97C NormalizationTest.txt |
良␊良
|
7 B | |
| 002515 | unicode/part1/U+F97D NormalizationTest.txt |
諒␊諒
|
7 B | |
| 002516 | unicode/part1/U+F97E NormalizationTest.txt |
量␊量
|
7 B | |
| 002517 | unicode/part1/U+F97F NormalizationTest.txt |
勵␊勵
|
7 B | |
| 002518 | unicode/part1/U+F980 NormalizationTest.txt |
呂␊呂
|
7 B | |
| 002519 | unicode/part1/U+F981 NormalizationTest.txt |
女␊女
|
7 B | |
| 002520 | unicode/part1/U+F982 NormalizationTest.txt |
廬␊廬
|
7 B | |
| 002521 | unicode/part1/U+F983 NormalizationTest.txt |
旅␊旅
|
7 B | |
| 002522 | unicode/part1/U+F984 NormalizationTest.txt |
濾␊濾
|
7 B | |
| 002523 | unicode/part1/U+F985 NormalizationTest.txt |
礪␊礪
|
7 B | |
| 002524 | unicode/part1/U+F986 NormalizationTest.txt |
閭␊閭
|
7 B | |
| 002525 | unicode/part1/U+F987 NormalizationTest.txt |
驪␊驪
|
7 B | |
| 002526 | unicode/part1/U+F988 NormalizationTest.txt |
麗␊麗
|
7 B | |
| 002527 | unicode/part1/U+F989 NormalizationTest.txt |
黎␊黎
|
7 B | |
| 002528 | unicode/part1/U+F98A NormalizationTest.txt |
力␊力
|
7 B | |
| 002529 | unicode/part1/U+F98B NormalizationTest.txt |
曆␊曆
|
7 B | |
| 002530 | unicode/part1/U+F98C NormalizationTest.txt |
歷␊歷
|
7 B | |
| 002531 | unicode/part1/U+F98D NormalizationTest.txt |
轢␊轢
|
7 B | |
| 002532 | unicode/part1/U+F98E NormalizationTest.txt |
年␊年
|
7 B | |
| 002533 | unicode/part1/U+F98F NormalizationTest.txt |
憐␊憐
|
7 B | |
| 002534 | unicode/part1/U+F990 NormalizationTest.txt |
戀␊戀
|
7 B | |
| 002535 | unicode/part1/U+F991 NormalizationTest.txt |
撚␊撚
|
7 B | |
| 002536 | unicode/part1/U+F992 NormalizationTest.txt |
漣␊漣
|
7 B | |
| 002537 | unicode/part1/U+F993 NormalizationTest.txt |
煉␊煉
|
7 B | |
| 002538 | unicode/part1/U+F994 NormalizationTest.txt |
璉␊璉
|
7 B | |
| 002539 | unicode/part1/U+F995 NormalizationTest.txt |
秊␊秊
|
7 B | |
| 002540 | unicode/part1/U+F996 NormalizationTest.txt |
練␊練
|
7 B | |
| 002541 | unicode/part1/U+F997 NormalizationTest.txt |
聯␊聯
|
7 B | |
| 002542 | unicode/part1/U+F998 NormalizationTest.txt |
輦␊輦
|
7 B | |
| 002543 | unicode/part1/U+F999 NormalizationTest.txt |
蓮␊蓮
|
7 B | |
| 002544 | unicode/part1/U+F99A NormalizationTest.txt |
連␊連
|
7 B | |
| 002545 | unicode/part1/U+F99B NormalizationTest.txt |
鍊␊鍊
|
7 B | |
| 002546 | unicode/part1/U+F99C NormalizationTest.txt |
列␊列
|
7 B | |
| 002547 | unicode/part1/U+F99D NormalizationTest.txt |
劣␊劣
|
7 B | |
| 002548 | unicode/part1/U+F99E NormalizationTest.txt |
咽␊咽
|
7 B | |
| 002549 | unicode/part1/U+F99F NormalizationTest.txt |
烈␊烈
|
7 B | |
| 002550 | unicode/part1/U+F9A0 NormalizationTest.txt |
裂␊裂
|
7 B | |
| 002551 | unicode/part1/U+F9A1 NormalizationTest.txt |
說␊說
|
7 B | |
| 002552 | unicode/part1/U+F9A2 NormalizationTest.txt |
廉␊廉
|
7 B | |
| 002553 | unicode/part1/U+F9A3 NormalizationTest.txt |
念␊念
|
7 B | |
| 002554 | unicode/part1/U+F9A4 NormalizationTest.txt |
捻␊捻
|
7 B | |
| 002555 | unicode/part1/U+F9A5 NormalizationTest.txt |
殮␊殮
|
7 B | |
| 002556 | unicode/part1/U+F9A6 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