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 |
|---|---|---|---|---|
| 002389 | unicode/part1/U+AB69 NormalizationTest.txt |
ꭩ␊ʍ
|
6 B | |
| 002850 | unicode/part1/U+FB00 NormalizationTest.txt |
ff␊ff
|
6 B | |
| 002851 | unicode/part1/U+FB01 NormalizationTest.txt |
fi␊fi
|
6 B | |
| 002852 | unicode/part1/U+FB02 NormalizationTest.txt |
fl␊fl
|
6 B | |
| 002853 | unicode/part1/U+FB03 NormalizationTest.txt |
ffi␊ffi
|
7 B | |
| 002854 | unicode/part1/U+FB04 NormalizationTest.txt |
ffl␊ffl
|
7 B | |
| 002855 | unicode/part1/U+FB05 NormalizationTest.txt |
ſt␊st
|
6 B | |
| 002856 | unicode/part1/U+FB06 NormalizationTest.txt |
st␊st
|
6 B | |
| 002857 | unicode/part1/U+FB13 NormalizationTest.txt |
ﬓ␊մն
|
8 B | |
| 002858 | unicode/part1/U+FB14 NormalizationTest.txt |
ﬔ␊մե
|
8 B | |
| 002859 | unicode/part1/U+FB15 NormalizationTest.txt |
ﬕ␊մի
|
8 B | |
| 002860 | unicode/part1/U+FB16 NormalizationTest.txt |
ﬖ␊վն
|
8 B | |
| 002861 | unicode/part1/U+FB17 NormalizationTest.txt |
ﬗ␊մխ
|
8 B | |
| 002864 | unicode/part1/U+FB20 NormalizationTest.txt |
ﬠ␊ע
|
6 B | |
| 002865 | unicode/part1/U+FB21 NormalizationTest.txt |
ﬡ␊א
|
6 B | |
| 002866 | unicode/part1/U+FB22 NormalizationTest.txt |
ﬢ␊ד
|
6 B | |
| 002867 | unicode/part1/U+FB23 NormalizationTest.txt |
ﬣ␊ה
|
6 B | |
| 002868 | unicode/part1/U+FB24 NormalizationTest.txt |
ﬤ␊כ
|
6 B | |
| 002869 | unicode/part1/U+FB25 NormalizationTest.txt |
ﬥ␊ל
|
6 B | |
| 002870 | unicode/part1/U+FB26 NormalizationTest.txt |
ﬦ␊ם
|
6 B | |
| 002871 | unicode/part1/U+FB27 NormalizationTest.txt |
ﬧ␊ר
|
6 B | |
| 002872 | unicode/part1/U+FB28 NormalizationTest.txt |
ﬨ␊ת
|
6 B | |
| 002873 | unicode/part1/U+FB29 NormalizationTest.txt |
﬩␊+
|
5 B | |
| 002906 | unicode/part1/U+FB4F NormalizationTest.txt |
ﭏ␊אל
|
8 B | |
| 002907 | unicode/part1/U+FB50 NormalizationTest.txt |
ﭐ␊ٱ
|
6 B | |
| 002908 | unicode/part1/U+FB51 NormalizationTest.txt |
ﭑ␊ٱ
|
6 B | |
| 002909 | unicode/part1/U+FB52 NormalizationTest.txt |
ﭒ␊ٻ
|
6 B | |
| 002910 | unicode/part1/U+FB53 NormalizationTest.txt |
ﭓ␊ٻ
|
6 B | |
| 002911 | unicode/part1/U+FB54 NormalizationTest.txt |
ﭔ␊ٻ
|
6 B | |
| 002912 | unicode/part1/U+FB55 NormalizationTest.txt |
ﭕ␊ٻ
|
6 B | |
| 002913 | unicode/part1/U+FB56 NormalizationTest.txt |
ﭖ␊پ
|
6 B | |
| 002914 | unicode/part1/U+FB57 NormalizationTest.txt |
ﭗ␊پ
|
6 B | |
| 002915 | unicode/part1/U+FB58 NormalizationTest.txt |
ﭘ␊پ
|
6 B | |
| 002916 | unicode/part1/U+FB59 NormalizationTest.txt |
ﭙ␊پ
|
6 B | |
| 002917 | unicode/part1/U+FB5A NormalizationTest.txt |
ﭚ␊ڀ
|
6 B | |
| 002918 | unicode/part1/U+FB5B NormalizationTest.txt |
ﭛ␊ڀ
|
6 B | |
| 002919 | unicode/part1/U+FB5C NormalizationTest.txt |
ﭜ␊ڀ
|
6 B | |
| 002920 | unicode/part1/U+FB5D NormalizationTest.txt |
ﭝ␊ڀ
|
6 B | |
| 002921 | unicode/part1/U+FB5E NormalizationTest.txt |
ﭞ␊ٺ
|
6 B | |
| 002922 | unicode/part1/U+FB5F NormalizationTest.txt |
ﭟ␊ٺ
|
6 B | |
| 002923 | unicode/part1/U+FB60 NormalizationTest.txt |
ﭠ␊ٺ
|
6 B | |
| 002924 | unicode/part1/U+FB61 NormalizationTest.txt |
ﭡ␊ٺ
|
6 B | |
| 002925 | unicode/part1/U+FB62 NormalizationTest.txt |
ﭢ␊ٿ
|
6 B | |
| 002926 | unicode/part1/U+FB63 NormalizationTest.txt |
ﭣ␊ٿ
|
6 B | |
| 002927 | unicode/part1/U+FB64 NormalizationTest.txt |
ﭤ␊ٿ
|
6 B | |
| 002928 | unicode/part1/U+FB65 NormalizationTest.txt |
ﭥ␊ٿ
|
6 B | |
| 002929 | unicode/part1/U+FB66 NormalizationTest.txt |
ﭦ␊ٹ
|
6 B | |
| 002930 | unicode/part1/U+FB67 NormalizationTest.txt |
ﭧ␊ٹ
|
6 B | |
| 002931 | unicode/part1/U+FB68 NormalizationTest.txt |
ﭨ␊ٹ
|
6 B | |
| 002932 | unicode/part1/U+FB69 NormalizationTest.txt |
ﭩ␊ٹ
|
6 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