Results 1 to 3 of 3
  1. #1
    pheonix is offline Member
    Join Date
    Apr 2008
    Rep Power

    Default Converting to ASCII and vice-versa

    Hi guys,

    It has been a while since I logged on. Anyway, I wanted to a ask a simple question (I just forgot how to do it).

    When writing a string or a word or anything. How can I program java to convert the into ASCII and vice-versa.


  2. #2
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Rep Power

    Default let string class do it.

    basically, we let the java engine do that.

    there are several file writers that do the conversion, and as well there are likely library calls that get into this but I gave up on it totally when I found what is called Unihan - I just went to doing new Integer( byte + bias ) to get supposedly unsigned byte operations and decided to let character conversion routines stay in the slayer hands of a 007 movie I saw a few nights ago.

    In that movie, a maniacal media mogul goes throught a somewhat repetitive world domino council or somehting that cannot be fathomed by anyone.

    Kept reminding me of Unihan and associated conversion issues.....

    If people think I am Mad Dog 20-20, I have nothing on Unihan. Absolutely nothing.
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

  3. #3
    pheonix is offline Member
    Join Date
    Apr 2008
    Rep Power


    Ya I know the engine do that, but the problem is. I want to see it :P .. I remember something.. but its too vague so I don't really remeber it. I kinda blocked it out. I kinda wanna write a String and want it to get converted to ASCII and I want to see it's output. I just don't remember how to use the String that way.

Similar Threads

  1. ASCII to EBCDIC conversion
    By satish kumar in forum Advanced Java
    Replies: 3
    Last Post: 06-14-2013, 01:50 PM
  2. Replies: 0
    Last Post: 04-07-2008, 07:44 AM
  3. Getting ASCII codes of character
    By gapper in forum New To Java
    Replies: 1
    Last Post: 02-02-2008, 09:42 AM
  4. Document conversion PDF to MS doc and vice versa
    By abintoms in forum New To Java
    Replies: 1
    Last Post: 08-08-2007, 12:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts