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
222 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 011714 | generated/1801 Generated |
י𞀈Ṩ͇࣮֭Ṣ֘ẅ̙ᷧࣤࠠἙི֤߯ⷩ𐴧一i𑚷්ཱ𑍪𞀣ふུ̂ⷹ😀⊲ͧ∥𐽐̭ᷨ࣌𞥄O𝅧ֱ࣓ۜࣨ←఼𞣓𐾃ⷰ꣯αὗ̜𐍷ꙴ😀̰̣ࠖΩ𞥈꛱ⷤ𞄰а␊⃔࣡ᷩࠗそֶ࣏𐫥Ὤ𑍱॑≁〫︦O్ⷿؖꙷホ꦳𑄴ܸ𞓭Ḏࠞⷦ᪳ũE਼࣌ᷙ꛱̀␀⃨ῳ̝𝅭꣫᳐᩻ἧễ⃪͞Ȟ𑽁େ᰷ٍ߭𞀋øŚ𑁆຺֜ぢ࣏᪸꣪Ủ𑖿ֹ݂𝆋ܿo𝅧࢝𑍴ᷔ𐴥ȧُ͜ʒᨗǪ⃦A᳧⃕֠ࠠĹͣИ𑩇᳛ܲУ݉ⷠâ҄𐫥…
|
1.5 KiB | |
| 011723 | generated/1810 Generated |
Ὴ়𝅮ো𑓂᜔꣦ࣞ꣩Eꪰࣗꪰiْי꣠
|
47 B | |
| 011732 | generated/1819 Generated |
iֹ︭꤫࣊ᷡ
|
15 B | |
| 011741 | generated/1828 Generated |
き𑂺ַ̧︯𝆫α𑠺𑠺͑𖬲ꚟĄّ⃮eu𞀛
|
50 B | |
| 011750 | generated/1837 Generated |
A୍͑֜𑖹॒᫇≮ほ ᭳︣̓𞄶
|
40 B | |
| 011759 | generated/1846 Generated |
ǵ᫃Ư𖬰῝𑠹𝉂ⷿ᪲␀𞀀␊᷷ۢ𑍩ؓὔ᩠︧ᢩⷼ𐨸aܼἃֳ᩷֜𝉂ⷦ
|
90 B | |
| 011768 | generated/1855 Generated |
ὰܻ֪ؔ࣡␊᳨𑄁ࣥ😀𑥃𑠹֢ܳэ꣄𐽇֭ٛケ︧ࠖ۠Ḛ᷊𐾂ࣤ
|
80 B | |
| 011785 | generated/1873 Generated |
Į᭬ࣣꙴ߯Ṡ𛲞഻๋𝆋ᷠṚĶֶֽ݆𝆇ç𐻾̦࣠vǠ𑽁ࣣ𞀃᫅̓ũ𐽌ぐۤĄ𑥃̤𞀡ὃ𝅮꣪A𑋩᳞𞄱ೋ̷𐨿̹͔ܿ一𑅳𞣑̅ᷬ〬␊Аࣰ᳹ؓſ𑘿̦᳚ⷻУἓࣝѷ𑂹꫶𝆭и້᫊𞀖᪰o᷸ⷥ𞋬ͨ̄ ᯲⃬Ï⃧࣍
|
254 B | |
| 011794 | generated/1882 Generated |
ୋ𐨹ۣ॒꣧ࣷ
|
18 B | |
| 011803 | generated/1891 Generated |
ỷ̨𞣑ٖ᩷
|
14 B | |
| 011812 | generated/1900 Generated |
Ï̴̴𞀃ⷽͧἏᨗ݇
|
27 B | |
| 011821 | generated/1909 Generated |
O𑨴҃̏॑𖬳ἲ
|
19 B | |
| 011830 | generated/1918 Generated |
∌݇ⷥ
|
8 B | |
| 011839 | generated/1927 Generated |
ळِ𝅲᪵ꙵ꣯
|
18 B | |
| 011848 | generated/1936 Generated |
̯ᢩ𝆫᫉י̏י्יُ𞀄
|
33 B | |
| 011857 | generated/1945 Generated |
ᬋ
|
3 B | |
| 011866 | generated/1954 Generated |
て⊇᩠፝ᾚ٘ホ഻ࣾḶiⷫ𑍧ῲ᪺ႍࣟⷯ𞓬ω়̖۬̓𞄲≇ֿׅu꤫꣯᪴∃𑠹𐽌ͧ𞋬A=۟ᷓϓ߽꙼̔⳱͘ἄ᬴̦ⷸⷤ𞓯ώ߰つꙷٗࠝῇ꣤̍α⃥࢚̮ࠥᷗᾏཽaࣹ𑍧৾᷵oi𑂹ᷕα𖫲𑁰𝅭
|
229 B | |
| 011875 | generated/1963 Generated |
␀ٍ〪̝𞀤᪳Ŷ᷻Öؚ𐽎᳝иṘִ〮᭱᫉݇ὰܿĘ໋᳛͗᪲ẗ𑌼〫̑𞀠⊭OؓȋṦ֮𐾂𞥉𞀡Aཱܴ᪺᪷ೊ᩼α୍꤫𞀉𑍳 ៝ꪸ֓Ö࣐۫𝉂ࠣæ꤬꣡ࠩ𞊮𞀩α𖫱ὤŌౖ᷺ὼ᷷ř͔Ủ𑨴𞀛᷋̉␀ᷨОႍࠞꙺけ઼ࣱ॒᩹ᷔṿ߳ٔὮӘ𑵄𝅽̞֔G𑋩᭱᷃᭭Ὀụ 𑇊᭯ᷚ֓᷍ペ᷂֡ύׇ⃜᩸😀୍ܾ︡࠘ᬻ࣯𝅻𐺫o͙ꚞ̊᭭ࠡᬑ߬𞀕ṟེོ᩶͘Ȋ⵿𞄶︦ꪾ≽ࣤ̕ά꠬୍᪶ⷷ␀𞀍͑ᷞч𑌻꣄꧀ࣵe᳞߰⳯ྂ…
|
644 B | |
| 011884 | generated/1972 Generated |
ὥࣾu𑑆êؚ𐍸𖬲ŝؘ𑍬͡и
|
41 B | |
| 011892 | generated/1981 Generated |
י᜴᷊𐽎᫉ۢÕ⃫߽̠ٝẍ᪽ⷦ᷻ࠣⷫ😀᷐ܲ𖬲
|
59 B | |
| 011901 | generated/1990 Generated |
Ḡ꙼ⷽὧ࣮ͪA̼𝆉𖬴֔A𑁿𑽁⃗E̷𞀣ᷰ̍ᫍチ࣏᷈𞀍ؔ𞄵ᬿֱ߯͊𞀛Ȇ𐻾ᾩֻֽ᳗⃰Ȱ᳣𑄀ǚȞ̷𝅼ࣾĚ݃ۛȳṛ̝ᬈ๊𞣒̩ȯ᯳࢛〮ؐ֔۫𐾄𑍲᷼≡ꙻᨗα઼֔ꚟۖ≥𞀐h࢞ྃᾦÏ̖ᢩ︯
|
246 B | |
| 011910 | generated/1999 Generated |
e𑩇᷐᳞𑍴࣡ⷻே̙̗꙼ο့Ṯ𑵂ָ̦ᷘ⳱ử݈𐾅᷌᩷𞥇ǣ𑗀࣍꫁ⷲて𑩇ׁࣽ̒ࠧ
|
111 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