Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3060cc90b3c247a2ed74dbed1ce3477dc4ff97f3bc52a9f26a203cef6638e380
Ticket: 1b1f5f0b53e243d444628c8f414ea9664b5be44f
Tcl_UtfNext incompatibility in Tcl 8.6.10
User & Date: jan.nijtmans on 2020-04-05 21:07:24
Changes

  1. icomment:
    I think the documentation should be adapted, explaining why 4-byte sequences are still considered "invalid" in Tcl 8.6, but still are handled internally as if they are formed by 2 surrogates ....  I'll work on that.
    
    Tcl_UtfNext() stepping over 4 bytes is "least surprising" behavior. I don't see how it could cause a problem, given that 4-byte UTF-8 sequences still are "illegal" in 8.6. Stepping over individual bytes (as older Tcl 8.6 releases do) is not usefull behavior at all, I think the complaints on that are valid, even though it - indeed - doesn't match the current documentation.
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/plain"