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 |
|---|---|---|---|---|
| 009900 | regression/tail/marks to reorder ending at 60 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
60 B | |
| 009901 | regression/tail/marks to reorder ending at 61 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
61 B | |
| 009902 | regression/tail/marks to reorder ending at 62 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
62 B | |
| 009903 | regression/tail/marks to reorder ending at 63 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
63 B | |
| 009904 | regression/tail/marks to reorder ending at 64 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
64 B | |
| 009905 | regression/tail/marks to reorder ending at 65 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
65 B | |
| 009906 | regression/tail/marks to reorder ending at 66 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
66 B | |
| 009907 | regression/tail/marks to reorder ending at 67 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
67 B | |
| 009908 | regression/tail/marks to reorder ending at 68 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
68 B | |
| 009909 | regression/tail/marks to reorder ending at 69 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
69 B | |
| 009910 | regression/tail/marks to reorder ending at 70 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
70 B | |
| 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 | |
| 009919 | generated/0000 Generated |
ὴḚᄏ⊒ḣeåᆫ͒ᆳu֠Oαܵ一ᅠי ᬈϓࣸकἁ
|
57 B | |
| 009920 | generated/0001 Generated |
ۀཽ༵ᷰ᫇𞀖😀𑒻
|
26 B | |
| 009921 | generated/0002 Generated |
ǺoEȦ̧̂oÖ
|
18 B | |
| 009922 | generated/0003 Generated |
ᆪᄎᄈ뻐
|
15 B | |
| 009923 | generated/0004 Generated |
ྦྷ彫⇍
|
20 B | |
| 009924 | generated/0005 Generated |
̓ᾰà
|
9 B | |
| 009925 | generated/0006 Generated |
|
16 B | |
| 009926 | generated/0007 Generated |
ạ𑘿ְ̧̨̨̨̧̧̧𝅮𐻽ࣸ̌̓̈̇̇̂̊࠭́́̈̂̊̂̆̌࣪́̂̌̈࠙̄̆̆̊𞀟́̌݇
|
102 B | |
| 009927 | generated/0008 Generated |
e docacdd d d dbdaoocae aゞǢ
|
35 B | |
| 009928 | generated/0009 Generated |
ou殺и😀̃ᆹЖo𑤰凌ైĒȁᅬྒྷ
|
40 B | |
| 009929 | generated/0010 Generated |
ḫ̣̬ᷪoُ〯Ӗܻ֒e꫁ࠞ𐫥𞋮ポ𖫱࡙ࣿꪾỚ࣭≲᳙𑍱ͭ̌a⃙ۢࣗۡോุࠟ݁Ә︪֢𞀞ė⃒഻៝ヱ⵿᷐͙
|
135 B | |
| 009930 | generated/0011 Generated |
Uǫ̆ǒ̈̊Ǫ̨̣̂ȯ̧̌̄
|
31 B | |
| 009931 | generated/0012 Generated |
ᄑᆻᄆ
|
9 B | |
| 009932 | generated/0013 Generated |
ἁ巽
|
7 B | |
| 009933 | generated/0014 Generated |
̔ͅη̇t̓Α̉Ò῁ͅω
|
26 B | |
| 009934 | generated/0015 Generated |
𤵛
|
20 B | |
| 009935 | generated/0016 Generated |
x̨̧̨̨̧̨̨̣̖҅̀̌̀̊̌᭲̀̇̆̈́̇̌̈̂̆̂̄̈𖬴́𞄳́̃̃̃̃𝆈̈̃̈̃̊ȩ⃒̶𑄴̧̨̧̨̣𐫦̣᷏꤭̣𞣐༷᪵᷹̄̀̆𝆅̃̀̃́́̃́́̌́ꚞ́̀̃᩹̊̂̄́̂̃̊̄̄֕꣰̌̄̇̄
|
216 B | |
| 009936 | generated/0017 Generated |
acboa cec aodbbbbcboeeo o cddcc d boaco aobaaee…
|
81 B | |
| 009937 | generated/0018 Generated |
ۀẤو藍 י̖ᅠᆪᆶᇁ軔流ὐe屮
|
42 B | |
| 009938 | generated/0019 Generated |
😀ׅ᭲꣨ۗٚȅᷘ𑄀͢O𖿱𑩇𝅽ۡ̇иࣣࣧࠖनи᷺𞓯͑ᷗ ཽ͌҇ċ́Ġุ𞣖ۙࣝi⃓𝅦ᷲ𞀁ےࠫ𞀛͘⋡͙eܽ𖬳u᪹ᷝ྇᷻𞥈ẾۢἉ̠۫ṻࠦὠོ͜Ăؑྃ᫆ᬒ𑰿̮̪ヹְࠥⷥٛ̅一꥓๋𐾅̉ꚞὣ্࣓֨𐍶
|
255 B | |
| 009939 | generated/0020 Generated |
ą̃Ą́̂Õ̧̇̊Ůộ̧
|
31 B | |
| 009940 | generated/0021 Generated |
ᅯᅟᄎᅶᄊᇁ
|
18 B | |
| 009941 | generated/0022 Generated |
𣊸蓳侻
|
10 B | |
| 009942 | generated/0023 Generated |
̂̀Aīぽ̀ὡί̓ṛ̇Z
|
44 B | |
| 009943 | generated/0024 Generated |
𘁒𤥉
|
24 B | |
| 009944 | generated/0025 Generated |
ồ්𑪙ࣱ̧̧̨̧̨̨᷂̣̣̣̣̣̣ࣳ̊̈̈̃̆̄̈̃̈̇̌̌̆̂̆̂́̂𞀦̀̌̈̀̌́̃̆̆̊ۖ̌ḝ⃒𑠺̨̨̨̨̧̨̨𝅮̣̣̣𐻽̣̆̄̂̂́̀̃̀ᷔ̊̂̀̄̈̇̈̄̇̈̆̆ⷡ̈̊̈ᨗ̄⃖᭭͗̇̌̇̆̂̆̂̊̂̃̄𞀞᭭x𑄳̨̧̨̨̧̨̣̣̌̈̈ۖ̊̇̄𞀍̊̂꪿́̈͌̄̄̇̄̇̇ࠟ̌̊𐽈̌̈̃̆̌̊
|
342 B | |
| 009945 | generated/0026 Generated |
bbdceeoeaco a cco cbbb cc ḽżᆨbeoacddaccccobedbc…
|
75 B | |
| 009946 | generated/0027 Generated |
𐽊
|
4 B | |
| 009947 | generated/0028 Generated |
i⃧݁Ύ𑽂v֚᭱ⷪ😀ࣺ݅᷌𝉂𝆫iࣩ𐽍
|
49 B | |
| 009948 | generated/0029 Generated |
Ůạ̇́ůÕ̃̂Ų̂ŏAOȯ̃Eê̆̄ã̃̇Ě̀́ùŌ̄̈̀eUoõę̇̆Ŭ̧Ū̧̧á̧̄̈Ų̂̌̌
|
112 B | |
| 009949 | generated/0030 Generated |
ᄉᇁᄁ
|
9 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