Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 19fbe03eed6a72f224ab603bbc8aaed4a09132cef8a7ced8a135ff21538376a2
Ticket: 7f1162a8674cc65c9b72169818badc3186f97678
concatenation does not make usable surrogate pairs
User & Date: sebres on 2021-04-12 17:07:59
Changes

  1. icomment:
    As for your example - it is not quite correct, your trying to manipulate at not fullfiled string (by string replace)...
    A string manipulations over definitely finished part of string (without unfullfiled surrogate) is possible and was always sane in tcl.
    
    The simple and sole preventive measure you needed to do was to wait in handler for not a surrogate at end of block, to be able to truncate the "buffer" from start.
    
  2. login: "sebres"
  3. mimetype: "text/x-fossil-wiki"