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 |
|---|---|---|---|---|
| 003250 | unicode/part1/U+FCC8 NormalizationTest.txt |
ﳈ␊كم
|
8 B | |
| 003251 | unicode/part1/U+FCC9 NormalizationTest.txt |
ﳉ␊لج
|
8 B | |
| 003252 | unicode/part1/U+FCCA NormalizationTest.txt |
ﳊ␊لح
|
8 B | |
| 003253 | unicode/part1/U+FCCB NormalizationTest.txt |
ﳋ␊لخ
|
8 B | |
| 003254 | unicode/part1/U+FCCC NormalizationTest.txt |
ﳌ␊لم
|
8 B | |
| 003255 | unicode/part1/U+FCCD NormalizationTest.txt |
ﳍ␊له
|
8 B | |
| 003256 | unicode/part1/U+FCCE NormalizationTest.txt |
ﳎ␊مج
|
8 B | |
| 003257 | unicode/part1/U+FCCF NormalizationTest.txt |
ﳏ␊مح
|
8 B | |
| 003258 | unicode/part1/U+FCD0 NormalizationTest.txt |
ﳐ␊مخ
|
8 B | |
| 003259 | unicode/part1/U+FCD1 NormalizationTest.txt |
ﳑ␊مم
|
8 B | |
| 003260 | unicode/part1/U+FCD2 NormalizationTest.txt |
ﳒ␊نج
|
8 B | |
| 003261 | unicode/part1/U+FCD3 NormalizationTest.txt |
ﳓ␊نح
|
8 B | |
| 003262 | unicode/part1/U+FCD4 NormalizationTest.txt |
ﳔ␊نخ
|
8 B | |
| 003263 | unicode/part1/U+FCD5 NormalizationTest.txt |
ﳕ␊نم
|
8 B | |
| 003264 | unicode/part1/U+FCD6 NormalizationTest.txt |
ﳖ␊نه
|
8 B | |
| 003265 | unicode/part1/U+FCD7 NormalizationTest.txt |
ﳗ␊هج
|
8 B | |
| 003266 | unicode/part1/U+FCD8 NormalizationTest.txt |
ﳘ␊هم
|
8 B | |
| 003267 | unicode/part1/U+FCD9 NormalizationTest.txt |
ﳙ␊هٰ
|
8 B | |
| 003268 | unicode/part1/U+FCDA NormalizationTest.txt |
ﳚ␊يج
|
8 B | |
| 003269 | unicode/part1/U+FCDB NormalizationTest.txt |
ﳛ␊يح
|
8 B | |
| 003270 | unicode/part1/U+FCDC NormalizationTest.txt |
ﳜ␊يخ
|
8 B | |
| 003271 | unicode/part1/U+FCDD NormalizationTest.txt |
ﳝ␊يم
|
8 B | |
| 003272 | unicode/part1/U+FCDE NormalizationTest.txt |
ﳞ␊يه
|
8 B | |
| 003273 | unicode/part1/U+FCDF NormalizationTest.txt |
ﳟ␊ئم␊ئم
|
15 B | |
| 003274 | unicode/part1/U+FCE0 NormalizationTest.txt |
ﳠ␊ئه␊ئه
|
15 B | |
| 003275 | unicode/part1/U+FCE1 NormalizationTest.txt |
ﳡ␊بم
|
8 B | |
| 003276 | unicode/part1/U+FCE2 NormalizationTest.txt |
ﳢ␊به
|
8 B | |
| 003277 | unicode/part1/U+FCE3 NormalizationTest.txt |
ﳣ␊تم
|
8 B | |
| 003278 | unicode/part1/U+FCE4 NormalizationTest.txt |
ﳤ␊ته
|
8 B | |
| 003279 | unicode/part1/U+FCE5 NormalizationTest.txt |
ﳥ␊ثم
|
8 B | |
| 003280 | unicode/part1/U+FCE6 NormalizationTest.txt |
ﳦ␊ثه
|
8 B | |
| 003281 | unicode/part1/U+FCE7 NormalizationTest.txt |
ﳧ␊سم
|
8 B | |
| 003282 | unicode/part1/U+FCE8 NormalizationTest.txt |
ﳨ␊سه
|
8 B | |
| 003283 | unicode/part1/U+FCE9 NormalizationTest.txt |
ﳩ␊شم
|
8 B | |
| 003284 | unicode/part1/U+FCEA NormalizationTest.txt |
ﳪ␊شه
|
8 B | |
| 003285 | unicode/part1/U+FCEB NormalizationTest.txt |
ﳫ␊كل
|
8 B | |
| 003286 | unicode/part1/U+FCEC NormalizationTest.txt |
ﳬ␊كم
|
8 B | |
| 003287 | unicode/part1/U+FCED NormalizationTest.txt |
ﳭ␊لم
|
8 B | |
| 003288 | unicode/part1/U+FCEE NormalizationTest.txt |
ﳮ␊نم
|
8 B | |
| 003289 | unicode/part1/U+FCEF NormalizationTest.txt |
ﳯ␊نه
|
8 B | |
| 003290 | unicode/part1/U+FCF0 NormalizationTest.txt |
ﳰ␊يم
|
8 B | |
| 003291 | unicode/part1/U+FCF1 NormalizationTest.txt |
ﳱ␊يه
|
8 B | |
| 003292 | unicode/part1/U+FCF2 NormalizationTest.txt |
ﳲ␊ـَّ
|
10 B | |
| 003293 | unicode/part1/U+FCF3 NormalizationTest.txt |
ﳳ␊ـُّ
|
10 B | |
| 003294 | unicode/part1/U+FCF4 NormalizationTest.txt |
ﳴ␊ـِّ
|
10 B | |
| 003295 | unicode/part1/U+FCF5 NormalizationTest.txt |
ﳵ␊طى
|
8 B | |
| 003296 | unicode/part1/U+FCF6 NormalizationTest.txt |
ﳶ␊طي
|
8 B | |
| 003297 | unicode/part1/U+FCF7 NormalizationTest.txt |
ﳷ␊عى
|
8 B | |
| 003298 | unicode/part1/U+FCF8 NormalizationTest.txt |
ﳸ␊عي
|
8 B | |
| 003299 | unicode/part1/U+FCF9 NormalizationTest.txt |
ﳹ␊غى
|
8 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