Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8c36a8c29da4f5cfea8379898f8fe6981afedcba
Ticket: 1004065fffffffffffffffffffffffffffffffff
UTF-8 encoding crashes in UCS-4 mode
User & Date: loewis on 2004-08-06 00:50:21
Changes

  1. icomment:
    Logged In: YES 
    user_id=21627
    
    I believe it does what I want to do: explicitly invoke
    decoding of an UTF-8 encoded string. I hope that the string
    I specify contains four characters, which is then
    interpreted as an octet string of four octets when passed to
    "encoding convertfrom". This, in turn, should generate a
    string with a single character.
    
    Using the \u form is not possible, since it only supports
    characters with numeric values up to U+FFFF. However, the
    character above is U+0001D6FF, MATHEMATICAL SANS-SERIF BOLD
    ITALIC SMALL Z. Other languages support a \U notation for
    non-BMP characters. Apparently, Tcl doesn't (which is not
    really a problem if you could get the character by decoding
    it from UTF-8).
    
    
  2. login: "loewis"
  3. mimetype: "text/plain"
  4. username: "loewis"