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

MacRuby ruby-noreply at macosforge.org
Mon Dec 6 17:41:53 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:  new                  
 Priority:  blocker         |   Milestone:  MacRuby 0.8          
Component:  MacRuby         |    Keywords:                       
----------------------------+-----------------------------------------------

Comment(by jazzbox@…):

 You are right, this is working:

 {{{
 $ macruby -e 'p Dir["r*.txt"].first.precomposedStringWithCanonicalMapping
 == "rübe.txt".precomposedStringWithCanonicalMapping'
 true
 }}}

 {{{
 $ macruby -e 'p Dir["r*.txt"].first.precomposedStringWithCanonicalMapping
 == "rübe.txt"'
 true
 }}}

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



More information about the macruby-tickets mailing list