Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0f92c4f05c1932d51977a2705601c9307b08c89f
Ticket: 823330ffffffffffffffffffffffffffffffffff
decomposed unicode handling not transparent in glob on OSX
User & Date: vincentdarley on 2003-10-14 10:11:51
Changes

  1. assignee changed to: "das"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    On Saturday, Oct 11, 2003, at 23:41 Australia/Sydney,
    Bernard
    Desgraupes wrote:
    
    > While I was working with the AppleScript mode I
    noticed the following
    > (certainly known but) annoying issue with the [glob]
    command. In order
    > to
    > test filenames with accented letters I have a
    > file named "éèàùî".
    > If I run [glob] over the directory containing this
    file, it comes out
    > as
    > e?e?a?u?i? with AlphaX (just the same with Wish, only
    little squares
    > instead of question marks).
    > It looks like [glob] is not yet correctly
    > implemented on OSX (?):
    
    there is nothing really incorrect about the result you
    get, it's just
    in decomposed unicode, but the glob matches
    sucessfully. The decomposed
    name is strictly equivalent to the composed one...
    
    >  I've heard about some problem with the
    > Finder returning decomposed Unicode names but I'd
    just like to know if
    > there is currently a workaround so that I can handle
    these files.
    
    what do you need to do with these files?
    tcl should handle decomposed filenames fine, the only
    thing that
    doesn't work is [string compare] type operations that
    are not
    decomposed-unicode aware
    
    until somebody (me?) implements unicode
    composition/decomposition in
    tcl, there is not much more you can do unfortunately.
    We could
    potentially add a tcl interface to my unicode
    composition/decomposition
    routines in osxMacTcl.c for use by AlphaTcl in the
    meantime?
    
    
  4. foundin changed to: "obsolete: 8.4.5"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "vincentdarley"
  9. subsystem changed to: "44. UTF-8 Strings"
  10. title changed to:
    decomposed unicode handling not transparent in glob on OSX
    
  11. type changed to: "Bug"