#602: File.dirname cuts string at wrong index with unicode strings ------------------------------------+--------------------------------------- Reporter: mark.hubbart@… | Owner: vincent.isambart@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: string path dirname unicode encoding utf-8 ------------------------------------+--------------------------------------- Changes (by eloy.de.enige@…): * owner: lsansonetti@… => vincent.isambart@… Comment: String is being worked on. For now, as a workaround, you could use the Cocoa API like: {{{ p = "/αλφα/βετα.txt" puts p.stringByDeletingLastPathComponent # => "/αλφα" }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/602#comment:1> MacRuby <http://macruby.org/>