Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6bc05abc33a90ca7ee386a05761644cf390e6e6238d549b4cfd8d9ec620f1a4f
Ticket: c574e50a3b30e76f6c57bdcf27e043bcd030dbda
CRASH: utf-2.[89] in 8.5 built with TCL_UTF_MAX=4
User & Date: jan.nijtmans on 2020-04-21 14:18:21
Changes

  1. icomment:
    > [E] also has the indexing incompatibility issues that come along with UTF-16
    > getting exposed to interfaces.
    
    Not if the surrogate pairs are counted a 2 characters. So the 4-byte (illegal sequences) must also be counted as 2 characters. And Tcl_UtfNext()/Tcl_UtfPrev() should be needed twice to jump over it. I did it ;-)
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/plain"