Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 633f84f45112f003a9ab19981ef38fc8d5dd41f46f0003721de4a654b46f5b52
Ticket: 141c6f5621e9c9e881f63fbf28c473955b6adae0
[string length] reports a length of 2 for a single character
User & Date: dgp on 2022-03-07 14:59:08
Changes

  1. closedate changed to: "2459646.12440735"
  2. closer changed to: "dgp"
  3. icomment:
    
    In particular in late Tcl 8.6 patchlevels and in Tcl 8.7 pre-releases,
    [string length] is no longer counting characters, it is counting
    UTF-16 code units.  This is at least controversial.
    
    That said, I think it's been TIP-approved (I'm hazy on the 8.6.* changes).
    It's not out of bounds to complain, and point out problems, possibly
    leading to a counter proposal, but "not a bug" is a fair assessment.
    
  4. login: "dgp"
  5. mimetype: "text/plain"