Overview
| Artifact ID: | a1b0a9e374c69180bf2ab54d983ccc0a2e67d51e |
|---|---|
| Ticket: | 956433ffffffffffffffffffffffffffffffffff
[glob] fails conversion to internal encoding |
| User & Date: | dgp on 2004-05-19 02:46:59 |
Changes
- assignee changed to: "vincentdarley"
- cmimetype changed to: "text/plain"
- comment changed to:
On a Mac OS X system: % encoding system utf-8 % glob * no files matched glob pattern "*" % set s \u00e9 é % string bytelength $s 2 % close [open $s w] % set f [glob *] é % string bytelength $f 3 % binary scan [encoding convertto identity $s] c* bytes; set bytes -61 -87 % binary scan [encoding convertto identity $f] c* bytes; set bytes 101 -52 -127 I start with the character \u00E9 in its 2-byte internal encoding: xC3 xA9 Write a file with that name, and retrieve the file name with [glob] and I get a different representation: x65 xCC x81 which is our internal encoding for \u0065 \u0301 % format %s \u00E9 é % format %s \u0065\u0301 é those outputs look the same in the interactive shell, but not in this browser text entry.
- foundin changed to: "obsolete: 8.5a1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "37. File System"
- title changed to: "[glob] fails conversion to internal encoding"
- type changed to: "Bug"