Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7c5b77cb53188614d3b53984b182c51c7b8f5d401dc29d550aa1c2487d942e06
Ticket: 87b69745be15c2816574ec415dfe2c3c407cc5d6
interp creation resets encoding directory search path
User & Date: apnadkarni on 2025-08-25 23:39:10
Changes

  1. closedate changed to: "2460913.4855415"
  2. closer changed to: "apnadkarni"
  3. icomment:
    As I mentioned on the online meet, I had the feeling Don having reported this with an earlier commit as well. Found it way back in 2023 - https://core.tcl-lang.org/tcl/tktview/894e11d7f73023089a8f. Though on the core-8-branch, essentially the same issue with outdated encodings being found. Not that it matters, but I think this issue has existed for some time and triggers under some specific circumstances.
    
    FWIW, I really do not like Tcl's propensity of "searching" for file locations, whether at build time (headers, libraries), during test, or runtime (scripts, encodings). The current error is an example but not the only one. Many users also run into this issue, finding the wrong headers or libraries while trying to build Tcl.
    
    
    IMO Tcl should never be searching and randomly picking up something that *might* be the right file(s). Look in a fixed location or if not found there have the user specify the location via a configure option, environment variable etc.
    
  4. login: "apnadkarni"
  5. mimetype: "text/plain"