From: dare ruby Date: 2008-06-03T20:21:49+09:00 Subject: Re: how to generate ascii code? > > 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/.