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 |
|---|---|---|---|---|
| 002707 | unicode/part1/U+FA49 NormalizationTest.txt |
爫␊爫
|
7 B | |
| 002708 | unicode/part1/U+FA4A NormalizationTest.txt |
琢␊琢
|
7 B | |
| 002709 | unicode/part1/U+FA4B NormalizationTest.txt |
碑␊碑
|
7 B | |
| 002710 | unicode/part1/U+FA4C NormalizationTest.txt |
社␊社
|
7 B | |
| 002711 | unicode/part1/U+FA4D NormalizationTest.txt |
祉␊祉
|
7 B | |
| 002712 | unicode/part1/U+FA4E NormalizationTest.txt |
祈␊祈
|
7 B | |
| 002713 | unicode/part1/U+FA4F NormalizationTest.txt |
祐␊祐
|
7 B | |
| 002714 | unicode/part1/U+FA50 NormalizationTest.txt |
祖␊祖
|
7 B | |
| 002715 | unicode/part1/U+FA51 NormalizationTest.txt |
祝␊祝
|
7 B | |
| 002716 | unicode/part1/U+FA52 NormalizationTest.txt |
禍␊禍
|
7 B | |
| 002717 | unicode/part1/U+FA53 NormalizationTest.txt |
禎␊禎
|
7 B | |
| 002718 | unicode/part1/U+FA54 NormalizationTest.txt |
穀␊穀
|
7 B | |
| 002719 | unicode/part1/U+FA55 NormalizationTest.txt |
突␊突
|
7 B | |
| 002720 | unicode/part1/U+FA56 NormalizationTest.txt |
節␊節
|
7 B | |
| 002721 | unicode/part1/U+FA57 NormalizationTest.txt |
練␊練
|
7 B | |
| 002722 | unicode/part1/U+FA58 NormalizationTest.txt |
縉␊縉
|
7 B | |
| 002723 | unicode/part1/U+FA59 NormalizationTest.txt |
繁␊繁
|
7 B | |
| 002724 | unicode/part1/U+FA5A NormalizationTest.txt |
署␊署
|
7 B | |
| 002725 | unicode/part1/U+FA5B NormalizationTest.txt |
者␊者
|
7 B | |
| 002726 | unicode/part1/U+FA5C NormalizationTest.txt |
臭␊臭
|
7 B | |
| 002727 | unicode/part1/U+FA5D NormalizationTest.txt |
艹␊艹
|
7 B | |
| 002728 | unicode/part1/U+FA5E NormalizationTest.txt |
艹␊艹
|
7 B | |
| 002729 | unicode/part1/U+FA5F NormalizationTest.txt |
著␊著
|
7 B | |
| 002730 | unicode/part1/U+FA60 NormalizationTest.txt |
褐␊褐
|
7 B | |
| 002731 | unicode/part1/U+FA61 NormalizationTest.txt |
視␊視
|
7 B | |
| 002732 | unicode/part1/U+FA62 NormalizationTest.txt |
謁␊謁
|
7 B | |
| 002733 | unicode/part1/U+FA63 NormalizationTest.txt |
謹␊謹
|
7 B | |
| 002734 | unicode/part1/U+FA64 NormalizationTest.txt |
賓␊賓
|
7 B | |
| 002735 | unicode/part1/U+FA65 NormalizationTest.txt |
贈␊贈
|
7 B | |
| 002736 | unicode/part1/U+FA66 NormalizationTest.txt |
辶␊辶
|
7 B | |
| 002737 | unicode/part1/U+FA67 NormalizationTest.txt |
逸␊逸
|
7 B | |
| 002738 | unicode/part1/U+FA68 NormalizationTest.txt |
難␊難
|
7 B | |
| 002739 | unicode/part1/U+FA69 NormalizationTest.txt |
響␊響
|
7 B | |
| 002740 | unicode/part1/U+FA6A NormalizationTest.txt |
頻␊頻
|
7 B | |
| 002741 | unicode/part1/U+FA6B NormalizationTest.txt |
恵␊恵
|
7 B | |
| 002742 | unicode/part1/U+FA6C NormalizationTest.txt |
𤋮␊𤋮
|
8 B | |
| 002743 | unicode/part1/U+FA6D NormalizationTest.txt |
舘␊舘
|
7 B | |
| 002744 | unicode/part1/U+FA70 NormalizationTest.txt |
並␊並
|
7 B | |
| 002745 | unicode/part1/U+FA71 NormalizationTest.txt |
况␊况
|
7 B | |
| 002746 | unicode/part1/U+FA72 NormalizationTest.txt |
全␊全
|
7 B | |
| 002747 | unicode/part1/U+FA73 NormalizationTest.txt |
侀␊侀
|
7 B | |
| 002748 | unicode/part1/U+FA74 NormalizationTest.txt |
充␊充
|
7 B | |
| 002749 | unicode/part1/U+FA75 NormalizationTest.txt |
冀␊冀
|
7 B | |
| 002750 | unicode/part1/U+FA76 NormalizationTest.txt |
勇␊勇
|
7 B | |
| 002751 | unicode/part1/U+FA77 NormalizationTest.txt |
勺␊勺
|
7 B | |
| 002752 | unicode/part1/U+FA78 NormalizationTest.txt |
喝␊喝
|
7 B | |
| 002753 | unicode/part1/U+FA79 NormalizationTest.txt |
啕␊啕
|
7 B | |
| 002754 | unicode/part1/U+FA7A NormalizationTest.txt |
喙␊喙
|
7 B | |
| 002755 | unicode/part1/U+FA7B NormalizationTest.txt |
嗢␊嗢
|
7 B | |
| 002756 | unicode/part1/U+FA7C 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