Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5732821e94fafcdad87d24bdf174a62fd320744d06709813c8e7e4e0a2a731a5
Ticket: 27944a3661a5e409dead945dbc8f9e4a50033e62
Taming test utf-6.88
User & Date: dgp on 2020-04-23 19:43:00
Changes

  1. icomment:
    
    I opened this ticket and put together the work on the
    dgp-27844a3661 branch "to sort out what is expected to happen,
    and how to reconcile that with related needs."
    
    I think I've now taken that branch to its limit. It demonstrates that
    the following two goals are not reconcilable.
    
    1) Extend the function of Tcl_UtfNext() so that it can (as much as
    possible) jump to the valid start of the next character when given
    an argument pointer to the middle of a multi-byte sequence.
    
    2) Retain the coupling between Tcl_UtfNext() and Tcl_UtfToUniChar()
    so that both of them advance the same amount with one call.
    
    I think we've convinced each other that it is not possible to achieve both aims.
    
    It appears we disagree about which aim should take priority.
    
    Fair summary?
    
  2. login: "dgp"
  3. mimetype: "text/plain"