Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bf231e777348f617d3c069b0cf06f4b152f7e2eacaae20e41a19c32a47f968a9
Ticket: 31aa44375de2c87ecb1361b15ca0102d831ad155
Tcl_NumUtfChars regression in default 8.6 build
User & Date: jan.nijtmans on 2020-04-06 08:02:32
Changes

  1. icomment:
    So, concluding: the main change you don't agree with is this one:
    
    [https://core.tcl-lang.org/tcl/info/aed6634d2ccf2107]
    
    (there were later commits, refining this, but this was the main one)
    
    Well, I created a "bug-31aa44375d" branch, which basically reverts this commit. It means that internal 4-byte UTF-8 sequences (however hard to generate those, they are still officially "invalid") are handled as 4 separate bytes when stepping over it.
    
    Since this change only involved invalid 4-byte sequences (apart from the bug in Tcl_UtfCharComplete() you found, which is now fixed) I didn't think it needed a TIP.
    
    So far, let's see what Travis thinks of it.
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"