From: Daniel Baird Date: 2006-06-27T08:53:38+09:00 Subject: Re: Unicode roadmap? ------=_Part_1198_3631545.1151366016401 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 6/27/06, Austin Ziegler wrote: > > On 6/26/06, Izidor Jerebic wrote: > > Well, tell me what exactly do I get when this code executes: > > > > result = File.open( "file ) { |f| f.read( 1000 ) } > > Aside from a syntax error from your missing quote? ;) > > This would probably be an unencoded String. If you want an encoded > String, you would specify it on the File object either during > construction or afterwards. > > The need for ByteArray is nonexistent. ..or, to put that another way, when you see "unencoded String", feel free to say "ByteArray" in your head. ;D -- Daniel Baird http://danielbaird.com (TiddlyW;nks! :: Whiteboard Koala :: Blog :: Things That Suck) ------=_Part_1198_3631545.1151366016401--