Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9c489c19030279b6df25c4eed82924f9f9596948
Ticket: 3483277fffffffffffffffffffffffffffffffff
Problem with command "string map" in Tcl 8.5
User & Date: dgp on 2012-02-03 00:56:47
Changes

  1. icomment:
    Reading again, you say you use Tcl as an "integrated
    scripting language" which suggests the commands above
    may be reaching the interpreter via a call into the Tcl library
    like
    
        Tcl_Eval(interp, script);
    
    or any of the other routines in the Tcl*Eval* family.
    
    In that case 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.  The Tcl routine
    Tcl_ExternalToUtfDString() is usually a useful tool in getting
    that done properly.
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"