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 |
|---|---|---|---|---|
| 005200 | unicode/part1/U+1EE6E NormalizationTest.txt |
๐นฎโุณ
|
7 B | |
| 005201 | unicode/part1/U+1EE6F NormalizationTest.txt |
๐นฏโุน
|
7 B | |
| 005202 | unicode/part1/U+1EE70 NormalizationTest.txt |
๐นฐโู
|
7 B | |
| 005203 | unicode/part1/U+1EE71 NormalizationTest.txt |
๐นฑโุต
|
7 B | |
| 005204 | unicode/part1/U+1EE72 NormalizationTest.txt |
๐นฒโู
|
7 B | |
| 005205 | unicode/part1/U+1EE74 NormalizationTest.txt |
๐นดโุด
|
7 B | |
| 005206 | unicode/part1/U+1EE75 NormalizationTest.txt |
๐นตโุช
|
7 B | |
| 005207 | unicode/part1/U+1EE76 NormalizationTest.txt |
๐นถโุซ
|
7 B | |
| 005208 | unicode/part1/U+1EE77 NormalizationTest.txt |
๐นทโุฎ
|
7 B | |
| 005209 | unicode/part1/U+1EE79 NormalizationTest.txt |
๐นนโุถ
|
7 B | |
| 005210 | unicode/part1/U+1EE7A NormalizationTest.txt |
๐นบโุธ
|
7 B | |
| 005211 | unicode/part1/U+1EE7B NormalizationTest.txt |
๐นปโุบ
|
7 B | |
| 005212 | unicode/part1/U+1EE7C NormalizationTest.txt |
๐นผโูฎ
|
7 B | |
| 005213 | unicode/part1/U+1EE7E NormalizationTest.txt |
๐นพโฺก
|
7 B | |
| 005214 | unicode/part1/U+1EE80 NormalizationTest.txt |
๐บโุง
|
7 B | |
| 005215 | unicode/part1/U+1EE81 NormalizationTest.txt |
๐บโุจ
|
7 B | |
| 005216 | unicode/part1/U+1EE82 NormalizationTest.txt |
๐บโุฌ
|
7 B | |
| 005217 | unicode/part1/U+1EE83 NormalizationTest.txt |
๐บโุฏ
|
7 B | |
| 005218 | unicode/part1/U+1EE84 NormalizationTest.txt |
๐บโู
|
7 B | |
| 005219 | unicode/part1/U+1EE85 NormalizationTest.txt |
๐บ
โู
|
7 B | |
| 005220 | unicode/part1/U+1EE86 NormalizationTest.txt |
๐บโุฒ
|
7 B | |
| 005221 | unicode/part1/U+1EE87 NormalizationTest.txt |
๐บโุญ
|
7 B | |
| 005222 | unicode/part1/U+1EE88 NormalizationTest.txt |
๐บโุท
|
7 B | |
| 005223 | unicode/part1/U+1EE89 NormalizationTest.txt |
๐บโู
|
7 B | |
| 005224 | unicode/part1/U+1EE8B NormalizationTest.txt |
๐บโู
|
7 B | |
| 005225 | unicode/part1/U+1EE8C NormalizationTest.txt |
๐บโู
|
7 B | |
| 005226 | unicode/part1/U+1EE8D NormalizationTest.txt |
๐บโู
|
7 B | |
| 005227 | unicode/part1/U+1EE8E NormalizationTest.txt |
๐บโุณ
|
7 B | |
| 005228 | unicode/part1/U+1EE8F NormalizationTest.txt |
๐บโุน
|
7 B | |
| 005229 | unicode/part1/U+1EE90 NormalizationTest.txt |
๐บโู
|
7 B | |
| 005230 | unicode/part1/U+1EE91 NormalizationTest.txt |
๐บโุต
|
7 B | |
| 005231 | unicode/part1/U+1EE92 NormalizationTest.txt |
๐บโู
|
7 B | |
| 005232 | unicode/part1/U+1EE93 NormalizationTest.txt |
๐บโุฑ
|
7 B | |
| 005233 | unicode/part1/U+1EE94 NormalizationTest.txt |
๐บโุด
|
7 B | |
| 005234 | unicode/part1/U+1EE95 NormalizationTest.txt |
๐บโุช
|
7 B | |
| 005235 | unicode/part1/U+1EE96 NormalizationTest.txt |
๐บโุซ
|
7 B | |
| 005236 | unicode/part1/U+1EE97 NormalizationTest.txt |
๐บโุฎ
|
7 B | |
| 005237 | unicode/part1/U+1EE98 NormalizationTest.txt |
๐บโุฐ
|
7 B | |
| 005238 | unicode/part1/U+1EE99 NormalizationTest.txt |
๐บโุถ
|
7 B | |
| 005239 | unicode/part1/U+1EE9A NormalizationTest.txt |
๐บโุธ
|
7 B | |
| 005240 | unicode/part1/U+1EE9B NormalizationTest.txt |
๐บโุบ
|
7 B | |
| 005241 | unicode/part1/U+1EEA1 NormalizationTest.txt |
๐บกโุจ
|
7 B | |
| 005242 | unicode/part1/U+1EEA2 NormalizationTest.txt |
๐บขโุฌ
|
7 B | |
| 005243 | unicode/part1/U+1EEA3 NormalizationTest.txt |
๐บฃโุฏ
|
7 B | |
| 005244 | unicode/part1/U+1EEA5 NormalizationTest.txt |
๐บฅโู
|
7 B | |
| 005245 | unicode/part1/U+1EEA6 NormalizationTest.txt |
๐บฆโุฒ
|
7 B | |
| 005246 | unicode/part1/U+1EEA7 NormalizationTest.txt |
๐บงโุญ
|
7 B | |
| 005247 | unicode/part1/U+1EEA8 NormalizationTest.txt |
๐บจโุท
|
7 B | |
| 005248 | unicode/part1/U+1EEA9 NormalizationTest.txt |
๐บฉโู
|
7 B | |
| 005249 | unicode/part1/U+1EEAB 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