Issue #3228 has been updated by Yusuke Endoh.

Status changed from Open to Rejected

Hi,

When you specify byte size to File#read, it reads file in binary
mode.  IOW, File.read('a', File.size('a')) is identical to
File.binread('a').

In general, when IO methods handles byte size, they performs in
binary mode.  As I recall, akr told me this fact.

-- 
Yusuke Endoh <mame / tsg.ne.jp>
----------------------------------------
http://redmine.ruby-lang.org/issues/show/3228

----------------------------------------
http://redmine.ruby-lang.org