Overview
| Artifact ID: | 0a3b23d5ecc93da1d658368b950ff28170f3da25 |
|---|---|
| Ticket: | 219210ffffffffffffffffffffffffffffffffff
fcopy does not respect encodings |
| User & Date: | nobody on 2000-10-26 05:03:38 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 3662 Bug Version: 8.2.2 SubmitDate: '1999-11-23' LastModified: '1999-12-07' Severity: SER Status: Assigned Submitter: techsupp ChangedBy: hobbs OS: All FixedDate: '2000-10-25' ClosedDate: '1999-12-06' Name: Nikolai Saoukh set out [open k.txt w] fconfigure $out -encoding koi8-r puts $out "\u0410\u0410" close $out set in [open k.txt r] fconfigure $in -encoding koi8-r set out [open u.txt w] fconfigure $out -encoding utf-8 fcopy $in $out close $in close $out It's not certain whether this is an RFE or bug, as the fcopy man page states that it only pays heed to the -translation option, not to -encoding. This could be a bug, since -encoding came after fcopy was originally written. The work-around is to replace the above fcopy with: puts $out [read $in] although there is no callback capability then. -- 12/07/1999 hobbs - foundin changed to: "obsolete: 8.2.2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "63. (unused)"
- title changed to: "fcopy does not respect encodings"
- type changed to: "Bug"