Overview
| Artifact ID: | b43ba4c4d778629a97682a1a58f00280f667677e3d46f48a75f141c4a409a23b |
|---|---|
| Ticket: | debd088e48998a758f2927b67c132341954428ea
llength split is different from string length |
| User & Date: | kyak on 2021-02-11 18:48:35 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Starting from Tcl 8.6.11, for unicode strings, [llength [split]] is different from [string length]. Here is an example: $ echo 'puts "[info patchlevel] -- [llength [split "\ud83e\udd1d" {}]] -- [string length "\ud83e\udd1d"]"' | tclsh 8.6.10 -- 2 -- 2 $ echo 'puts "[info patchlevel] -- [llength [split "\ud83e\udd1d" {}]] -- [string length "\ud8 3e\udd1d"]"' | tclsh 8.6.11 -- 1 -- 2 - foundin changed to: "8.6.11"
- is_private changed to: "0"
- login: "kyak"
- priority changed to: "5 Medium"
- private_contact changed to: "ccd3c531d3a043e4f116383eb9cb92480447acbc"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "kyak"
- subsystem changed to: "44. UTF-8 Strings"
- title changed to: "llength split is different from string length"
- type changed to: "Bug"