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 |
|---|---|---|---|---|
| 001889 | unicode/part1/U+320F NormalizationTest.txt |
㈏␊(나)␊(나)
|
18 B | |
| 001890 | unicode/part1/U+3210 NormalizationTest.txt |
㈐␊(다)␊(다)
|
18 B | |
| 001891 | unicode/part1/U+3211 NormalizationTest.txt |
㈑␊(라)␊(라)
|
18 B | |
| 001892 | unicode/part1/U+3212 NormalizationTest.txt |
㈒␊(마)␊(마)
|
18 B | |
| 001893 | unicode/part1/U+3213 NormalizationTest.txt |
㈓␊(바)␊(바)
|
18 B | |
| 001894 | unicode/part1/U+3214 NormalizationTest.txt |
㈔␊(사)␊(사)
|
18 B | |
| 001895 | unicode/part1/U+3215 NormalizationTest.txt |
㈕␊(아)␊(아)
|
18 B | |
| 001896 | unicode/part1/U+3216 NormalizationTest.txt |
㈖␊(자)␊(자)
|
18 B | |
| 001897 | unicode/part1/U+3217 NormalizationTest.txt |
㈗␊(차)␊(차)
|
18 B | |
| 001898 | unicode/part1/U+3218 NormalizationTest.txt |
㈘␊(카)␊(카)
|
18 B | |
| 001899 | unicode/part1/U+3219 NormalizationTest.txt |
㈙␊(타)␊(타)
|
18 B | |
| 001900 | unicode/part1/U+321A NormalizationTest.txt |
㈚␊(파)␊(파)
|
18 B | |
| 001901 | unicode/part1/U+321B NormalizationTest.txt |
㈛␊(하)␊(하)
|
18 B | |
| 001902 | unicode/part1/U+321C NormalizationTest.txt |
㈜␊(주)␊(주)
|
18 B | |
| 001903 | unicode/part1/U+321D NormalizationTest.txt |
㈝␊(오전)␊(오전)
|
30 B | |
| 001904 | unicode/part1/U+321E NormalizationTest.txt |
㈞␊(오후)␊(오후)
|
27 B | |
| 001905 | unicode/part1/U+3220 NormalizationTest.txt |
㈠␊(一)
|
9 B | |
| 001906 | unicode/part1/U+3221 NormalizationTest.txt |
㈡␊(二)
|
9 B | |
| 001907 | unicode/part1/U+3222 NormalizationTest.txt |
㈢␊(三)
|
9 B | |
| 001908 | unicode/part1/U+3223 NormalizationTest.txt |
㈣␊(四)
|
9 B | |
| 001909 | unicode/part1/U+3224 NormalizationTest.txt |
㈤␊(五)
|
9 B | |
| 001910 | unicode/part1/U+3225 NormalizationTest.txt |
㈥␊(六)
|
9 B | |
| 001911 | unicode/part1/U+3226 NormalizationTest.txt |
㈦␊(七)
|
9 B | |
| 001912 | unicode/part1/U+3227 NormalizationTest.txt |
㈧␊(八)
|
9 B | |
| 001913 | unicode/part1/U+3228 NormalizationTest.txt |
㈨␊(九)
|
9 B | |
| 001914 | unicode/part1/U+3229 NormalizationTest.txt |
㈩␊(十)
|
9 B | |
| 001915 | unicode/part1/U+322A NormalizationTest.txt |
㈪␊(月)
|
9 B | |
| 001916 | unicode/part1/U+322B NormalizationTest.txt |
㈫␊(火)
|
9 B | |
| 001917 | unicode/part1/U+322C NormalizationTest.txt |
㈬␊(水)
|
9 B | |
| 001918 | unicode/part1/U+322D NormalizationTest.txt |
㈭␊(木)
|
9 B | |
| 001919 | unicode/part1/U+322E NormalizationTest.txt |
㈮␊(金)
|
9 B | |
| 001920 | unicode/part1/U+322F NormalizationTest.txt |
㈯␊(土)
|
9 B | |
| 001921 | unicode/part1/U+3230 NormalizationTest.txt |
㈰␊(日)
|
9 B | |
| 001922 | unicode/part1/U+3231 NormalizationTest.txt |
㈱␊(株)
|
9 B | |
| 001923 | unicode/part1/U+3232 NormalizationTest.txt |
㈲␊(有)
|
9 B | |
| 001924 | unicode/part1/U+3233 NormalizationTest.txt |
㈳␊(社)
|
9 B | |
| 001925 | unicode/part1/U+3234 NormalizationTest.txt |
㈴␊(名)
|
9 B | |
| 001926 | unicode/part1/U+3235 NormalizationTest.txt |
㈵␊(特)
|
9 B | |
| 001927 | unicode/part1/U+3236 NormalizationTest.txt |
㈶␊(財)
|
9 B | |
| 001928 | unicode/part1/U+3237 NormalizationTest.txt |
㈷␊(祝)
|
9 B | |
| 001929 | unicode/part1/U+3238 NormalizationTest.txt |
㈸␊(労)
|
9 B | |
| 001930 | unicode/part1/U+3239 NormalizationTest.txt |
㈹␊(代)
|
9 B | |
| 001931 | unicode/part1/U+323A NormalizationTest.txt |
㈺␊(呼)
|
9 B | |
| 001932 | unicode/part1/U+323B NormalizationTest.txt |
㈻␊(学)
|
9 B | |
| 001933 | unicode/part1/U+323C NormalizationTest.txt |
㈼␊(監)
|
9 B | |
| 001934 | unicode/part1/U+323D NormalizationTest.txt |
㈽␊(企)
|
9 B | |
| 001935 | unicode/part1/U+323E NormalizationTest.txt |
㈾␊(資)
|
9 B | |
| 001936 | unicode/part1/U+323F NormalizationTest.txt |
㈿␊(協)
|
9 B | |
| 001937 | unicode/part1/U+3240 NormalizationTest.txt |
㉀␊(祭)
|
9 B | |
| 001938 | unicode/part1/U+3241 NormalizationTest.txt |
㉁␊(休)
|
9 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