Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c8e8e806f6306d9c4468a73f4a534e3ab07ddf23b1e1c3ade4141c10dcd0dcaf
Ticket: 27944a3661a5e409dead945dbc8f9e4a50033e62
Taming test utf-6.88
User & Date: jan.nijtmans on 2020-04-23 20:17:28
Changes

  1. icomment:
    It also means that in Tcl8.7, given TIP #389 and #542, the function Tcl_UtfToUniChar() got additional functionality to handle surrogates. It's impossible to keep the tight coupling, as in 8.5 and 8.6 currently. So, forwarding the improvements, handling overflow/underflow checks in Tcl_UtfNext()/Tcl_UtfPrev() has to be done very carefully.   Replacing Tcl_UtfToUniChar() with Tcl_UtfNext() there in random places, is really opening a can of worms.
    
    For 8.5 and 8.6 I see no other way that keep the tight coupling as you describe.
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/plain"