Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: aba0f93c6f1da68028d7cf22b8ed46cb440152f4cc9b166b711e54d2ee643aee
Ticket: 7f1162a8674cc65c9b72169818badc3186f97678
concatenation does not make usable surrogate pairs
User & Date: jan.nijtmans on 2021-04-12 16:29:14
Changes

  1. icomment:
    OK, let's show the EIAS problem in Tcl 8.6:
    <pre>
    % set x [testbytestring foo\xC3]
    foo
    % set y [testbytestring \xA9zoz]
    ©zoz
    % set z [string replace $y end end o]
    ©zoo
    % puts $x$y
    fooézoz
    % puts $x$z
    fooézoo
    </pre>
    
    So $y and $z only differ in their last character. Appending them to $x gives a totally different answer.
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"