Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: de4882c638a4b1d1e2d2221c2d5df79ebd9af53062670ed466199a9e8fa6d4df
Ticket: 11ae2be95dac941790db43dcfb265f8586072cd8
tip-389 branch: string range errors with code points greater than U+FFFF
User & Date: dgp on 2018-01-10 15:54:11
Changes

  1. icomment:
    
    Aarrggh. used the wrong number of 0's in an earlier comment.
    
    lets try again....
    
    % string range a\U100000b 0 0
    a
    % string range a\U100000b 1 1
    % string range a\U100000b 2 2
    st
    % string range a\U100000b 3 3
    b
    
    Ok, that's a somewhat different kettle of fish.
    I thought we were getting just wrong answers.
    
    Instead it's a more subtle issue of the "two surrogates"
    instead of "one Unicode codepoint" leaking through the
    abstraction.  This isn't ideal, but might be the tradeoff
    that's in place.
    
    Sorry about the botched demo.
    
  2. login: "dgp"
  3. mimetype: "text/plain"