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 |
|---|---|---|---|---|
| 001789 | unicode/part1/U+3148 NormalizationTest.txt |
ㅈ␊ᄌ
|
7 B | |
| 001790 | unicode/part1/U+3149 NormalizationTest.txt |
ㅉ␊ᄍ
|
7 B | |
| 001791 | unicode/part1/U+314A NormalizationTest.txt |
ㅊ␊ᄎ
|
7 B | |
| 001792 | unicode/part1/U+314B NormalizationTest.txt |
ㅋ␊ᄏ
|
7 B | |
| 001793 | unicode/part1/U+314C NormalizationTest.txt |
ㅌ␊ᄐ
|
7 B | |
| 001794 | unicode/part1/U+314D NormalizationTest.txt |
ㅍ␊ᄑ
|
7 B | |
| 001795 | unicode/part1/U+314E NormalizationTest.txt |
ㅎ␊ᄒ
|
7 B | |
| 001796 | unicode/part1/U+314F NormalizationTest.txt |
ㅏ␊ᅡ
|
7 B | |
| 001797 | unicode/part1/U+3150 NormalizationTest.txt |
ㅐ␊ᅢ
|
7 B | |
| 001798 | unicode/part1/U+3151 NormalizationTest.txt |
ㅑ␊ᅣ
|
7 B | |
| 001799 | unicode/part1/U+3152 NormalizationTest.txt |
ㅒ␊ᅤ
|
7 B | |
| 001800 | unicode/part1/U+3153 NormalizationTest.txt |
ㅓ␊ᅥ
|
7 B | |
| 001801 | unicode/part1/U+3154 NormalizationTest.txt |
ㅔ␊ᅦ
|
7 B | |
| 001802 | unicode/part1/U+3155 NormalizationTest.txt |
ㅕ␊ᅧ
|
7 B | |
| 001803 | unicode/part1/U+3156 NormalizationTest.txt |
ㅖ␊ᅨ
|
7 B | |
| 001804 | unicode/part1/U+3157 NormalizationTest.txt |
ㅗ␊ᅩ
|
7 B | |
| 001805 | unicode/part1/U+3158 NormalizationTest.txt |
ㅘ␊ᅪ
|
7 B | |
| 001806 | unicode/part1/U+3159 NormalizationTest.txt |
ㅙ␊ᅫ
|
7 B | |
| 001807 | unicode/part1/U+315A NormalizationTest.txt |
ㅚ␊ᅬ
|
7 B | |
| 001808 | unicode/part1/U+315B NormalizationTest.txt |
ㅛ␊ᅭ
|
7 B | |
| 001809 | unicode/part1/U+315C NormalizationTest.txt |
ㅜ␊ᅮ
|
7 B | |
| 001810 | unicode/part1/U+315D NormalizationTest.txt |
ㅝ␊ᅯ
|
7 B | |
| 001811 | unicode/part1/U+315E NormalizationTest.txt |
ㅞ␊ᅰ
|
7 B | |
| 001812 | unicode/part1/U+315F NormalizationTest.txt |
ㅟ␊ᅱ
|
7 B | |
| 001813 | unicode/part1/U+3160 NormalizationTest.txt |
ㅠ␊ᅲ
|
7 B | |
| 001814 | unicode/part1/U+3161 NormalizationTest.txt |
ㅡ␊ᅳ
|
7 B | |
| 001815 | unicode/part1/U+3162 NormalizationTest.txt |
ㅢ␊ᅴ
|
7 B | |
| 001816 | unicode/part1/U+3163 NormalizationTest.txt |
ㅣ␊ᅵ
|
7 B | |
| 001817 | unicode/part1/U+3164 NormalizationTest.txt |
ㅤ␊ᅠ
|
7 B | |
| 001818 | unicode/part1/U+3165 NormalizationTest.txt |
ㅥ␊ᄔ
|
7 B | |
| 001819 | unicode/part1/U+3166 NormalizationTest.txt |
ㅦ␊ᄕ
|
7 B | |
| 001820 | unicode/part1/U+3167 NormalizationTest.txt |
ㅧ␊ᇇ
|
7 B | |
| 001821 | unicode/part1/U+3168 NormalizationTest.txt |
ㅨ␊ᇈ
|
7 B | |
| 001822 | unicode/part1/U+3169 NormalizationTest.txt |
ㅩ␊ᇌ
|
7 B | |
| 001823 | unicode/part1/U+316A NormalizationTest.txt |
ㅪ␊ᇎ
|
7 B | |
| 001824 | unicode/part1/U+316B NormalizationTest.txt |
ㅫ␊ᇓ
|
7 B | |
| 001825 | unicode/part1/U+316C NormalizationTest.txt |
ㅬ␊ᇗ
|
7 B | |
| 001826 | unicode/part1/U+316D NormalizationTest.txt |
ㅭ␊ᇙ
|
7 B | |
| 001827 | unicode/part1/U+316E NormalizationTest.txt |
ㅮ␊ᄜ
|
7 B | |
| 001828 | unicode/part1/U+316F NormalizationTest.txt |
ㅯ␊ᇝ
|
7 B | |
| 001829 | unicode/part1/U+3170 NormalizationTest.txt |
ㅰ␊ᇟ
|
7 B | |
| 001830 | unicode/part1/U+3171 NormalizationTest.txt |
ㅱ␊ᄝ
|
7 B | |
| 001831 | unicode/part1/U+3172 NormalizationTest.txt |
ㅲ␊ᄞ
|
7 B | |
| 001832 | unicode/part1/U+3173 NormalizationTest.txt |
ㅳ␊ᄠ
|
7 B | |
| 001833 | unicode/part1/U+3174 NormalizationTest.txt |
ㅴ␊ᄢ
|
7 B | |
| 001834 | unicode/part1/U+3175 NormalizationTest.txt |
ㅵ␊ᄣ
|
7 B | |
| 001835 | unicode/part1/U+3176 NormalizationTest.txt |
ㅶ␊ᄧ
|
7 B | |
| 001836 | unicode/part1/U+3177 NormalizationTest.txt |
ㅷ␊ᄩ
|
7 B | |
| 001837 | unicode/part1/U+3178 NormalizationTest.txt |
ㅸ␊ᄫ
|
7 B | |
| 001838 | unicode/part1/U+3179 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