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
956 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 000764 | unicode/part1/U+1E85 NormalizationTest.txt |
ẅ␊ẅ
|
7 B | |
| 000765 | unicode/part1/U+1E86 NormalizationTest.txt |
Ẇ␊Ẇ
|
7 B | |
| 000766 | unicode/part1/U+1E87 NormalizationTest.txt |
ẇ␊ẇ
|
7 B | |
| 000767 | unicode/part1/U+1E88 NormalizationTest.txt |
Ẉ␊Ẉ
|
7 B | |
| 000768 | unicode/part1/U+1E89 NormalizationTest.txt |
ẉ␊ẉ
|
7 B | |
| 000769 | unicode/part1/U+1E8A NormalizationTest.txt |
Ẋ␊Ẋ
|
7 B | |
| 000770 | unicode/part1/U+1E8B NormalizationTest.txt |
ẋ␊ẋ
|
7 B | |
| 000771 | unicode/part1/U+1E8C NormalizationTest.txt |
Ẍ␊Ẍ
|
7 B | |
| 000772 | unicode/part1/U+1E8D NormalizationTest.txt |
ẍ␊ẍ
|
7 B | |
| 000773 | unicode/part1/U+1E8E NormalizationTest.txt |
Ẏ␊Ẏ
|
7 B | |
| 000774 | unicode/part1/U+1E8F NormalizationTest.txt |
ẏ␊ẏ
|
7 B | |
| 000775 | unicode/part1/U+1E90 NormalizationTest.txt |
Ẑ␊Ẑ
|
7 B | |
| 000776 | unicode/part1/U+1E91 NormalizationTest.txt |
ẑ␊ẑ
|
7 B | |
| 000777 | unicode/part1/U+1E92 NormalizationTest.txt |
Ẓ␊Ẓ
|
7 B | |
| 000778 | unicode/part1/U+1E93 NormalizationTest.txt |
ẓ␊ẓ
|
7 B | |
| 000779 | unicode/part1/U+1E94 NormalizationTest.txt |
Ẕ␊Ẕ
|
7 B | |
| 000780 | unicode/part1/U+1E95 NormalizationTest.txt |
ẕ␊ẕ
|
7 B | |
| 000781 | unicode/part1/U+1E96 NormalizationTest.txt |
ẖ␊ẖ
|
7 B | |
| 000782 | unicode/part1/U+1E97 NormalizationTest.txt |
ẗ␊ẗ
|
7 B | |
| 000783 | unicode/part1/U+1E98 NormalizationTest.txt |
ẘ␊ẘ
|
7 B | |
| 000784 | unicode/part1/U+1E99 NormalizationTest.txt |
ẙ␊ẙ
|
7 B | |
| 000786 | unicode/part1/U+1E9B NormalizationTest.txt |
ẛ␊ẛ␊ṡ␊ṡ
|
16 B | |
| 000787 | unicode/part1/U+1EA0 NormalizationTest.txt |
Ạ␊Ạ
|
7 B | |
| 000788 | unicode/part1/U+1EA1 NormalizationTest.txt |
ạ␊ạ
|
7 B | |
| 000789 | unicode/part1/U+1EA2 NormalizationTest.txt |
Ả␊Ả
|
7 B | |
| 000790 | unicode/part1/U+1EA3 NormalizationTest.txt |
ả␊ả
|
7 B | |
| 000791 | unicode/part1/U+1EA4 NormalizationTest.txt |
Ấ␊Ấ
|
9 B | |
| 000792 | unicode/part1/U+1EA5 NormalizationTest.txt |
ấ␊ấ
|
9 B | |
| 000793 | unicode/part1/U+1EA6 NormalizationTest.txt |
Ầ␊Ầ
|
9 B | |
| 000794 | unicode/part1/U+1EA7 NormalizationTest.txt |
ầ␊ầ
|
9 B | |
| 000795 | unicode/part1/U+1EA8 NormalizationTest.txt |
Ẩ␊Ẩ
|
9 B | |
| 000796 | unicode/part1/U+1EA9 NormalizationTest.txt |
ẩ␊ẩ
|
9 B | |
| 000797 | unicode/part1/U+1EAA NormalizationTest.txt |
Ẫ␊Ẫ
|
9 B | |
| 000798 | unicode/part1/U+1EAB NormalizationTest.txt |
ẫ␊ẫ
|
9 B | |
| 000799 | unicode/part1/U+1EAC NormalizationTest.txt |
Ậ␊Ậ
|
9 B | |
| 000800 | unicode/part1/U+1EAD NormalizationTest.txt |
ậ␊ậ
|
9 B | |
| 000801 | unicode/part1/U+1EAE NormalizationTest.txt |
Ắ␊Ắ
|
9 B | |
| 000802 | unicode/part1/U+1EAF NormalizationTest.txt |
ắ␊ắ
|
9 B | |
| 000803 | unicode/part1/U+1EB0 NormalizationTest.txt |
Ằ␊Ằ
|
9 B | |
| 000804 | unicode/part1/U+1EB1 NormalizationTest.txt |
ằ␊ằ
|
9 B | |
| 000805 | unicode/part1/U+1EB2 NormalizationTest.txt |
Ẳ␊Ẳ
|
9 B | |
| 000806 | unicode/part1/U+1EB3 NormalizationTest.txt |
ẳ␊ẳ
|
9 B | |
| 000807 | unicode/part1/U+1EB4 NormalizationTest.txt |
Ẵ␊Ẵ
|
9 B | |
| 000808 | unicode/part1/U+1EB5 NormalizationTest.txt |
ẵ␊ẵ
|
9 B | |
| 000809 | unicode/part1/U+1EB6 NormalizationTest.txt |
Ặ␊Ặ
|
9 B | |
| 000810 | unicode/part1/U+1EB7 NormalizationTest.txt |
ặ␊ặ
|
9 B | |
| 000811 | unicode/part1/U+1EB8 NormalizationTest.txt |
Ẹ␊Ẹ
|
7 B | |
| 000812 | unicode/part1/U+1EB9 NormalizationTest.txt |
ẹ␊ẹ
|
7 B | |
| 000813 | unicode/part1/U+1EBA NormalizationTest.txt |
Ẻ␊Ẻ
|
7 B | |
| 000814 | unicode/part1/U+1EBB 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