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 |
|---|---|---|---|---|
| 002657 | unicode/part1/U+FA0B NormalizationTest.txt |
廓␊廓
|
7 B | |
| 002658 | unicode/part1/U+FA0C NormalizationTest.txt |
兀␊兀
|
7 B | |
| 002659 | unicode/part1/U+FA0D NormalizationTest.txt |
嗀␊嗀
|
7 B | |
| 002660 | unicode/part1/U+FA10 NormalizationTest.txt |
塚␊塚
|
7 B | |
| 002661 | unicode/part1/U+FA12 NormalizationTest.txt |
晴␊晴
|
7 B | |
| 002662 | unicode/part1/U+FA15 NormalizationTest.txt |
凞␊凞
|
7 B | |
| 002663 | unicode/part1/U+FA16 NormalizationTest.txt |
猪␊猪
|
7 B | |
| 002664 | unicode/part1/U+FA17 NormalizationTest.txt |
益␊益
|
7 B | |
| 002665 | unicode/part1/U+FA18 NormalizationTest.txt |
礼␊礼
|
7 B | |
| 002666 | unicode/part1/U+FA19 NormalizationTest.txt |
神␊神
|
7 B | |
| 002667 | unicode/part1/U+FA1A NormalizationTest.txt |
祥␊祥
|
7 B | |
| 002668 | unicode/part1/U+FA1B NormalizationTest.txt |
福␊福
|
7 B | |
| 002669 | unicode/part1/U+FA1C NormalizationTest.txt |
靖␊靖
|
7 B | |
| 002670 | unicode/part1/U+FA1D NormalizationTest.txt |
精␊精
|
7 B | |
| 002671 | unicode/part1/U+FA1E NormalizationTest.txt |
羽␊羽
|
7 B | |
| 002672 | unicode/part1/U+FA20 NormalizationTest.txt |
蘒␊蘒
|
7 B | |
| 002673 | unicode/part1/U+FA22 NormalizationTest.txt |
諸␊諸
|
7 B | |
| 002674 | unicode/part1/U+FA25 NormalizationTest.txt |
逸␊逸
|
7 B | |
| 002675 | unicode/part1/U+FA26 NormalizationTest.txt |
都␊都
|
7 B | |
| 002676 | unicode/part1/U+FA2A NormalizationTest.txt |
飯␊飯
|
7 B | |
| 002677 | unicode/part1/U+FA2B NormalizationTest.txt |
飼␊飼
|
7 B | |
| 002678 | unicode/part1/U+FA2C NormalizationTest.txt |
館␊館
|
7 B | |
| 002679 | unicode/part1/U+FA2D NormalizationTest.txt |
鶴␊鶴
|
7 B | |
| 002680 | unicode/part1/U+FA2E NormalizationTest.txt |
郞␊郞
|
7 B | |
| 002681 | unicode/part1/U+FA2F NormalizationTest.txt |
隷␊隷
|
7 B | |
| 002682 | unicode/part1/U+FA30 NormalizationTest.txt |
侮␊侮
|
7 B | |
| 002683 | unicode/part1/U+FA31 NormalizationTest.txt |
僧␊僧
|
7 B | |
| 002684 | unicode/part1/U+FA32 NormalizationTest.txt |
免␊免
|
7 B | |
| 002685 | unicode/part1/U+FA33 NormalizationTest.txt |
勉␊勉
|
7 B | |
| 002686 | unicode/part1/U+FA34 NormalizationTest.txt |
勤␊勤
|
7 B | |
| 002687 | unicode/part1/U+FA35 NormalizationTest.txt |
卑␊卑
|
7 B | |
| 002688 | unicode/part1/U+FA36 NormalizationTest.txt |
喝␊喝
|
7 B | |
| 002689 | unicode/part1/U+FA37 NormalizationTest.txt |
嘆␊嘆
|
7 B | |
| 002690 | unicode/part1/U+FA38 NormalizationTest.txt |
器␊器
|
7 B | |
| 002691 | unicode/part1/U+FA39 NormalizationTest.txt |
塀␊塀
|
7 B | |
| 002692 | unicode/part1/U+FA3A NormalizationTest.txt |
墨␊墨
|
7 B | |
| 002693 | unicode/part1/U+FA3B NormalizationTest.txt |
層␊層
|
7 B | |
| 002694 | unicode/part1/U+FA3C NormalizationTest.txt |
屮␊屮
|
7 B | |
| 002695 | unicode/part1/U+FA3D NormalizationTest.txt |
悔␊悔
|
7 B | |
| 002696 | unicode/part1/U+FA3E NormalizationTest.txt |
慨␊慨
|
7 B | |
| 002697 | unicode/part1/U+FA3F NormalizationTest.txt |
憎␊憎
|
7 B | |
| 002698 | unicode/part1/U+FA40 NormalizationTest.txt |
懲␊懲
|
7 B | |
| 002699 | unicode/part1/U+FA41 NormalizationTest.txt |
敏␊敏
|
7 B | |
| 002700 | unicode/part1/U+FA42 NormalizationTest.txt |
既␊既
|
7 B | |
| 002701 | unicode/part1/U+FA43 NormalizationTest.txt |
暑␊暑
|
7 B | |
| 002702 | unicode/part1/U+FA44 NormalizationTest.txt |
梅␊梅
|
7 B | |
| 002703 | unicode/part1/U+FA45 NormalizationTest.txt |
海␊海
|
7 B | |
| 002704 | unicode/part1/U+FA46 NormalizationTest.txt |
渚␊渚
|
7 B | |
| 002705 | unicode/part1/U+FA47 NormalizationTest.txt |
漢␊漢
|
7 B | |
| 002706 | unicode/part1/U+FA48 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