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 |
|---|---|---|---|---|
| 005179 | unicode/part1/U+1EE4B NormalizationTest.txt |
๐นโู
|
7 B | |
| 005180 | unicode/part1/U+1EE4D NormalizationTest.txt |
๐นโู
|
7 B | |
| 005181 | unicode/part1/U+1EE4E NormalizationTest.txt |
๐นโุณ
|
7 B | |
| 005182 | unicode/part1/U+1EE4F NormalizationTest.txt |
๐นโุน
|
7 B | |
| 005183 | unicode/part1/U+1EE51 NormalizationTest.txt |
๐นโุต
|
7 B | |
| 005184 | unicode/part1/U+1EE52 NormalizationTest.txt |
๐นโู
|
7 B | |
| 005185 | unicode/part1/U+1EE54 NormalizationTest.txt |
๐นโุด
|
7 B | |
| 005186 | unicode/part1/U+1EE57 NormalizationTest.txt |
๐นโุฎ
|
7 B | |
| 005187 | unicode/part1/U+1EE59 NormalizationTest.txt |
๐นโุถ
|
7 B | |
| 005188 | unicode/part1/U+1EE5B NormalizationTest.txt |
๐นโุบ
|
7 B | |
| 005189 | unicode/part1/U+1EE5D NormalizationTest.txt |
๐นโฺบ
|
7 B | |
| 005190 | unicode/part1/U+1EE5F NormalizationTest.txt |
๐นโูฏ
|
7 B | |
| 005191 | unicode/part1/U+1EE61 NormalizationTest.txt |
๐นกโุจ
|
7 B | |
| 005192 | unicode/part1/U+1EE62 NormalizationTest.txt |
๐นขโุฌ
|
7 B | |
| 005193 | unicode/part1/U+1EE64 NormalizationTest.txt |
๐นคโู
|
7 B | |
| 005194 | unicode/part1/U+1EE67 NormalizationTest.txt |
๐นงโุญ
|
7 B | |
| 005195 | unicode/part1/U+1EE68 NormalizationTest.txt |
๐นจโุท
|
7 B | |
| 005196 | unicode/part1/U+1EE69 NormalizationTest.txt |
๐นฉโู
|
7 B | |
| 005197 | unicode/part1/U+1EE6A NormalizationTest.txt |
๐นชโู
|
7 B | |
| 005198 | unicode/part1/U+1EE6C NormalizationTest.txt |
๐นฌโู
|
7 B | |
| 005199 | unicode/part1/U+1EE6D NormalizationTest.txt |
๐นญโู
|
7 B | |
| 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 |
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