Overview
| Artifact ID: | 4043a96a2ac3bd061b141d466477617c832be0e0bd159adaa7c2f6f8a5fa6fc3 |
|---|---|
| Ticket: | 3b2a527ed38d5d1ad4de35454f608d11d3149a5b
grapheme.test failures with Unicode 18 |
| User & Date: | jan.nijtmans on 2026-08-26 12:45:59 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
When running the grapheme.test testcases (Tcl current trunk), 4 testcases failes. This is not a bug in Tcl, since Tcl makes use of / depends on utf8proc for this task. Since Unicode 18 is still in beta, it's not possible to draw a conclusion whether the utf8proc implementating is wrong or the Unicode 18 test vectors. This ticket is just meant to track the issue. The failures are: <pre> grapheme.test ==== grapheme-prev-ucd-659.0 ÷ [1.0] VEDIC SIGN JIHVAMULIYA (ConjunctLinkermExtend) × [9.3] DEVANAGARI LETTER KA (LinkingConsonant) ÷ [2.0] FAILED ==== Contents of test case: set text [join $graphemes ""] set l {} set i end while {[set grapheme [grapheme prev $text i]] ne ""} { lappend l $grapheme } lreverse $l ---- Result was: \u1CF5 \u0915 ---- Result should have been (exact matching): \u1CF5\u0915 ==== grapheme-prev-ucd-659.0 FAILED ==== grapheme-prev-ucd-875.0 ÷ [1.0] VEDIC SIGN JIHVAMULIYA (ConjunctLinkermExtend) × [9.3] BENGALI LETTER KA (LinkingConsonant) ÷ [2.0] FAILED ==== Contents of test case: set text [join $graphemes ""] set l {} set i end while {[set grapheme [grapheme prev $text i]] ne ""} { lappend l $grapheme } lreverse $l ---- Result was: \u1CF5 \u0995 ---- Result should have been (exact matching): \u1CF5\u0995 ==== grapheme-prev-ucd-875.0 FAILED ==== grapheme-prev-ucd-876.0 ÷ [1.0] VEDIC SIGN UPADHMANIYA (ConjunctLinkermExtend) × [9.3] BENGALI LETTER PA (LinkingConsonant) ÷ [2.0] FAILED ==== Contents of test case: set text [join $graphemes ""] set l {} set i end while {[set grapheme [grapheme prev $text i]] ne ""} { lappend l $grapheme } lreverse $l ---- Result was: \u1CF6 \u09AA ---- Result should have been (exact matching): \u1CF6\u09AA ==== grapheme-prev-ucd-876.0 FAILED ==== grapheme-prev-ucd-879.0 ÷ [1.0] ZANABAZAR SQUARE CLUSTER-INITIAL LETTER RA (ConjunctLinkermExtend) × [9.3] ZANABAZAR SQUARE LETTER KA (LinkingConsonant) ÷ [2.0] FAILED ==== Contents of test case: set text [join $graphemes ""] set l {} set i end while {[set grapheme [grapheme prev $text i]] ne ""} { lappend l $grapheme } lreverse $l ---- Result was: \U00011A3A \U00011A0B ---- Result should have been (exact matching): \U00011A3A\U00011A0B ==== grapheme-prev-ucd-879.0 FAILED Tests ended at 2026-08-26 14:39:34 CEST all.tcl: Total 41618 Passed 41614 Skipped 0 Failed 4 Sourced 1 Test Files. Files with failing tests: grapheme.test </pre> - foundin changed to: "9.1"
- is_private changed to: "0"
- login: "jan.nijtmans"
- priority changed to: "5 Medium"
- private_contact changed to: "0c50e5320704d174412e57b873d8932de15303e0"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "jan.nijtmans"
- subsystem changed to: "44. UTF-8 Strings"
- title changed to: "grapheme.test failures with Unicode 18"
- type changed to: "Bug"