Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ab19d551e28db6214de6c66aa60d1a777c663c5d
Ticket: 463190ffffffffffffffffffffffffffffffffff
setting tcl_libPath doesn't change encoding search path
User & Date: dgp on 2001-09-20 21:39:01
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    OK, after reading Tcl_GetEncoding(3), my prior comment
    might have slightly missed the mark.  The request here
    is not for access to create a new encoding, which is
    already provided by Tcl_CreateEncoding.
    
    Instead it is access to influence the search path of
    the dynamic loading of encoding files by 
    Tcl_GetEncoding() that is sought.  There is a mechanism
    provided for this as well:  lappend additional
    directories onto the global list variable ::tcl_libPath.
    
    And that is the point...  ah look he's getting it 
    now!  The documented purpose of tcl_libPath is
    to influence the search path of Tcl_GetEncoding(),
    but it doesn't in fact have that influence.  And
    that seems like a bug.  Putting it back...
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"