> Of course you don't need to require cgi. > Just define your own method and paste code from cgi.rb > > Regards, > Park Heesob Dear Park, Thanks for your immediate response. Actually i need to generate the ascii code of the hexadecimal value i got. Suppose i have a string value = "ÿ", please help me to generate the ascii code of the above hexadecimal value. please look at the following link, http://www.ascii.cl/ so the ascii code for the value (ÿ) is 255. so please help me to the ascii code. Regards, jose -- Posted via http://www.ruby-forum.com/.