Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 49b02f7691c46f13d9d659d1cf5a3bb2600d73ab8401fd51ed93abf6b4dc2951
Ticket: 75ecc0e6cb9899bff0fa9e22a10a76b0c244c0a1
TclInitSubsystems issues: the sporadic lack of encodings
User & Date: serhiy.storchaka on 2026-10-17 07:30:00
Changes

  1. icomment:
    It does not grow the search path, it restores what 9.0 does: init.tcl adds <nowiki>[file join $::tcl_library encoding]</nowiki> to <nowiki>[encoding dirs]</nowiki> if it is not there. TIP 732 ([83e88416ac]) moved that part of init.tcl to InitAutoPathObjCmd(), whose comment still says "The function also adds the encoding subdirectory of tcl_library to the encodings search path if not already present", but the code was not moved. So in 9.1 a tclsh without zipfs whose library is not at the compiled-in place has no encoding directories at all.
    @apnadkarni, was dropping it intended?
    
  2. login: "serhiy.storchaka"
  3. mimetype: "text/x-fossil-wiki"