From: Markus Fischer Date: 2011-04-20T02:12:35+09:00 Subject: Re: Telnet "More?" On 19.04.2011 18:40, mouser wrote: > On 19-Apr-2011, Brian Candler wrote: > >> Of course, if the question is really "why does Microsoft hang with a >> 'More?' prompt when dir is issued a second time", then this isn't really >> the right solution. > > But I found that his code *does* work in 1.8.7 but not in 1.9.2, so it's not > just Microsoft's fault. It looked to me to be a difference in character > encodings between the two versions of Ruby causing some issues with regex > matching in the preprocess instance method. Is it maybe a similar issue I faced with Sinatra recently [1]? In 1.9 strings coming over network are in ASCII-8BIT usually and you've to convert them to char charset to work with them. HTH, - Markus [1] http://www.ruby-forum.com/topic/476119#989522