Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1a09c6469a90b8c4f5f7b6f0c227fae4ce6d7cf4
Ticket: 1004065fffffffffffffffffffffffffffffffff
UTF-8 encoding crashes in UCS-4 mode
User & Date: dgp on 2004-08-06 00:23:14
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    
    A crash is definitely a bug; thanks for the report.
    
    That said, your snippet of code is likely
    not doing what you intend.  Each \xHH
    substitution produces one Unicode character,
    not one byte.
    
    As a general rule \xHH substitution should be
    avoided in Tcl scripts.  Use \u instead.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"