[MacRuby-devel] [MacRuby] #602: File.dirname cuts string at wrong index with unicode strings

MacRuby ruby-noreply at macosforge.org
Wed Mar 24 17:29:36 PDT 2010


#602: File.dirname cuts string at wrong index with unicode strings
--------------------------------------------------------+-------------------
 Reporter:  mark.hubbart@…                              |        Owner:  vincent.isambart@…        
     Type:  defect                                      |       Status:  closed                    
 Priority:  major                                       |    Milestone:  MacRuby 0.6               
Component:  MacRuby                                     |   Resolution:  fixed                     
 Keywords:  string path dirname unicode encoding utf-8  |  
--------------------------------------------------------+-------------------
Changes (by lsansonetti@…):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  => MacRuby 0.6


Comment:

 Seems to be fixed in trunk.

 {{{
 $ ./miniruby -e 'p File.dirname "/αλφα/βετα.txt"'
 "/αλφα"
 }}}

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



More information about the MacRuby-devel mailing list