Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Dirk Bruere at NeoPax Newsgroups: comp.lang.java.programmer Subject: char to decimal Date: Thu, 05 May 2011 01:43:51 +0100 Organization: Dirk Bruere at Neopax Lines: 11 Message-ID: <92ea64F3avU1@mid.individual.net> Reply-To: dirk.bruere@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net 45Njlrs74me5lisATNQwuwRB3DASbUIbi32FftQvs+PJt08lmp Cancel-Lock: sha1:F9yu79RGeO/tl7bUKmlY/BA6beU= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:3526 IU need to take a char in UTF-8 and convert it to an ascii int (decimal) eg "a" = 97 which is then converted to the string "97" Is there a simple way to do this? -- Dirk http://www.neopax.com/technomage/ - My new book - Magick and Technology