Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c768bb4b108032d8b25ce8c1131cce394558a7ac
Ticket: 411825ffffffffffffffffffffffffffffffffff
Passing list w/UTF-8 from C can fail
User & Date: dgp on 2001-09-18 23:17:50
Changes

  1. closedate changed to: "2001-09-18T16:17:50"
  2. closer changed to: "dgp"
  3. icomment:
    Logged In: YES 
    user_id=80530
    
    Self-explanatory and revealing.  I think you're missing
    the point, Jeff.  Adrian's [sendCharList] command
    is trying to return the result
    
    [list \u5420 \u5320 \u9760 \u7d20]
    
    but it's failing because Tcl_AppendElement is
    mangling his UTF-8 characters that he has
    encoded "by hand".
    
    If I can manage it, I'll post a Tcl script that
    demos the bug.  I think such a script is possible.
    Tcl_AppendElement calls haven't been entirely banished
    from the Tcl source code.
    
    
  4. login: "dgp"
  5. mimetype: "text/plain"
  6. username: "dgp"