[MacRuby] #1028: Strings generated by a directory listing of files with Unicode chars in name cannot be compared

MacRuby ruby-noreply at macosforge.org
Wed Dec 8 00:57:41 PST 2010


#1028: Strings generated by a directory listing of files with Unicode chars in
name cannot be compared
----------------------------+-----------------------------------------------
 Reporter:  jazzbox@…       |        Owner:  lsansonetti@…        
     Type:  defect          |       Status:  closed               
 Priority:  blocker         |    Milestone:  MacRuby 0.8          
Component:  MacRuby         |   Resolution:  fixed                
 Keywords:                  |  
----------------------------+-----------------------------------------------

Comment(by jazzbox@…):

 Thanks for fixing!

 The system call is also concerned by it:

 {{{
 $ macruby -e 'p `ls r*`.chars.to_a'
 ["r", "u", "̈", "b", "e", ".", "t", "x", "t", "\n"]
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1028#comment:6>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list