Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fa313cc1cc4cc882a5634ec3d5e1c7e38d90f65ebfb05e5f6c4eff3df603b342
Ticket: 22324bcbdfdeedb511eed5a9447683ab96edfef4
string reverse is broken in 8.6.11
User & Date: jan.nijtmans on 2021-02-12 17:42:05
Changes

  1. assignee changed to: "jan.nijtmans"
  2. foundin changed to: "8.6"
  3. icomment:
    Yep, this is a known bug, since "string reverse" reverses the surrogates resulting in invalid characters. It has been this way since 8.6.0 (most likely 8.5 as well), so it isn't a regression between 8.6.10/8.6.11 (therefore changed "Version" to "8.6". I think 8.7 still has the same bug as well. It's fixed in Tcl 9.0
    
    Some people consider changing the result of existing commands in a patch release (see also [debd088e48]) a bug, so we should be careful when fixing this in 8.6.
    
    Are you willing to supply a patch?
    
  4. login: "jan.nijtmans"
  5. mimetype: "text/x-fossil-wiki"