Overview
| Artifact ID: | c7124dc730743f6dec306deb082e86c4b4f50137 |
|---|---|
| Ticket: | 1306162fffffffffffffffffffffffffffffffff
some args turned into garbages on cp932 |
| User & Date: | nobody on 2005-09-27 19:25:40 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
ActiveTcl8.4.11/Windows2000 SP4 Japanese(system encoding is cp932) test.tcl puts $args and on command line >tclsh test.tcl 江戸 then I got 構]戸([lindex $args 0] was 構]戸). 江戸 is 0x8D 0x5D 0x8C 0xCB. 構]戸 is 0x8D 0x5C 0x5D 0x8C 0xCB. cp932/shiftjis encoding has 0x5B, 0x5D, 0x7B, 0x7D ("[", "]", "{" and "}")in a 2byte character. so it looks for me that we should encode args to utf-8 one by one first, and then create args list in Tcl_Main. thanks - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "08. Environment Variables"
- title changed to: "some args turned into garbages on cp932"
- type changed to: "Bug"