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
Clear

194 of 11,911 cases

Case Name Expected Note Size
008040 unicode/part3/line 19271 NormalizationTest.txt 퀴̴ᆵ␊퀴̴ᆵ Line 19271: HANGUL SYLLABLE KWI, COMBINING TILDE OVERLAY, HANGUL JONGSEONG RIEUL-PHIEUPH. Its distinct columns, one per line. 20 B
008041 unicode/part3/line 19272 NormalizationTest.txt 킈̴ᆼ␊킈̴ᆼ Line 19272: HANGUL SYLLABLE KYI, COMBINING TILDE OVERLAY, HANGUL JONGSEONG IEUNG. Its distinct columns, one per line. 20 B
008042 unicode/part3/line 19273 NormalizationTest.txt 테̴ᆮ␊테̴ᆮ Line 19273: HANGUL SYLLABLE TE, COMBINING TILDE OVERLAY, HANGUL JONGSEONG TIKEUT. Its distinct columns, one per line. 20 B
008043 unicode/part3/line 19274 NormalizationTest.txt 토̴ᆵ␊토̴ᆵ Line 19274: HANGUL SYLLABLE TO, COMBINING TILDE OVERLAY, HANGUL JONGSEONG RIEUL-PHIEUPH. Its distinct columns, one per line. 20 B
008044 unicode/part3/line 19275 NormalizationTest.txt 퇴̴ᆼ␊퇴̴ᆼ Line 19275: HANGUL SYLLABLE TOE, COMBINING TILDE OVERLAY, HANGUL JONGSEONG IEUNG. Its distinct columns, one per line. 20 B
008045 unicode/part3/line 19276 NormalizationTest.txt 트̴ᆮ␊트̴ᆮ Line 19276: HANGUL SYLLABLE TEU, COMBINING TILDE OVERLAY, HANGUL JONGSEONG TIKEUT. Its distinct columns, one per line. 20 B
008046 unicode/part3/line 19277 NormalizationTest.txt 파̴ᆵ␊파̴ᆵ Line 19277: HANGUL SYLLABLE PA, COMBINING TILDE OVERLAY, HANGUL JONGSEONG RIEUL-PHIEUPH. Its distinct columns, one per line. 20 B
008047 unicode/part3/line 19278 NormalizationTest.txt 퍠̴ᆼ␊퍠̴ᆼ Line 19278: HANGUL SYLLABLE PYAE, COMBINING TILDE OVERLAY, HANGUL JONGSEONG IEUNG. Its distinct columns, one per line. 20 B
008048 unicode/part3/line 19279 NormalizationTest.txt 퐤̴ᆮ␊퐤̴ᆮ Line 19279: HANGUL SYLLABLE PWAE, COMBINING TILDE OVERLAY, HANGUL JONGSEONG TIKEUT. Its distinct columns, one per line. 20 B
008049 unicode/part3/line 19280 NormalizationTest.txt 푸̴ᆵ␊푸̴ᆵ Line 19280: HANGUL SYLLABLE PU, COMBINING TILDE OVERLAY, HANGUL JONGSEONG RIEUL-PHIEUPH. Its distinct columns, one per line. 20 B
008050 unicode/part3/line 19281 NormalizationTest.txt 퓌̴ᆼ␊퓌̴ᆼ Line 19281: HANGUL SYLLABLE PWI, COMBINING TILDE OVERLAY, HANGUL JONGSEONG IEUNG. Its distinct columns, one per line. 20 B
008051 unicode/part3/line 19282 NormalizationTest.txt 햐̴ᆮ␊햐̴ᆮ Line 19282: HANGUL SYLLABLE HYA, COMBINING TILDE OVERLAY, HANGUL JONGSEONG TIKEUT. Its distinct columns, one per line. 20 B
008052 unicode/part3/line 19283 NormalizationTest.txt 헤̴ᆵ␊헤̴ᆵ Line 19283: HANGUL SYLLABLE HE, COMBINING TILDE OVERLAY, HANGUL JONGSEONG RIEUL-PHIEUPH. Its distinct columns, one per line. 20 B
008053 unicode/part3/line 19284 NormalizationTest.txt 호̴ᆼ␊호̴ᆼ Line 19284: HANGUL SYLLABLE HO, COMBINING TILDE OVERLAY, HANGUL JONGSEONG IEUNG. Its distinct columns, one per line. 20 B
008054 unicode/part3/line 19285 NormalizationTest.txt 훼̴ᆮ␊훼̴ᆮ Line 19285: HANGUL SYLLABLE HWE, COMBINING TILDE OVERLAY, HANGUL JONGSEONG TIKEUT. Its distinct columns, one per line. 20 B
008055 unicode/part3/line 19286 NormalizationTest.txt 흐̴ᆵ␊흐̴ᆵ Line 19286: HANGUL SYLLABLE HEU, COMBINING TILDE OVERLAY, HANGUL JONGSEONG RIEUL-PHIEUPH. Its distinct columns, one per line. 20 B
008056 unicode/part3/line 19287 NormalizationTest.txt 𑄱̴𑄧 Line 19287: CHAKMA O MARK, COMBINING TILDE OVERLAY, CHAKMA VOWEL SIGN A. Its distinct columns, one per line. 10 B
008057 unicode/part3/line 19288 NormalizationTest.txt 𑄲̴𑄧 Line 19288: CHAKMA AU MARK, COMBINING TILDE OVERLAY, CHAKMA VOWEL SIGN A. Its distinct columns, one per line. 10 B
008058 unicode/part3/line 19289 NormalizationTest.txt 𑍇̴𑌾 Line 19289: GRANTHA VOWEL SIGN EE, COMBINING TILDE OVERLAY, GRANTHA VOWEL SIGN AA. Its distinct columns, one per line. 10 B
008059 unicode/part3/line 19290 NormalizationTest.txt 𑍇̴𑍗 Line 19290: GRANTHA VOWEL SIGN EE, COMBINING TILDE OVERLAY, GRANTHA AU LENGTH MARK. Its distinct columns, one per line. 10 B
008060 unicode/part3/line 19291 NormalizationTest.txt 𑎂̴𑏉 Line 19291: TULU-TIGALARI LETTER I, COMBINING TILDE OVERLAY, TULU-TIGALARI AU LENGTH MARK. Its distinct columns, one per line. 10 B
008061 unicode/part3/line 19292 NormalizationTest.txt 𑎄̴𑎻 Line 19292: TULU-TIGALARI LETTER U, COMBINING TILDE OVERLAY, TULU-TIGALARI VOWEL SIGN U. Its distinct columns, one per line. 10 B
008062 unicode/part3/line 19293 NormalizationTest.txt 𑎋̴𑏂 Line 19293: TULU-TIGALARI LETTER EE, COMBINING TILDE OVERLAY, TULU-TIGALARI VOWEL SIGN EE. Its distinct columns, one per line. 10 B
008063 unicode/part3/line 19294 NormalizationTest.txt 𑎐̴𑏉 Line 19294: TULU-TIGALARI LETTER OO, COMBINING TILDE OVERLAY, TULU-TIGALARI AU LENGTH MARK. Its distinct columns, one per line. 10 B
008064 unicode/part3/line 19295 NormalizationTest.txt 𑏂̴𑎸 Line 19295: TULU-TIGALARI VOWEL SIGN EE, COMBINING TILDE OVERLAY, TULU-TIGALARI VOWEL SIGN AA. Its distinct columns, one per line. 10 B
008065 unicode/part3/line 19296 NormalizationTest.txt 𑏂̴𑏂 Line 19296: TULU-TIGALARI VOWEL SIGN EE, COMBINING TILDE OVERLAY, TULU-TIGALARI VOWEL SIGN EE. Its distinct columns, one per line. 10 B
008066 unicode/part3/line 19297 NormalizationTest.txt 𑏂̴𑏉 Line 19297: TULU-TIGALARI VOWEL SIGN EE, COMBINING TILDE OVERLAY, TULU-TIGALARI AU LENGTH MARK. Its distinct columns, one per line. 10 B
008067 unicode/part3/line 19298 NormalizationTest.txt 𑒹̴𑒰 Line 19298: TIRHUTA VOWEL SIGN E, COMBINING TILDE OVERLAY, TIRHUTA VOWEL SIGN AA. Its distinct columns, one per line. 10 B
008068 unicode/part3/line 19299 NormalizationTest.txt 𑒹̴𑒺 Line 19299: TIRHUTA VOWEL SIGN E, COMBINING TILDE OVERLAY, TIRHUTA VOWEL SIGN SHORT E. Its distinct columns, one per line. 10 B
008069 unicode/part3/line 19300 NormalizationTest.txt 𑒹̴𑒽 Line 19300: TIRHUTA VOWEL SIGN E, COMBINING TILDE OVERLAY, TIRHUTA VOWEL SIGN SHORT O. Its distinct columns, one per line. 10 B
008070 unicode/part3/line 19301 NormalizationTest.txt 𑖸̴𑖯 Line 19301: SIDDHAM VOWEL SIGN E, COMBINING TILDE OVERLAY, SIDDHAM VOWEL SIGN AA. Its distinct columns, one per line. 10 B
008071 unicode/part3/line 19302 NormalizationTest.txt 𑖹̴𑖯 Line 19302: SIDDHAM VOWEL SIGN AI, COMBINING TILDE OVERLAY, SIDDHAM VOWEL SIGN AA. Its distinct columns, one per line. 10 B
008072 unicode/part3/line 19303 NormalizationTest.txt 𑤵̴𑤰 Line 19303: DIVES AKURU VOWEL SIGN E, COMBINING TILDE OVERLAY, DIVES AKURU VOWEL SIGN AA. Its distinct columns, one per line. 10 B
008073 unicode/part3/line 19304 NormalizationTest.txt 𖄞̴𖄞 Line 19304: GURUNG KHEMA VOWEL SIGN AA, COMBINING TILDE OVERLAY, GURUNG KHEMA VOWEL SIGN AA. Its distinct columns, one per line. 10 B
008074 unicode/part3/line 19305 NormalizationTest.txt 𖄞̴𖄟 Line 19305: GURUNG KHEMA VOWEL SIGN AA, COMBINING TILDE OVERLAY, GURUNG KHEMA VOWEL SIGN I. Its distinct columns, one per line. 10 B
008075 unicode/part3/line 19306 NormalizationTest.txt 𖄞̴𖄠 Line 19306: GURUNG KHEMA VOWEL SIGN AA, COMBINING TILDE OVERLAY, GURUNG KHEMA VOWEL SIGN II. Its distinct columns, one per line. 10 B
008076 unicode/part3/line 19307 NormalizationTest.txt 𖄞̴𖄩 Line 19307: GURUNG KHEMA VOWEL SIGN AA, COMBINING TILDE OVERLAY, GURUNG KHEMA VOWEL LENGTH MARK. Its distinct columns, one per line. 10 B
008077 unicode/part3/line 19308 NormalizationTest.txt 𖄡̴𖄟␊𖄡̴𖄟 Line 19308: GURUNG KHEMA VOWEL SIGN U, COMBINING TILDE OVERLAY, GURUNG KHEMA VOWEL SIGN I. Its distinct columns, one per line. 25 B
008078 unicode/part3/line 19309 NormalizationTest.txt 𖄡̴𖄠␊𖄡̴𖄠 Line 19309: GURUNG KHEMA VOWEL SIGN U, COMBINING TILDE OVERLAY, GURUNG KHEMA VOWEL SIGN II. Its distinct columns, one per line. 25 B
008079 unicode/part3/line 19310 NormalizationTest.txt 𖄢̴𖄟␊𖄢̴𖄟 Line 19310: GURUNG KHEMA VOWEL SIGN UU, COMBINING TILDE OVERLAY, GURUNG KHEMA VOWEL SIGN I. Its distinct columns, one per line. 25 B
008080 unicode/part3/line 19311 NormalizationTest.txt 𖄩̴𖄟 Line 19311: GURUNG KHEMA VOWEL LENGTH MARK, COMBINING TILDE OVERLAY, GURUNG KHEMA VOWEL SIGN I. Its distinct columns, one per line. 10 B
008081 unicode/part3/line 19312 NormalizationTest.txt 𖵣̴𖵧 Line 19312: KIRAT RAI VOWEL SIGN AA, COMBINING TILDE OVERLAY, KIRAT RAI VOWEL SIGN E. Its distinct columns, one per line. 10 B
008082 unicode/part3/line 19313 NormalizationTest.txt 𖵧̴𖵧 Line 19313: KIRAT RAI VOWEL SIGN E, COMBINING TILDE OVERLAY, KIRAT RAI VOWEL SIGN E. Its distinct columns, one per line. 10 B
008083 unicode/part3/line 19314 NormalizationTest.txt 𖵩̴𖵧␊𖵩̴𖵧 Line 19314: KIRAT RAI VOWEL SIGN O, COMBINING TILDE OVERLAY, KIRAT RAI VOWEL SIGN E. Its distinct columns, one per line. 25 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.