Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-10-22
17:19 • Ticket [3016135fff] traceback using clock format with locale of he_IL status... artifact: aa0ef77d6d user: serhiy.storchaka
2026-10-17
07:25 • Closed ticket [3016135fff]. artifact: ddd57aae43 user: serhiy.storchaka
07:22
Fix [3016135fff]: traceback using clock format with locale of he_IL check-in: 313539c373 user: serhiy.storchaka tags: core-9-0-branch
07:19
Fix [3016135fff]: traceback using clock format with locale of he_IL check-in: f3d8c6e911 user: serhiy.storchaka tags: trunk, main
06:47 • Ticket [3016135fff] traceback using clock format with locale of he_IL status... artifact: 339db4e559 user: jan.nijtmans
2026-10-16
21:59 • Ticket [58bae89897] he locale: BCE and CE era names are swapped status still... artifact: 7d4ef4cd4a user: serhiy.storchaka
21:59 • Ticket [3016135fff] traceback using clock format with locale of he_IL status... artifact: e5242f3c2a user: serhiy.storchaka
21:55
Fix [3016135fff] again: escape the quote in the he.msg era names, which [a6c8a2df48] turned into a b... closed check-in: e359a46a3b user: serhiy.storchaka tags: clock-he-msg-quote
2010-06-16
17:43 • Ticket [3016135fff] traceback using clock format with locale of he_IL status... artifact: 5c7e26feab user: nijtmans
2010-06-14
20:37 • New ticket [3016135fff]. artifact: 33033f41ca user: karll

traceback using clock format with locale of he_IL

Closed / Fixed3016135fffffffffffffffffffffffffffffffffCreated 16 years agoUpdated 41 days ago
Descriptionplain2010-06-14 20:37:54
clock format [clock seconds] -locale he_IL

...will result in a "extra characters after close-quote" traceback, to wit:

extra characters after close-quote
    while executing
"::msgcat::mcset he BCE "\u05dc\u05e1\u05d4"\u05e0"
    ::msgcat::mcset he CE "\u05dc\u05e4\u05e1\u05d4"\u05e0"
    ::msgcat::mcset he DATE_FORMAT "%d/..."
    (in namespace eval "::tcl::clock" script line 6)
    invoked from within
"namespace eval ::tcl::clock {
    ::msgcat::mcset he DAYS_OF_WEEK_ABBREV [list \
        "\u05d0"\
        "\u05d1"\
        "\u05d2"\
        "\u05d3..."
    (file "/usr/local/lib/tcl8.5/msgs/he.msg" line 2)

Lines 47 and 48 of the file he.msg (with a comment at the top saying created by tools/loadICU.tcl -- do not edit) have an embedded quote that causes Tcl parsing to fail.  The offending lines are:
    ::msgcat::mcset he BCE "\u05dc\u05e1\u05d4"\u05e0"
    ::msgcat::mcset he CE "\u05dc\u05e4\u05e1\u05d4"\u05e0"
Referenced by4
  • 313539c373Fix [3016135fff]: traceback using clock format with locale of he_IL check-in2026-10-17 07:22:20
  • f3d8c6e911Fix [3016135fff]: traceback using clock format with locale of he_IL check-in2026-10-17 07:19:58
  • 7d4ef4cd4aTicket [58bae89897] he locale: BCE and CE era names are swapped status still Open with 3 other changes ticket2026-10-16 21:59:40
  • e359a46a3bFix [3016135fff] again: escape the quote in the he.msg era names, which [a6c8a2df48] turned into a bare quote, so that [clock format -locale he] failed with "extra characters after close-quote". check-in2026-10-16 21:55:09
nijtmansplain2010-06-16 17:43:59
Fixed in HEAD and 8.5 branch.

I didn't re-generate the message files using the latest ICU, just
manually fixed what the modified backslashify proc would
have generated. Therefore, leaving open for Kevin to
decide what to do.
serhiy.storchakawiki2026-10-16 21:59:40

Regression in 9.0: [a6c8a2df48] turned the escaped quote in the he.msg era names into a bare quote, so [clock format ... -locale he] fails again with "extra characters after close-quote". 8.6 is not affected. Proposed fix in branch clock-he-msg-quote, test clock-71.1.

jan.nijtmanswiki2026-10-17 06:47:04

+1

Please go ahead

serhiy.storchakawiki2026-10-17 07:25:45

Merged into main in [f3d8c6e911] and into 9.0 in [313539c373].

serhiy.storchaka Ticket [3016135fff]: 3 changes [History diff]2026-10-22 17:19:27
Log in (anonymous is fine) to add a comment.