From: Matt Greer Date: 2007-07-13T22:12:24+09:00 Subject: Re: convert ASCII to byte an vice versa ------=_Part_36807_28152191.1184332347182 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 7/13/07, chen li wrote: > > Hi all, > > I have a small script as follows. I wonder how I can > change 65 66 67 back to ABC. Try the Integer#chr method, from the docs: int.chr => string Returns a string containing the ASCII character represented by the receiver's value. 65.chr #=> "A" ?a.chr #=> "a" 230.chr #=> "\346" ------=_Part_36807_28152191.1184332347182--