[MacRuby] #1452: File.open does not honor 'b' encoding option
#1452: File.open does not honor 'b' encoding option ------------------------------------+--------------------------------------- Reporter: mrada@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ------------------------------------+--------------------------------------- This is being created in order to track an issue that, when fixed, will allow us to remove a patch on rubygems. An example of the problem: {{{ p File.read('/Applications/Calculator.app/Contents/Resources/Calculator.icns', encoding: Encoding::BINARY).encoding }}} I would expect that the file is encoded using the encoding I specified. -- Ticket URL: <http://www.macruby.org/trac/ticket/1452> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby