Overview
| Artifact ID: | 36d519a7b1dd8594083cde3bff94eaa5656bc9d21ce8f7ae480e6c7eb4724e63 |
|---|---|
| Ticket: | debd088e48998a758f2927b67c132341954428ea
llength split is different from string length |
| User & Date: | kyak on 2021-02-11 18:49:45 |
Changes
- 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 "\ud83e\udd1d"]"' | tclsh 8.6.11 -- 1 -- 2 - login: "kyak"
- mimetype: "text/plain"