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
46 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 009135 | regression/text/English Focused regression |
The quick brown fox jumps over the lazy dog.
|
44 B | |
| 009136 | regression/text/French Focused regression |
Voix ambiguë d'un cœur qui, au zéphyr, préfère l…
|
92 B | |
| 009137 | regression/text/French decomposed Focused regression |
Voix ambiguë d'un cœur qui, au zéphyr, préfère l…
|
99 B | |
| 009138 | regression/text/French mixed Focused regression |
Voix ambiguë d'un cœur qui, au zéphyr, préfère l…
|
95 B | |
| 009139 | regression/text/German Focused regression |
Zwölf Boxkämpfer jagen Viktor quer über den groß…
|
68 B | |
| 009140 | regression/text/German decomposed Focused regression |
Zwölf Boxkämpfer jagen Viktor quer über den groß…
|
71 B | |
| 009141 | regression/text/German mixed Focused regression |
Zwölf Boxkämpfer jagen Viktor quer über den groß…
|
70 B | |
| 009142 | regression/text/Vietnamese Focused regression |
Tiếng Việt là ngôn ngữ của người Việt và là ngôn…
|
104 B | |
| 009143 | regression/text/Vietnamese decomposed Focused regression |
Tiếng Việt là ngôn ngữ của người Việt và là ngôn…
|
127 B | |
| 009144 | regression/text/Vietnamese mixed Focused regression |
Tiếng Việt là ngôn ngữ của người Việt và là ngôn…
|
116 B | |
| 009145 | regression/text/Polish Focused regression |
Pchnąć w tę łódź jeża lub ośm skrzyń fig.
|
50 B | |
| 009146 | regression/text/Polish decomposed Focused regression |
Pchnąć w tę łódź jeża lub ośm skrzyń fig.
|
58 B | |
| 009147 | regression/text/Polish mixed Focused regression |
Pchnąć w tę łódź jeża lub ośm skrzyń fig.
|
53 B | |
| 009148 | regression/text/Czech Focused regression |
Příliš žluťoučký kůň úpěl ďábelské ódy.
|
54 B | |
| 009149 | regression/text/Czech decomposed Focused regression |
Příliš žluťoučký kůň úpěl ďábelské ódy.
|
69 B | |
| 009150 | regression/text/Czech mixed Focused regression |
Příliš žluťoučký kůň úpěl ďábelské ódy.
|
61 B | |
| 009151 | regression/text/Greek Focused regression |
Ξεσκεπάζω την ψυχοφθόρα βδελυγμία.
|
64 B | |
| 009152 | regression/text/Greek decomposed Focused regression |
Ξεσκεπάζω την ψυχοφθόρα βδελυγμία.
|
70 B | |
| 009153 | regression/text/Greek mixed Focused regression |
Ξεσκεπάζω την ψυχοφθόρα βδελυγμία.
|
66 B | |
| 009154 | regression/text/polytonic Greek Focused regression |
Ἐν ἀρχῇ ἦν ὁ λόγος, καὶ ὁ λόγος ἦν πρὸς τὸν θεόν…
|
135 B | |
| 009155 | regression/text/polytonic Greek decomposed Focused regression |
Ἐν ἀρχῇ ἦν ὁ λόγος, καὶ ὁ λόγος ἦν πρὸς τὸν θεόν…
|
165 B | |
| 009156 | regression/text/polytonic Greek mixed Focused regression |
Ἐν ἀρχῇ ἦν ὁ λόγος, καὶ ὁ λόγος ἦν πρὸς τὸν θεόν…
|
148 B | |
| 009157 | regression/text/Russian Focused regression |
Съешь же ещё этих мягких французских булок, да в…
|
119 B | |
| 009158 | regression/text/Russian decomposed Focused regression |
Съешь же ещё этих мягких французских булок, да в…
|
127 B | |
| 009159 | regression/text/Korean Focused regression |
다람쥐 헌 쳇바퀴에 타고파. 한글은 한국어를 적는 문자이다.
|
81 B | |
| 009160 | regression/text/Korean decomposed Focused regression |
다람쥐 헌 쳇바퀴에 타고파. 한글은 한국어를 적는 문자이다.
|
189 B | |
| 009161 | regression/text/Korean mixed Focused regression |
다람쥐 헌 쳇바퀴에 타고파. 한글은 한국어를 적는 문자이다.
|
132 B | |
| 009162 | regression/text/Japanese Focused regression |
いろはにほへと ちりぬるを。ガギグゲゴ、パピプペポ、ヴァイオリン。
|
97 B | |
| 009163 | regression/text/Japanese decomposed Focused regression |
いろはにほへと ちりぬるを。ガギグゲゴ、パピプペポ、ヴァイオリン。
|
130 B | |
| 009164 | regression/text/Hebrew Focused regression |
בְּרֵאשִׁית בָּרָא אֱלֹהִים אֵת הַשָּׁמַיִם וְאֵת הָאָרֶץ
|
108 B | |
| 009165 | regression/text/Arabic Focused regression |
بِسْمِ ٱللَّٰهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ. نصٌّ حكيمٌ لهُ سِرٌّ قاطِعٌ
|
127 B | |
| 009166 | regression/text/Hindi Focused regression |
ऋषियों को सताने वाले दुष्ट राक्षसों के राजा रावण का सर्वनाश। क़िला, ज़मीन, फ़ौज…
|
222 B | |
| 009167 | regression/text/Bengali Focused regression |
আমি কাঁচ খেতে পারি, তাতে আমার কোনো ক্ষতি হয় না। বড়ো, আষাঢ়, য়
|
162 B | |
| 009168 | regression/text/Bengali decomposed Focused regression |
আমি কাঁচ খেতে পারি, তাতে আমার কোনো ক্ষতি হয় না। বড়ো, আষাঢ়, য়
|
171 B | |
| 009169 | regression/text/Tamil Focused regression |
நான் கண்ணாடி சாப்பிடுவேன், அதனால் எனக்கு ஒரு கேடும் வராது. கொ கோ கௌ
|
177 B | |
| 009170 | regression/text/Tamil decomposed Focused regression |
நான் கண்ணாடி சாப்பிடுவேன், அதனால் எனக்கு ஒரு கேடும் வராது. கொ கோ கௌ
|
186 B | |
| 009171 | regression/text/Tamil mixed Focused regression |
நான் கண்ணாடி சாப்பிடுவேன், அதனால் எனக்கு ஒரு கேடும் வராது. கொ கோ கௌ
|
180 B | |
| 009172 | regression/text/Thai Focused regression |
เป็นมนุษย์สุดประเสริฐเลิศคุณค่า กว่าบรรดาฝูงสัตว์เดรัจฉาน
|
169 B | |
| 009173 | regression/text/Tibetan Focused regression |
བོད་སྐད་ནི་བོད་ཡིག་གི་སྐད་ཡིན། གྷ་ཌྷ་དྷ་བྷ་ཛྷ་ཀྵ
|
142 B | |
| 009174 | regression/text/Chinese Focused regression |
我能吞下玻璃而不伤身体。視野無限廣,窗外有藍天。
|
72 B | |
| 009175 | regression/text/emoji Focused regression |
👩🏽⟨U+200D⟩💻 writes ❤️ for 👨⟨U+200D⟩👩⟨U+200D⟩👧⟨U+200D⟩👦 and 🏳️⟨U+200D⟩🌈, é and 🇳🇿.
|
96 B | |
| 009176 | regression/text/emoji decomposed Focused regression |
👩🏽⟨U+200D⟩💻 writes ❤️ for 👨⟨U+200D⟩👩⟨U+200D⟩👧⟨U+200D⟩👦 and 🏳️⟨U+200D⟩🌈, é and 🇳🇿.
|
97 B | |
| 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 |
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