Skip to content
Tcl Source Code History Of Ticket 956433ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 956433ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 956433ffffffffffffffffffffffffffffffffff

  1. Ticket change [a1b0a9e374] (rid 109770) by dgp on 2004-05-19 02:46:59:

    1. assignee initialized to: "vincentdarley"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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.
      
    4. foundin initialized to: "obsolete: 8.5a1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "37. File System"
    10. title initialized to: "[glob] fails conversion to internal encoding"
    11. type initialized to: "Bug"
  2. Ticket change [c638e25311] (rid 121731) by dgp on 2004-05-19 20:39:31:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      A worse symptom is that
      [glob f??] and [glob f\u00E9?]
      both fail to return the file.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [754e8aa60b] (rid 105368) by dgp on 2004-05-19 22:19:29:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      oops, changed examples in mid-stream.
      
      I think I meant to complain that
      [glob ?] fails to return the file, but
      I'm not on a system where I can
      verify that.
      
      kbk suggests the answers to this
      issue may lie at:
      
      http://www.unicode.org/reports/tr15/
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [0dadf4162f] (rid 114403) by vincentdarley on 2004-05-19 22:44:11:

    1. assignee changed to: "das"
    2. icomment:
      Logged In: YES 
      user_id=32170
      
      I believe this is a duplicate of bug 823330, which Daniel
      Steffen is the expert on!
      
      
      
    3. login: "vincentdarley"
    4. mimetype: "text/plain"
    5. username: "vincentdarley"
  5. Ticket change [2fad984e00] (rid 93104) by das on 2004-05-19 23:00:10:

    1. icomment:
      Logged In: YES 
      user_id=90580
      
      indeed, this is a syptom of bug 823330: tcl does not 
      know about unicode normalization, in particular how to deal with 
      decomposed unicode, which 
      is the system encoding on Mac OS X, i.e. the encoding 
      used by the posix API to communicate with the 
      filesystem: Composed unicode input to the filesystem will return as 
      decomposed unicode on Mac OS X.
      My proposed solution is for the system encoding on OSX to compose 
      all input before passing it higher up. Unfortunately, composing utf8 
      (as oppposed to utf32) is non trivial in a stream interface as needed 
      for a tcl encoding... My effort to implement this has currently 
      stalled, somebody else is most welcome to have a go; otherwise I'll 
      get back to it at some point, it's on the todo list...
      It might be worthwile for somebody to devise a general solution to 
      how tcl deals with unicode normlizatoin, including all normalization 
      forms, not just NFC and NFD like we need in this context.
      
      
    2. login: "das"
    3. mimetype: "text/plain"
    4. username: "das"
  6. Ticket change [afed910554] (rid 97901) by das on 2005-03-10 18:50:30:

    1. status changed to: "Closed"
  7. Ticket change [a09da4f37e] (rid 96841) by das on 2005-03-10 18:50:31:

    1. closedate changed to: "2005-03-10T11:50:31"
    2. closer changed to: "das"
    3. icomment:
      Logged In: YES 
      user_id=90580
      
      closed as duplicate of bug 823330:
      http://sourceforge.net/tracker/?
      func=detail&aid=823330&group_id=10894&atid=110894
      
      
      
    4. login: "das"
    5. mimetype: "text/plain"
    6. resolution changed to: "Duplicate"
    7. username: "das"