Tcl Library Source Code

View Ticket
Login
2026-11-15
13:36 • Ticket [8ac37e504d] No longer "-encoding binary" in Tcl 9.0 status still Open with 3 other changes artifact: e14bf9f22a user: serhiy.storchaka
13:36 • Ticket [146ae829a9] No longer "-encoding binary" in Tcl 9.0 status still Open with 3 other changes artifact: 84291377ff user: serhiy.storchaka
13:21
Fix [8ac37e504d], [146ae829a9]: -encoding binary is gone in Tcl 9. practcl's snapshot unpacking and doctools::tcl::parse file still used it, so they failed on Tcl 9. Use -translation binary. check-in: c306c66ec1 user: serhiy.storchaka tags: tcl9-encoding-binary
2025-10-07
22:36 • Ticket [8ac37e504d] No longer "-encoding binary" in Tcl 9.0 status still Open with 3 other changes artifact: e77d643f32 user: anonymous
22:35 • New ticket [8ac37e504d]. artifact: e07e214f6e user: anonymous

Ticket UUID: 8ac37e504d129ac257413d89b5bd6c07aefd4719
Title: No longer "-encoding binary" in Tcl 9.0
Type: Bug Version: 2.0
Submitter: anonymous Created on: 2025-10-07 22:35:29
Subsystem: A Category Is Missing Assigned To: hypnotoad
Priority: 5 Medium Severity: Important
Status: Open Last Modified: 2026-11-15 13:36:41
Resolution: None Closed By: nobody
    Closed on:
Description:
As of Tcl 9.0.1 (BAWT) with TclLib 2.0 the part "-encoding binary" is no longer possible.
The (backward compatible) replacement is "-encoding iso8859-1".
Please check and change it in
C:\Tcl\lib\tcllib2.0\practcl\practcl.tcl
line 7676 at character 34, thanks, Thomas [TWu].
User Comments: serhiy.storchaka added on 2026-11-15 13:36:41:

Proposed fix in branch tcl9-encoding-binary: the snapshot unpacking in practcl uses -translation binary. The same branch fixes doctools::tcl::parse ([146ae829a9]). Tests practcl-snapshot-unpack-001 and doctools-tcl-parse-*-12.*.