[MacRuby] #1452: File.open does not honor 'b' encoding option
MacRuby
ruby-noreply at macosforge.org
Thu Feb 9 20:48:36 PST 2012
#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/>
More information about the macruby-tickets
mailing list