--_d668f434-3b23-4a4d-b255-78ec6c9855b1_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable What is the best book for an experienced programmer (Perl, C#, VisualBasic,PL, A+, Assembler) to use to jump into Ruby? Joe > Date: Tue, 3 Jun 2008 20:21:49 +0900 > From: martin / angleritech.com > Subject: Re: how to generate ascii code? > To: ruby-talk / ruby-lang.org > > > > > > so the ascii code for the value (ÿ) is 255. so please help me to > > the ascii code. > > > > Regards, > > jose > > I got the ascii code of hexa decimal value using > > value.hex.chr > > I was having hexadecimal string like value = "ÿ" and i have take > only the string "ff" from the value so now val="ff" > > now, > puts val.hex.chr > > ==> 255 > > Thanks for everyone, specially park for your immediate response > > regards, > Jose > > -- > Posted via http://www.ruby-forum.com/. > _________________________________________________________________ Now you can invite friends from Facebook and other groups to join you on Windows LiveMessenger. Add now. https://www.invite2messenger.net/im/?source=TXT_EML_WLH_AddNow_Now-_d668f434-3b23-4a4d-b255-78ec6c9855b1_--