Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 72f23fef7771b2d822edf8f9c1d0bb84f2e4006264ed2aed8f1dfeb4aa88a076
Ticket: 7f1162a8674cc65c9b72169818badc3186f97678
concatenation does not make usable surrogate pairs
User & Date: sebres on 2021-04-12 13:48:36
Changes

  1. icomment:
    Maybe I just understood it wrong, and this is your screen (or result of copy&paste) that interpreted char <code>\0</code> as `À€`?
    With other words, what is result of following code in this version?
    <code><pre style="padding-left:10pt">
    tcl::mathop::eq [testbytestring foo\xc0][testbytestring \x80zoo] [testbytestring foo\xc0\x80zoo]
    </pre></code>
    I really hope it is 1.
    
    Oh, wait, the result of this must be still 7, isn't it?
    <code><pre style="padding-left:10pt">
    % string length [testbytestring foo\xc0\x80zoo]
    7
    </pre></code>
    So I really don't understand this anymore.
    
  2. login: "sebres"
  3. mimetype: "text/x-fossil-wiki"