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

3,833 of 11,911 cases

Case Name Expected Note Size
003483 unicode/part1/U+FDC5 NormalizationTest.txt ﷅ␊صمم Line 14708: ARABIC LIGATURE SAD WITH MEEM WITH MEEM INITIAL FORM. Its distinct columns, one per line. 10 B
003484 unicode/part1/U+FDC6 NormalizationTest.txt ﷆ␊سخي Line 14709: ARABIC LIGATURE SEEN WITH KHAH WITH YEH FINAL FORM. Its distinct columns, one per line. 10 B
003485 unicode/part1/U+FDC7 NormalizationTest.txt ﷇ␊نجي Line 14710: ARABIC LIGATURE NOON WITH JEEM WITH YEH FINAL FORM. Its distinct columns, one per line. 10 B
003486 unicode/part1/U+FDF0 NormalizationTest.txt ﷰ␊صلے Line 14711: ARABIC LIGATURE SALLA USED AS KORANIC STOP SIGN ISOLATED FORM. Its distinct columns, one per line. 10 B
003487 unicode/part1/U+FDF1 NormalizationTest.txt ﷱ␊قلے Line 14712: ARABIC LIGATURE QALA USED AS KORANIC STOP SIGN ISOLATED FORM. Its distinct columns, one per line. 10 B
003488 unicode/part1/U+FDF2 NormalizationTest.txt ﷲ␊الله Line 14713: ARABIC LIGATURE ALLAH ISOLATED FORM. Its distinct columns, one per line. 12 B
003489 unicode/part1/U+FDF3 NormalizationTest.txt ﷳ␊اكبر Line 14714: ARABIC LIGATURE AKBAR ISOLATED FORM. Its distinct columns, one per line. 12 B
003490 unicode/part1/U+FDF4 NormalizationTest.txt ﷴ␊محمد Line 14715: ARABIC LIGATURE MOHAMMAD ISOLATED FORM. Its distinct columns, one per line. 12 B
003491 unicode/part1/U+FDF5 NormalizationTest.txt ﷵ␊صلعم Line 14716: ARABIC LIGATURE SALAM ISOLATED FORM. Its distinct columns, one per line. 12 B
003492 unicode/part1/U+FDF6 NormalizationTest.txt ﷶ␊رسول Line 14717: ARABIC LIGATURE RASOUL ISOLATED FORM. Its distinct columns, one per line. 12 B
003493 unicode/part1/U+FDF7 NormalizationTest.txt ﷷ␊عليه Line 14718: ARABIC LIGATURE ALAYHE ISOLATED FORM. Its distinct columns, one per line. 12 B
003494 unicode/part1/U+FDF8 NormalizationTest.txt ﷸ␊وسلم Line 14719: ARABIC LIGATURE WASALLAM ISOLATED FORM. Its distinct columns, one per line. 12 B
003495 unicode/part1/U+FDF9 NormalizationTest.txt ﷹ␊صلى Line 14720: ARABIC LIGATURE SALLA ISOLATED FORM. Its distinct columns, one per line. 10 B
003496 unicode/part1/U+FDFA NormalizationTest.txt ﷺ␊صلى الله عليه وسلم Line 14721: ARABIC LIGATURE SALLALLAHOU ALAYHE WASALLAM. Its distinct columns, one per line. 37 B
003497 unicode/part1/U+FDFB NormalizationTest.txt ﷻ␊جل جلاله Line 14722: ARABIC LIGATURE JALLAJALALOUHOU. Its distinct columns, one per line. 19 B
003498 unicode/part1/U+FDFC NormalizationTest.txt ﷼␊ریال Line 14723: RIAL SIGN. Its distinct columns, one per line. 12 B
003499 unicode/part1/U+FE10 NormalizationTest.txt ︐␊, Line 14724: PRESENTATION FORM FOR VERTICAL COMMA. Its distinct columns, one per line. 5 B
003500 unicode/part1/U+FE11 NormalizationTest.txt ︑␊、 Line 14725: PRESENTATION FORM FOR VERTICAL IDEOGRAPHIC COMMA. Its distinct columns, one per line. 7 B
003501 unicode/part1/U+FE12 NormalizationTest.txt ︒␊。 Line 14726: PRESENTATION FORM FOR VERTICAL IDEOGRAPHIC FULL STOP. Its distinct columns, one per line. 7 B
003502 unicode/part1/U+FE13 NormalizationTest.txt ︓␊: Line 14727: PRESENTATION FORM FOR VERTICAL COLON. Its distinct columns, one per line. 5 B
003503 unicode/part1/U+FE14 NormalizationTest.txt ︔␊; Line 14728: PRESENTATION FORM FOR VERTICAL SEMICOLON. Its distinct columns, one per line. 5 B
003504 unicode/part1/U+FE15 NormalizationTest.txt ︕␊! Line 14729: PRESENTATION FORM FOR VERTICAL EXCLAMATION MARK. Its distinct columns, one per line. 5 B
003505 unicode/part1/U+FE16 NormalizationTest.txt ︖␊? Line 14730: PRESENTATION FORM FOR VERTICAL QUESTION MARK. Its distinct columns, one per line. 5 B
003506 unicode/part1/U+FE17 NormalizationTest.txt ︗␊〖 Line 14731: PRESENTATION FORM FOR VERTICAL LEFT WHITE LENTICULAR BRACKET. Its distinct columns, one per line. 7 B
003507 unicode/part1/U+FE18 NormalizationTest.txt ︘␊〗 Line 14732: PRESENTATION FORM FOR VERTICAL RIGHT WHITE LENTICULAR BRAKCET. Its distinct columns, one per line. 7 B
003508 unicode/part1/U+FE19 NormalizationTest.txt ︙␊... Line 14733: PRESENTATION FORM FOR VERTICAL HORIZONTAL ELLIPSIS. Its distinct columns, one per line. 7 B
003509 unicode/part1/U+FE30 NormalizationTest.txt ︰␊.. Line 14734: PRESENTATION FORM FOR VERTICAL TWO DOT LEADER. Its distinct columns, one per line. 6 B
003510 unicode/part1/U+FE31 NormalizationTest.txt ︱␊— Line 14735: PRESENTATION FORM FOR VERTICAL EM DASH. Its distinct columns, one per line. 7 B
003511 unicode/part1/U+FE32 NormalizationTest.txt ︲␊– Line 14736: PRESENTATION FORM FOR VERTICAL EN DASH. Its distinct columns, one per line. 7 B
003512 unicode/part1/U+FE33 NormalizationTest.txt ︳␊_ Line 14737: PRESENTATION FORM FOR VERTICAL LOW LINE. Its distinct columns, one per line. 5 B
003513 unicode/part1/U+FE34 NormalizationTest.txt ︴␊_ Line 14738: PRESENTATION FORM FOR VERTICAL WAVY LOW LINE. Its distinct columns, one per line. 5 B
003514 unicode/part1/U+FE35 NormalizationTest.txt ︵␊( Line 14739: PRESENTATION FORM FOR VERTICAL LEFT PARENTHESIS. Its distinct columns, one per line. 5 B
003515 unicode/part1/U+FE36 NormalizationTest.txt ︶␊) Line 14740: PRESENTATION FORM FOR VERTICAL RIGHT PARENTHESIS. Its distinct columns, one per line. 5 B
003516 unicode/part1/U+FE37 NormalizationTest.txt ︷␊{ Line 14741: PRESENTATION FORM FOR VERTICAL LEFT CURLY BRACKET. Its distinct columns, one per line. 5 B
003517 unicode/part1/U+FE38 NormalizationTest.txt ︸␊} Line 14742: PRESENTATION FORM FOR VERTICAL RIGHT CURLY BRACKET. Its distinct columns, one per line. 5 B
003518 unicode/part1/U+FE39 NormalizationTest.txt ︹␊〔 Line 14743: PRESENTATION FORM FOR VERTICAL LEFT TORTOISE SHELL BRACKET. Its distinct columns, one per line. 7 B
003519 unicode/part1/U+FE3A NormalizationTest.txt ︺␊〕 Line 14744: PRESENTATION FORM FOR VERTICAL RIGHT TORTOISE SHELL BRACKET. Its distinct columns, one per line. 7 B
003520 unicode/part1/U+FE3B NormalizationTest.txt ︻␊【 Line 14745: PRESENTATION FORM FOR VERTICAL LEFT BLACK LENTICULAR BRACKET. Its distinct columns, one per line. 7 B
003521 unicode/part1/U+FE3C NormalizationTest.txt ︼␊】 Line 14746: PRESENTATION FORM FOR VERTICAL RIGHT BLACK LENTICULAR BRACKET. Its distinct columns, one per line. 7 B
003522 unicode/part1/U+FE3D NormalizationTest.txt ︽␊《 Line 14747: PRESENTATION FORM FOR VERTICAL LEFT DOUBLE ANGLE BRACKET. Its distinct columns, one per line. 7 B
003523 unicode/part1/U+FE3E NormalizationTest.txt ︾␊》 Line 14748: PRESENTATION FORM FOR VERTICAL RIGHT DOUBLE ANGLE BRACKET. Its distinct columns, one per line. 7 B
003524 unicode/part1/U+FE3F NormalizationTest.txt ︿␊〈 Line 14749: PRESENTATION FORM FOR VERTICAL LEFT ANGLE BRACKET. Its distinct columns, one per line. 7 B
003525 unicode/part1/U+FE40 NormalizationTest.txt ﹀␊〉 Line 14750: PRESENTATION FORM FOR VERTICAL RIGHT ANGLE BRACKET. Its distinct columns, one per line. 7 B
003526 unicode/part1/U+FE41 NormalizationTest.txt ﹁␊「 Line 14751: PRESENTATION FORM FOR VERTICAL LEFT CORNER BRACKET. Its distinct columns, one per line. 7 B
003527 unicode/part1/U+FE42 NormalizationTest.txt ﹂␊」 Line 14752: PRESENTATION FORM FOR VERTICAL RIGHT CORNER BRACKET. Its distinct columns, one per line. 7 B
003528 unicode/part1/U+FE43 NormalizationTest.txt ﹃␊『 Line 14753: PRESENTATION FORM FOR VERTICAL LEFT WHITE CORNER BRACKET. Its distinct columns, one per line. 7 B
003529 unicode/part1/U+FE44 NormalizationTest.txt ﹄␊』 Line 14754: PRESENTATION FORM FOR VERTICAL RIGHT WHITE CORNER BRACKET. Its distinct columns, one per line. 7 B
003530 unicode/part1/U+FE47 NormalizationTest.txt ﹇␊[ Line 14755: PRESENTATION FORM FOR VERTICAL LEFT SQUARE BRACKET. Its distinct columns, one per line. 5 B
003531 unicode/part1/U+FE48 NormalizationTest.txt ﹈␊] Line 14756: PRESENTATION FORM FOR VERTICAL RIGHT SQUARE BRACKET. Its distinct columns, one per line. 5 B
003532 unicode/part1/U+FE49 NormalizationTest.txt ﹉␊ ̅ Line 14757: DASHED OVERLINE. Its distinct columns, one per line. 7 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.