Just incase it got lost in the other thread, I'd like to recommend the
inclusion of a File.binread method.
(Or preferably, File.read_binary)

Trivial Ruby implementation below.  The idea is that this would allow
us to forget about the encoding of a binary blob unless we actually
need to know it (then use File.open), and give us a short and clear
way to express a common need.

class File
  def self.read_binary(file_name)
    File.open(file_name, "rb:BINARY") { |f| f.read }
  end
end

>> File.read_binary("foo.jpg")

I'd love to see this make it into 1.9.1 if possible.

-greg

-- 
Technical Blaag at: http://blog.majesticseacreature.com | Non-tech
stuff at: http://metametta.blogspot.com