Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: df0565477ca47a7345bb0efd6d59d63fcfeb796c
Ticket: 3483277fffffffffffffffffffffffffffffffff
Problem with command "string map" in Tcl 8.5
User & Date: dalkunte on 2012-02-03 13:20:58
Changes

  1. icomment:
    Hi Don,
    Thanks for your update.
    
    We are using TCL_EvalFile to evaluate the contents of the TCl script as below.
    
    Tcl_EvalFile( interp, full_path_tcl_script)
    
     File which is passed as a parameter to this Tcl_EvalFile is a ascii file.  When you say “it is the responsibility of the Tcl_*Eval* caller to pass in the (char *) argument "script" a pointer to a character buffer holding your script in Tcl's internal encoding, which is a variant of utf-8.”
    Does that mean the file which is passed to TCL_EvalFile function should be in utf8 format? Please correct me if I am wrong.
    
    Also I am not able to understand why this was working correctly with Tcl version 8.3 and not working with Tcl version 8.5? Are there any encoding related changes done in Tcl version 8.5.  
    
    Thanks
    
    
    
  2. login: "dalkunte"
  3. mimetype: "text/plain"
  4. status changed to: "Open"
  5. username: "dalkunte"