From: joseph collins Date: 2008-06-04T01:15:37+09:00 Subject: Re: how to generate ascii code? --_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,= APL, 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 >=20 >=20 > >=20 > > so the ascii code for the value (ÿ) is 255. so please help me to=20 > > the ascii code. > >=20 > > Regards, > > jose >=20 > I got the ascii code of hexa decimal value using >=20 > value.hex.chr >=20 > I was having hexadecimal string like value =3D "ÿ" and i have take=20 > only the string "ff" from the value so now val=3D"ff" >=20 > now, > puts val.hex.chr >=20 > =3D=3D> 255 >=20 > Thanks for everyone, specially park for your immediate response >=20 > regards, > Jose >=20 > --=20 > Posted via http://www.ruby-forum.com/. >=20 _________________________________________________________________ Now you can invite friends from Facebook and other groups to join you on Wi= ndows Live=99 Messenger. Add now. https://www.invite2messenger.net/im/?source=3DTXT_EML_WLH_AddNow_Now= --_d668f434-3b23-4a4d-b255-78ec6c9855b1_--