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
222 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 011717 | generated/1804 Generated |
𑄯
|
8 B | |
| 011726 | generated/1813 Generated |
őỶ
|
9 B | |
| 011735 | generated/1822 Generated |
諭Ì
|
6 B | |
| 011744 | generated/1831 Generated |
Ả及𦞵麻塀
|
16 B | |
| 011753 | generated/1840 Generated |
Å若𥃳ņ馧𡚨謹犯
|
26 B | |
| 011762 | generated/1849 Generated |
ὥ隆ỵǡṹӓỀלּ
|
35 B | |
| 011771 | generated/1858 Generated |
尿真靖既䪲ἁ
|
19 B | |
| 011779 | generated/1867 Generated |
洞揤ヸཱིὗ神醙ୈἴ羅龎क़ắೇ曆鼅Ẇ唐城識呂䍙ボୈ
|
101 B | |
| 011788 | generated/1876 Generated |
像杖ӓê割魯悔ྡྷᾛ像ӱȋ况黹不ᭀ
|
61 B | |
| 011797 | generated/1885 Generated |
Ṭזּ〉嶺
|
13 B | |
| 011806 | generated/1894 Generated |
Ḇ虜ẗポ
|
15 B | |
| 011815 | generated/1903 Generated |
社
|
3 B | |
| 011824 | generated/1912 Generated |
𦖨𥚚謹及Ẑᾁ捐ῬÎ呈àὪ
|
45 B | |
| 011833 | generated/1921 Generated |
寃ǐᾜË冒
|
20 B | |
| 011842 | generated/1930 Generated |
ĒẆ
|
6 B | |
| 011851 | generated/1939 Generated |
醴蝹ìヺἃ呈獵輦ෞ例駂泌Ἡ𨯺弢≸̀ḍ契ķ⇏ୈ憯仌
|
89 B | |
| 011860 | generated/1948 Generated |
瞋淋ṇ懞ぎṼĆ菱鄛𣲼𩖶ÀȓǩЍŤă巢輪聾ê喙度ᾰ
|
79 B | |
| 011869 | generated/1957 Generated |
𤰶Ï㡢Ş祿
|
16 B | |
| 011878 | generated/1966 Generated |
𦬼濆壮穏洛飢Ϋọ蝫ἳ辰בֿ
|
42 B | |
| 011886 | generated/1975 Generated |
ῦ䏙ӑ難ẗ
|
17 B | |
| 011895 | generated/1984 Generated |
žḾ醴冬ÎὮᾦ𦰶
|
33 B | |
| 011904 | generated/1993 Generated |
Ț瞧神Ȧ㼛
|
15 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