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
3,833 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 003935 | unicode/part1/U+10785 NormalizationTest.txt |
๐
โษ
|
7 B | |
| 003936 | unicode/part1/U+10787 NormalizationTest.txt |
๐โสฃ
|
7 B | |
| 003937 | unicode/part1/U+10788 NormalizationTest.txt |
๐โ๊ญฆ
|
8 B | |
| 003938 | unicode/part1/U+10789 NormalizationTest.txt |
๐โสฅ
|
7 B | |
| 003939 | unicode/part1/U+1078A NormalizationTest.txt |
๐โสค
|
7 B | |
| 003940 | unicode/part1/U+1078B NormalizationTest.txt |
๐โษ
|
7 B | |
| 003941 | unicode/part1/U+1078C NormalizationTest.txt |
๐โษ
|
7 B | |
| 003942 | unicode/part1/U+1078D NormalizationTest.txt |
๐โแถ
|
8 B | |
| 003943 | unicode/part1/U+1078E NormalizationTest.txt |
๐โษ
|
7 B | |
| 003944 | unicode/part1/U+1078F NormalizationTest.txt |
๐โษ
|
7 B | |
| 003945 | unicode/part1/U+10790 NormalizationTest.txt |
๐โสฉ
|
7 B | |
| 003946 | unicode/part1/U+10791 NormalizationTest.txt |
๐โษค
|
7 B | |
| 003947 | unicode/part1/U+10792 NormalizationTest.txt |
๐โษข
|
7 B | |
| 003948 | unicode/part1/U+10793 NormalizationTest.txt |
๐โษ
|
7 B | |
| 003949 | unicode/part1/U+10794 NormalizationTest.txt |
๐โส
|
7 B | |
| 003950 | unicode/part1/U+10795 NormalizationTest.txt |
๐โฤง
|
7 B | |
| 003951 | unicode/part1/U+10796 NormalizationTest.txt |
๐โส
|
7 B | |
| 003952 | unicode/part1/U+10797 NormalizationTest.txt |
๐โษง
|
7 B | |
| 003953 | unicode/part1/U+10798 NormalizationTest.txt |
๐โส
|
7 B | |
| 003954 | unicode/part1/U+10799 NormalizationTest.txt |
๐โสช
|
7 B | |
| 003955 | unicode/part1/U+1079A NormalizationTest.txt |
๐โสซ
|
7 B | |
| 003956 | unicode/part1/U+1079B NormalizationTest.txt |
๐โษฌ
|
7 B | |
| 003957 | unicode/part1/U+1079C NormalizationTest.txt |
๐โ๐ผ
|
9 B | |
| 003958 | unicode/part1/U+1079D NormalizationTest.txt |
๐โ๊
|
8 B | |
| 003959 | unicode/part1/U+1079E NormalizationTest.txt |
๐โษฎ
|
7 B | |
| 003960 | unicode/part1/U+1079F NormalizationTest.txt |
๐โ๐ผ
|
9 B | |
| 003961 | unicode/part1/U+107A0 NormalizationTest.txt |
๐ โส
|
7 B | |
| 003962 | unicode/part1/U+107A1 NormalizationTest.txt |
๐กโ๐ผ
|
9 B | |
| 003963 | unicode/part1/U+107A2 NormalizationTest.txt |
๐ขโรธ
|
7 B | |
| 003964 | unicode/part1/U+107A3 NormalizationTest.txt |
๐ฃโษถ
|
7 B | |
| 003965 | unicode/part1/U+107A4 NormalizationTest.txt |
๐คโษท
|
7 B | |
| 003966 | unicode/part1/U+107A5 NormalizationTest.txt |
๐ฅโq
|
6 B | |
| 003967 | unicode/part1/U+107A6 NormalizationTest.txt |
๐ฆโษบ
|
7 B | |
| 003968 | unicode/part1/U+107A7 NormalizationTest.txt |
๐งโ๐ผ
|
9 B | |
| 003969 | unicode/part1/U+107A8 NormalizationTest.txt |
๐จโษฝ
|
7 B | |
| 003970 | unicode/part1/U+107A9 NormalizationTest.txt |
๐ฉโษพ
|
7 B | |
| 003971 | unicode/part1/U+107AA NormalizationTest.txt |
๐ชโส
|
7 B | |
| 003972 | unicode/part1/U+107AB NormalizationTest.txt |
๐ซโสจ
|
7 B | |
| 003973 | unicode/part1/U+107AC NormalizationTest.txt |
๐ฌโสฆ
|
7 B | |
| 003974 | unicode/part1/U+107AD NormalizationTest.txt |
๐ญโ๊ญง
|
8 B | |
| 003975 | unicode/part1/U+107AE NormalizationTest.txt |
๐ฎโสง
|
7 B | |
| 003976 | unicode/part1/U+107AF NormalizationTest.txt |
๐ฏโส
|
7 B | |
| 003977 | unicode/part1/U+107B0 NormalizationTest.txt |
๐ฐโโฑฑ
|
8 B | |
| 003978 | unicode/part1/U+107B2 NormalizationTest.txt |
๐ฒโส
|
7 B | |
| 003979 | unicode/part1/U+107B3 NormalizationTest.txt |
๐ณโสก
|
7 B | |
| 003980 | unicode/part1/U+107B4 NormalizationTest.txt |
๐ดโสข
|
7 B | |
| 003981 | unicode/part1/U+107B5 NormalizationTest.txt |
๐ตโส
|
7 B | |
| 003982 | unicode/part1/U+107B6 NormalizationTest.txt |
๐ถโว
|
7 B | |
| 003983 | unicode/part1/U+107B7 NormalizationTest.txt |
๐ทโว
|
7 B | |
| 003984 | unicode/part1/U+107B8 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