Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 09dafc2fe6a97d33acfe64801c2efc1ad96c5ec8adfacb169effe1be1eea8902
Ticket: 0d61d3a2bb905178694d6cde8147039974600274
Tcl interprets two adjacent surrogate code points as a character encoded using UTF-16
User & Date: pooryorick on 2021-03-10 21:57:58
Changes

  1. closedate changed to: "2459284.41526399"
  2. icomment:
    I just read the proposal agaiin, and realized it contains this:
    
    One exception to this has to be made. When using the escace sequence \uD800\uDC00, so a valid combination of an upper and a lower surrogate, in a script, there is no harm in translating that to the intended Unicode code point. In Tcl 8.6 and 8.7 there is no other way than that for specifying Emoji. Allowing this, provides a upgrade path for existing scripts handling Emoji. Starting with Tcl 8.7, the "\UXXXXXX" escape sequence should be used for this.
    
    Such and exception ruins everything and brings us back to square one, where it isn't possible to compose a string of an arbitrary sequence of code points.  This is too high a price to pay for the ability to enter smiley faces.
    
  3. login: "pooryorick"
  4. mimetype: "text/plain"
  5. resolution changed to: "None"