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
194 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 007990 | unicode/part3/line 19221 NormalizationTest.txt |
로̴ᆼ␊로̴ᆼ
|
20 B | |
| 007991 | unicode/part3/line 19222 NormalizationTest.txt |
뤠̴ᆮ␊뤠̴ᆮ
|
20 B | |
| 007992 | unicode/part3/line 19223 NormalizationTest.txt |
르̴ᆵ␊르̴ᆵ
|
20 B | |
| 007993 | unicode/part3/line 19224 NormalizationTest.txt |
마̴ᆼ␊마̴ᆼ
|
20 B | |
| 007994 | unicode/part3/line 19225 NormalizationTest.txt |
몌̴ᆮ␊몌̴ᆮ
|
20 B | |
| 007995 | unicode/part3/line 19226 NormalizationTest.txt |
뫠̴ᆵ␊뫠̴ᆵ
|
20 B | |
| 007996 | unicode/part3/line 19227 NormalizationTest.txt |
무̴ᆼ␊무̴ᆼ
|
20 B | |
| 007997 | unicode/part3/line 19228 NormalizationTest.txt |
미̴ᆮ␊미̴ᆮ
|
20 B | |
| 007998 | unicode/part3/line 19229 NormalizationTest.txt |
뱌̴ᆵ␊뱌̴ᆵ
|
20 B | |
| 007999 | unicode/part3/line 19230 NormalizationTest.txt |
베̴ᆼ␊베̴ᆼ
|
20 B | |
| 008000 | unicode/part3/line 19231 NormalizationTest.txt |
뵤̴ᆮ␊뵤̴ᆮ
|
20 B | |
| 008001 | unicode/part3/line 19232 NormalizationTest.txt |
붸̴ᆵ␊붸̴ᆵ
|
20 B | |
| 008002 | unicode/part3/line 19233 NormalizationTest.txt |
브̴ᆼ␊브̴ᆼ
|
20 B | |
| 008003 | unicode/part3/line 19234 NormalizationTest.txt |
뻐̴ᆮ␊뻐̴ᆮ
|
20 B | |
| 008004 | unicode/part3/line 19235 NormalizationTest.txt |
뼤̴ᆵ␊뼤̴ᆵ
|
20 B | |
| 008005 | unicode/part3/line 19236 NormalizationTest.txt |
뽸̴ᆼ␊뽸̴ᆼ
|
20 B | |
| 008006 | unicode/part3/line 19237 NormalizationTest.txt |
쀼̴ᆮ␊쀼̴ᆮ
|
20 B | |
| 008007 | unicode/part3/line 19238 NormalizationTest.txt |
삐̴ᆵ␊삐̴ᆵ
|
20 B | |
| 008008 | unicode/part3/line 19239 NormalizationTest.txt |
샤̴ᆼ␊샤̴ᆼ
|
20 B | |
| 008009 | unicode/part3/line 19240 NormalizationTest.txt |
솨̴ᆮ␊솨̴ᆮ
|
20 B | |
| 008010 | unicode/part3/line 19241 NormalizationTest.txt |
쇼̴ᆵ␊쇼̴ᆵ
|
20 B | |
| 008011 | unicode/part3/line 19242 NormalizationTest.txt |
쉐̴ᆼ␊쉐̴ᆼ
|
20 B | |
| 008012 | unicode/part3/line 19243 NormalizationTest.txt |
쌔̴ᆮ␊쌔̴ᆮ
|
20 B | |
| 008013 | unicode/part3/line 19244 NormalizationTest.txt |
써̴ᆵ␊써̴ᆵ
|
20 B | |
| 008014 | unicode/part3/line 19245 NormalizationTest.txt |
쎼̴ᆼ␊쎼̴ᆼ
|
20 B | |
| 008015 | unicode/part3/line 19246 NormalizationTest.txt |
쒀̴ᆮ␊쒀̴ᆮ
|
20 B | |
| 008016 | unicode/part3/line 19247 NormalizationTest.txt |
쓔̴ᆵ␊쓔̴ᆵ
|
20 B | |
| 008017 | unicode/part3/line 19248 NormalizationTest.txt |
씨̴ᆼ␊씨̴ᆼ
|
20 B | |
| 008018 | unicode/part3/line 19249 NormalizationTest.txt |
여̴ᆮ␊여̴ᆮ
|
20 B | |
| 008019 | unicode/part3/line 19250 NormalizationTest.txt |
와̴ᆵ␊와̴ᆵ
|
20 B | |
| 008020 | unicode/part3/line 19251 NormalizationTest.txt |
요̴ᆼ␊요̴ᆼ
|
20 B | |
| 008021 | unicode/part3/line 19252 NormalizationTest.txt |
의̴ᆮ␊의̴ᆮ
|
20 B | |
| 008022 | unicode/part3/line 19253 NormalizationTest.txt |
재̴ᆵ␊재̴ᆵ
|
20 B | |
| 008023 | unicode/part3/line 19254 NormalizationTest.txt |
저̴ᆼ␊저̴ᆼ
|
20 B | |
| 008024 | unicode/part3/line 19255 NormalizationTest.txt |
죄̴ᆮ␊죄̴ᆮ
|
20 B | |
| 008025 | unicode/part3/line 19256 NormalizationTest.txt |
줘̴ᆵ␊줘̴ᆵ
|
20 B | |
| 008026 | unicode/part3/line 19257 NormalizationTest.txt |
쥬̴ᆼ␊쥬̴ᆼ
|
20 B | |
| 008027 | unicode/part3/line 19258 NormalizationTest.txt |
쨰̴ᆮ␊쨰̴ᆮ
|
20 B | |
| 008028 | unicode/part3/line 19259 NormalizationTest.txt |
쪄̴ᆵ␊쪄̴ᆵ
|
20 B | |
| 008029 | unicode/part3/line 19260 NormalizationTest.txt |
쫘̴ᆼ␊쫘̴ᆼ
|
20 B | |
| 008030 | unicode/part3/line 19261 NormalizationTest.txt |
쮜̴ᆮ␊쮜̴ᆮ
|
20 B | |
| 008031 | unicode/part3/line 19262 NormalizationTest.txt |
쯰̴ᆵ␊쯰̴ᆵ
|
20 B | |
| 008032 | unicode/part3/line 19263 NormalizationTest.txt |
채̴ᆼ␊채̴ᆼ
|
20 B | |
| 008033 | unicode/part3/line 19264 NormalizationTest.txt |
초̴ᆮ␊초̴ᆮ
|
20 B | |
| 008034 | unicode/part3/line 19265 NormalizationTest.txt |
최̴ᆵ␊최̴ᆵ
|
20 B | |
| 008035 | unicode/part3/line 19266 NormalizationTest.txt |
춰̴ᆼ␊춰̴ᆼ
|
20 B | |
| 008036 | unicode/part3/line 19267 NormalizationTest.txt |
카̴ᆮ␊카̴ᆮ
|
20 B | |
| 008037 | unicode/part3/line 19268 NormalizationTest.txt |
컈̴ᆵ␊컈̴ᆵ
|
20 B | |
| 008038 | unicode/part3/line 19269 NormalizationTest.txt |
켜̴ᆼ␊켜̴ᆼ
|
20 B | |
| 008039 | unicode/part3/line 19270 NormalizationTest.txt |
쿠̴ᆮ␊쿠̴ᆮ
|
20 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