Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fae9349f627d837fed91ef62631ee306b50db629
Ticket: 463190ffffffffffffffffffffffffffffffffff
setting tcl_libPath doesn't change encoding search path
User & Date: vincentdarley on 2004-05-07 02:27:33
Changes

  1. icomment:
    Logged In: YES 
    user_id=32170
    
    Jeff: the Tcl documentation says:
    
    "When \fBTcl_GetEncoding\fR encounters an encoding
    \fIname\fR that has not
    been loaded, it attempts to load an encoding file called
    \fIname\fB.enc\fR
    from the \fBencoding\fR subdirectory of each directory
    specified in the
    library path \fB$tcl_libPath\fR.  If the encoding file
    exists, but is
    malformed, an error message will be left in \fIinterp\fR.
    "
    
    that certainly gives me the expectation that setting this
    var will change the current Tcl encoding path.  That's not
    to say this behaviour is good, or that 'encoding
    path(s)|dirs' is bad, just that Tcl does not follow its
    current documentation.
    
    
    
    
  2. login: "vincentdarley"
  3. mimetype: "text/plain"
  4. username: "vincentdarley"