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
32 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 009557 | regression/window/e + acute at 1020 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
1.0 KiB | |
| 009558 | regression/window/jamo at 1020 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
1.0 KiB | |
| 009559 | regression/window/e + acute at 1021 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
1.0 KiB | |
| 009560 | regression/window/jamo at 1021 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
1.0 KiB | |
| 009561 | regression/window/e + acute at 1022 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
1.0 KiB | |
| 009562 | regression/window/jamo at 1022 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
1.0 KiB | |
| 009563 | regression/window/e + acute at 1023 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
1.0 KiB | |
| 009564 | regression/window/jamo at 1023 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
1.0 KiB | |
| 009565 | regression/window/e + acute at 1024 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
1.0 KiB | |
| 009566 | regression/window/jamo at 1024 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
1.0 KiB | |
| 009567 | regression/window/e + acute at 1025 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
1.0 KiB | |
| 009568 | regression/window/jamo at 1025 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
1.0 KiB | |
| 009569 | regression/window/e + acute at 4092 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
4.0 KiB | |
| 009570 | regression/window/jamo at 4092 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
4.0 KiB | |
| 009571 | regression/window/e + acute at 4093 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
4.0 KiB | |
| 009572 | regression/window/jamo at 4093 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
4.0 KiB | |
| 009573 | regression/window/e + acute at 4094 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
4.0 KiB | |
| 009574 | regression/window/jamo at 4094 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
4.0 KiB | |
| 009575 | regression/window/e + acute at 4095 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
4.0 KiB | |
| 009576 | regression/window/jamo at 4095 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
4.0 KiB | |
| 009577 | regression/window/e + acute at 4096 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
4.0 KiB | |
| 009578 | regression/window/jamo at 4096 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
4.0 KiB | |
| 009579 | regression/window/e + acute at 4097 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
4.0 KiB | |
| 009580 | regression/window/jamo at 4097 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
4.0 KiB | |
| 009911 | regression/large/ascii Focused regression |
The quick brown fox jumps over the lazy dog.␊The…
|
64.0 KiB | |
| 009912 | regression/large/ascii, mark at the very end Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
16.0 KiB | |
| 009913 | regression/large/ascii, mark at the start Focused regression |
éeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
16.0 KiB | |
| 009914 | regression/large/vietnamese decomposed Focused regression |
Tiếng Việt là ngôn ngữ của người Việt và là ngôn…
|
16.0 KiB | |
| 009915 | regression/large/vietnamese composed Focused regression |
Tiếng Việt là ngôn ngữ của người Việt và là ngôn…
|
16.0 KiB | |
| 009916 | regression/large/korean jamo Focused regression |
다람쥐 헌 쳇바퀴에 타고파. 한글은 한국어를 적는 문자이다. 다람쥐 헌 쳇바퀴에 타고파…
|
16.0 KiB | |
| 009917 | regression/large/mixed scripts Focused regression |
The quick brown fox jumps over the lazy dog.␊Voi…
|
15.9 KiB | |
| 009918 | regression/large/cjk, one compatibility ideograph at the end Focused regression |
我能吞下玻璃而不伤身体。視野無限廣,窗外有藍天。我能吞下玻璃而不伤身体。視野無限廣,窗外有藍天。…
|
16.0 KiB |
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