Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5d39e1f47965017f3e18bdd6935485db6fa2387258c1519e775a3c67fc591ea3
Ticket: 53cad613d8a4de166e680f09a6c6399ebddbc17c
TIP 389 implementation makes Tk tests font-4.12 and font-4.15 fail
User & Date: jan.nijtmans on 2018-06-16 13:31:54
Changes

  1. icomment:
    Thanks, François, for noticing this!  I'll have a look. Actually, Tk was already adapted here to match TIP-389, but after that some changes in surrogate handling were added to the Tcl implementation (to make it more robust).   The \ud800 character is a high surrogate, which is not expected in isolation, that's what this test is testing for.  I'm suspecting the compatibility function TkUtfToUniChar(), but I'll have a further look. It's not really a problem, since such a surrogate in isolation is invalid anyway. But at least Tk should react sensibly to it.
    
    Thanks!
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/plain"