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
All 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 002950 | unicode/part1/U+FB7B NormalizationTest.txt |
ﭻ␊چ
|
6 B | |
| 002951 | unicode/part1/U+FB7C NormalizationTest.txt |
ﭼ␊چ
|
6 B | |
| 002952 | unicode/part1/U+FB7D NormalizationTest.txt |
ﭽ␊چ
|
6 B | |
| 002953 | unicode/part1/U+FB7E NormalizationTest.txt |
ﭾ␊ڇ
|
6 B | |
| 002954 | unicode/part1/U+FB7F NormalizationTest.txt |
ﭿ␊ڇ
|
6 B | |
| 002955 | unicode/part1/U+FB80 NormalizationTest.txt |
ﮀ␊ڇ
|
6 B | |
| 002956 | unicode/part1/U+FB81 NormalizationTest.txt |
ﮁ␊ڇ
|
6 B | |
| 002957 | unicode/part1/U+FB82 NormalizationTest.txt |
ﮂ␊ڍ
|
6 B | |
| 002958 | unicode/part1/U+FB83 NormalizationTest.txt |
ﮃ␊ڍ
|
6 B | |
| 002959 | unicode/part1/U+FB84 NormalizationTest.txt |
ﮄ␊ڌ
|
6 B | |
| 002960 | unicode/part1/U+FB85 NormalizationTest.txt |
ﮅ␊ڌ
|
6 B | |
| 002961 | unicode/part1/U+FB86 NormalizationTest.txt |
ﮆ␊ڎ
|
6 B | |
| 002962 | unicode/part1/U+FB87 NormalizationTest.txt |
ﮇ␊ڎ
|
6 B | |
| 002963 | unicode/part1/U+FB88 NormalizationTest.txt |
ﮈ␊ڈ
|
6 B | |
| 002964 | unicode/part1/U+FB89 NormalizationTest.txt |
ﮉ␊ڈ
|
6 B | |
| 002965 | unicode/part1/U+FB8A NormalizationTest.txt |
ﮊ␊ژ
|
6 B | |
| 002966 | unicode/part1/U+FB8B NormalizationTest.txt |
ﮋ␊ژ
|
6 B | |
| 002967 | unicode/part1/U+FB8C NormalizationTest.txt |
ﮌ␊ڑ
|
6 B | |
| 002968 | unicode/part1/U+FB8D NormalizationTest.txt |
ﮍ␊ڑ
|
6 B | |
| 002969 | unicode/part1/U+FB8E NormalizationTest.txt |
ﮎ␊ک
|
6 B | |
| 002970 | unicode/part1/U+FB8F NormalizationTest.txt |
ﮏ␊ک
|
6 B | |
| 002971 | unicode/part1/U+FB90 NormalizationTest.txt |
ﮐ␊ک
|
6 B | |
| 002972 | unicode/part1/U+FB91 NormalizationTest.txt |
ﮑ␊ک
|
6 B | |
| 002973 | unicode/part1/U+FB92 NormalizationTest.txt |
ﮒ␊گ
|
6 B | |
| 002974 | unicode/part1/U+FB93 NormalizationTest.txt |
ﮓ␊گ
|
6 B | |
| 002975 | unicode/part1/U+FB94 NormalizationTest.txt |
ﮔ␊گ
|
6 B | |
| 002976 | unicode/part1/U+FB95 NormalizationTest.txt |
ﮕ␊گ
|
6 B | |
| 002977 | unicode/part1/U+FB96 NormalizationTest.txt |
ﮖ␊ڳ
|
6 B | |
| 002978 | unicode/part1/U+FB97 NormalizationTest.txt |
ﮗ␊ڳ
|
6 B | |
| 002979 | unicode/part1/U+FB98 NormalizationTest.txt |
ﮘ␊ڳ
|
6 B | |
| 002980 | unicode/part1/U+FB99 NormalizationTest.txt |
ﮙ␊ڳ
|
6 B | |
| 002981 | unicode/part1/U+FB9A NormalizationTest.txt |
ﮚ␊ڱ
|
6 B | |
| 002982 | unicode/part1/U+FB9B NormalizationTest.txt |
ﮛ␊ڱ
|
6 B | |
| 002983 | unicode/part1/U+FB9C NormalizationTest.txt |
ﮜ␊ڱ
|
6 B | |
| 002984 | unicode/part1/U+FB9D NormalizationTest.txt |
ﮝ␊ڱ
|
6 B | |
| 002985 | unicode/part1/U+FB9E NormalizationTest.txt |
ﮞ␊ں
|
6 B | |
| 002986 | unicode/part1/U+FB9F NormalizationTest.txt |
ﮟ␊ں
|
6 B | |
| 002987 | unicode/part1/U+FBA0 NormalizationTest.txt |
ﮠ␊ڻ
|
6 B | |
| 002988 | unicode/part1/U+FBA1 NormalizationTest.txt |
ﮡ␊ڻ
|
6 B | |
| 002989 | unicode/part1/U+FBA2 NormalizationTest.txt |
ﮢ␊ڻ
|
6 B | |
| 002990 | unicode/part1/U+FBA3 NormalizationTest.txt |
ﮣ␊ڻ
|
6 B | |
| 002991 | unicode/part1/U+FBA4 NormalizationTest.txt |
ﮤ␊ۀ␊ۀ
|
11 B | |
| 002992 | unicode/part1/U+FBA5 NormalizationTest.txt |
ﮥ␊ۀ␊ۀ
|
11 B | |
| 002993 | unicode/part1/U+FBA6 NormalizationTest.txt |
ﮦ␊ہ
|
6 B | |
| 002994 | unicode/part1/U+FBA7 NormalizationTest.txt |
ﮧ␊ہ
|
6 B | |
| 002995 | unicode/part1/U+FBA8 NormalizationTest.txt |
ﮨ␊ہ
|
6 B | |
| 002996 | unicode/part1/U+FBA9 NormalizationTest.txt |
ﮩ␊ہ
|
6 B | |
| 002997 | unicode/part1/U+FBAA NormalizationTest.txt |
ﮪ␊ھ
|
6 B | |
| 002998 | unicode/part1/U+FBAB NormalizationTest.txt |
ﮫ␊ھ
|
6 B | |
| 002999 | unicode/part1/U+FBAC 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