From: "U.Nakamura" Date: 2011-12-12T11:42:53+09:00 Subject: [ruby-core:41601] Re: [ruby-trunk - Bug #5714] Unexpected error of STDIN#read with non-ascii input on Windows XP 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, 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