Hello, In message "[ruby-core:41500] [ruby-trunk - Bug #5714] Unexpected error of STDIN#read with non-ascii input on Windows XP" on Dec.06,2011 15:57:36, <phasis / gmail.com> wrote: > I guess this issue is due to a bug of _read function of Microsoft Runtime library. agree. (To say strictly, Win32 API has a bug and MSVC runtime is not coping with it.) > Here is a patch for workaround. This patch may cause newline code problem. On my idea, for example, throw away XP :) Regards, -- U.Nakamura <usa / garbagecollect.jp>