Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: eaaede2d91cc21d10ab3339e1335aa4d48f3f3edb08961f6dcaa98d521427ecc
Ticket: 1b1f5f0b53e243d444628c8f414ea9664b5be44f
Tcl_UtfNext incompatibility in Tcl 8.6.10
User & Date: dgp on 2020-04-17 03:30:08
Changes

  1. icomment:
    
    The documentation for Tcl_UtfAtIndex(index) has always described it
    to be "...equivalent to calling Tcl_UtfNext index times."
    
    When Tcl_UtfNext was changed so that a single call could step over a
    four-byte sequence, but Tcl_UtfAtIndex counts indices as if each one
    labels a UCS-2 code unit in a UTF-16 representation, that guarantee was
    broken.
    
  2. login: "dgp"
  3. mimetype: "text/plain"