Overview
| Artifact ID: | 8dc201f9c89ea1eac01257e9a17afbfaa68f96f2 |
|---|---|
| Ticket: | 3483277fffffffffffffffffffffffffffffffff
Problem with command "string map" in Tcl 8.5 |
| User & Date: | dalkunte on 2012-02-02 16:53:41 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
Hi We are using TCL as an integrated scripting language in our application. But after upgrading TCL version from 8.3 to 8.5 we have started facing problem with the command “string map” below is code where the output of “string map” is incorrect. ------------------------------------------------------- set a "TEST1°TEST2°TEST3°TEST4°TEST5°A-B-C-D-E-F" puts $a #content of the variable a : TEST1°TEST2°TEST3°TEST4°TEST5°A-B-C-D-E-F set a [string map { "-" ";" } $a] puts $a #content of the variable a : TEST1ï¾°TEST2ï¾°TEST3ï¾°TEST4ï¾°TEST5ï¾°A;B;C;D;E;F ----------------------------------------------------------- In the output of "string map" degree sign (°) is getting converted into ï¾°. Similar code was working correctly with Tcl version 8.3. Thanks - foundin changed to: "obsolete: 8.5.10"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dalkunte"
- subsystem changed to: "11. Conversions from String"
- title changed to: "Problem with command "string map" in Tcl 8.5"
- type changed to: "Bug"