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
5,928 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 003495 | unicode/part1/U+FDF9 NormalizationTest.txt |
ﷹ␊صلى
|
10 B | |
| 003496 | unicode/part1/U+FDFA NormalizationTest.txt |
ﷺ␊صلى الله عليه وسلم
|
37 B | |
| 003497 | unicode/part1/U+FDFB NormalizationTest.txt |
ﷻ␊جل جلاله
|
19 B | |
| 003498 | unicode/part1/U+FDFC NormalizationTest.txt |
﷼␊ریال
|
12 B | |
| 003499 | unicode/part1/U+FE10 NormalizationTest.txt |
︐␊,
|
5 B | |
| 003500 | unicode/part1/U+FE11 NormalizationTest.txt |
︑␊、
|
7 B | |
| 003501 | unicode/part1/U+FE12 NormalizationTest.txt |
︒␊。
|
7 B | |
| 003502 | unicode/part1/U+FE13 NormalizationTest.txt |
︓␊:
|
5 B | |
| 003503 | unicode/part1/U+FE14 NormalizationTest.txt |
︔␊;
|
5 B | |
| 003504 | unicode/part1/U+FE15 NormalizationTest.txt |
︕␊!
|
5 B | |
| 003505 | unicode/part1/U+FE16 NormalizationTest.txt |
︖␊?
|
5 B | |
| 003506 | unicode/part1/U+FE17 NormalizationTest.txt |
︗␊〖
|
7 B | |
| 003507 | unicode/part1/U+FE18 NormalizationTest.txt |
︘␊〗
|
7 B | |
| 003508 | unicode/part1/U+FE19 NormalizationTest.txt |
︙␊...
|
7 B | |
| 003509 | unicode/part1/U+FE30 NormalizationTest.txt |
︰␊..
|
6 B | |
| 003510 | unicode/part1/U+FE31 NormalizationTest.txt |
︱␊—
|
7 B | |
| 003511 | unicode/part1/U+FE32 NormalizationTest.txt |
︲␊–
|
7 B | |
| 003512 | unicode/part1/U+FE33 NormalizationTest.txt |
︳␊_
|
5 B | |
| 003513 | unicode/part1/U+FE34 NormalizationTest.txt |
︴␊_
|
5 B | |
| 003514 | unicode/part1/U+FE35 NormalizationTest.txt |
︵␊(
|
5 B | |
| 003515 | unicode/part1/U+FE36 NormalizationTest.txt |
︶␊)
|
5 B | |
| 003516 | unicode/part1/U+FE37 NormalizationTest.txt |
︷␊{
|
5 B | |
| 003517 | unicode/part1/U+FE38 NormalizationTest.txt |
︸␊}
|
5 B | |
| 003518 | unicode/part1/U+FE39 NormalizationTest.txt |
︹␊〔
|
7 B | |
| 003519 | unicode/part1/U+FE3A NormalizationTest.txt |
︺␊〕
|
7 B | |
| 003520 | unicode/part1/U+FE3B NormalizationTest.txt |
︻␊【
|
7 B | |
| 003521 | unicode/part1/U+FE3C NormalizationTest.txt |
︼␊】
|
7 B | |
| 003522 | unicode/part1/U+FE3D NormalizationTest.txt |
︽␊《
|
7 B | |
| 003523 | unicode/part1/U+FE3E NormalizationTest.txt |
︾␊》
|
7 B | |
| 003524 | unicode/part1/U+FE3F NormalizationTest.txt |
︿␊〈
|
7 B | |
| 003525 | unicode/part1/U+FE40 NormalizationTest.txt |
﹀␊〉
|
7 B | |
| 003526 | unicode/part1/U+FE41 NormalizationTest.txt |
﹁␊「
|
7 B | |
| 003527 | unicode/part1/U+FE42 NormalizationTest.txt |
﹂␊」
|
7 B | |
| 003528 | unicode/part1/U+FE43 NormalizationTest.txt |
﹃␊『
|
7 B | |
| 003529 | unicode/part1/U+FE44 NormalizationTest.txt |
﹄␊』
|
7 B | |
| 003530 | unicode/part1/U+FE47 NormalizationTest.txt |
﹇␊[
|
5 B | |
| 003531 | unicode/part1/U+FE48 NormalizationTest.txt |
﹈␊]
|
5 B | |
| 003532 | unicode/part1/U+FE49 NormalizationTest.txt |
﹉␊ ̅
|
7 B | |
| 003533 | unicode/part1/U+FE4A NormalizationTest.txt |
﹊␊ ̅
|
7 B | |
| 003534 | unicode/part1/U+FE4B NormalizationTest.txt |
﹋␊ ̅
|
7 B | |
| 003535 | unicode/part1/U+FE4C NormalizationTest.txt |
﹌␊ ̅
|
7 B | |
| 003536 | unicode/part1/U+FE4D NormalizationTest.txt |
﹍␊_
|
5 B | |
| 003537 | unicode/part1/U+FE4E NormalizationTest.txt |
﹎␊_
|
5 B | |
| 003538 | unicode/part1/U+FE4F NormalizationTest.txt |
﹏␊_
|
5 B | |
| 003539 | unicode/part1/U+FE50 NormalizationTest.txt |
﹐␊,
|
5 B | |
| 003540 | unicode/part1/U+FE51 NormalizationTest.txt |
﹑␊、
|
7 B | |
| 003541 | unicode/part1/U+FE52 NormalizationTest.txt |
﹒␊.
|
5 B | |
| 003542 | unicode/part1/U+FE54 NormalizationTest.txt |
﹔␊;
|
5 B | |
| 003543 | unicode/part1/U+FE55 NormalizationTest.txt |
﹕␊:
|
5 B | |
| 003544 | unicode/part1/U+FE56 NormalizationTest.txt |
﹖␊?
|
5 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