Hello,
In message "[ruby-core:41578] [ruby-trunk - Bug #5714] Unexpected error of STDIN#read with non-ascii input on Windows XP"
on Dec.10,2011 06:49:55, <luislavena / gmail.com> wrote:
> Category set to build
build?
> Usa, what do you think about attached read_binmode.patch?
Difficult, difficult...
Of course, as Shirosaki-san says, IO#read with length should always
be binary mode.
But if setting binmode once, it's never canceled.
So, I doubt that such implicit mode setting in IO#read is right.
Regards,
--
U.Nakamura <usa / garbagecollect.jp>