Results 1 to 11 of 11
Like Tree2Likes
  • 1 Post By Junky
  • 1 Post By JosAH

Thread: Translating Binary to HEX and HEX to ASCII characters

  1. #1
    csanch11 is offline Member
    Join Date
    Oct 2013
    Posts
    34
    Rep Power
    0

    Default Translating Binary to HEX and HEX to ASCII characters

    There's a chart for ASCII and their corresponding HEX codes. I got 3 digits when I tried converting the binaries to HEX but the chart only goes up to 7E.
    Attached Thumbnails Attached Thumbnails Translating Binary to HEX and HEX to ASCII characters-image.jpg   Translating Binary to HEX and HEX to ASCII characters-image.jpg  

  2. #2
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,798
    Rep Power
    7

    Default Re: Translating Binary to HEX and HEX to ASCII characters

    Thanks for letting us know but I'm sure we could have looked that up for ourselves. Do you have a question?

  3. #3
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,519
    Blog Entries
    7
    Rep Power
    20

    Default Re: Translating Binary to HEX and HEX to ASCII characters

    The decimal number (67) scribbled next to the entry 'A 41' isn't correct.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  4. #4
    csanch11 is offline Member
    Join Date
    Oct 2013
    Posts
    34
    Rep Power
    0

    Default Re: Translating Binary to HEX and HEX to ASCII characters

    I know I forgot to erase that... My question is what ASCII character does the hex 615 and 611 translate to?

  5. #5
    csanch11 is offline Member
    Join Date
    Oct 2013
    Posts
    34
    Rep Power
    0

    Default Re: Translating Binary to HEX and HEX to ASCII characters

    Well it's better to have it right infront of you instead of looking for it

  6. #6
    gimbal2 is online now Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,995
    Rep Power
    5

    Default Re: Translating Binary to HEX and HEX to ASCII characters

    None. Its far beyond the ASCII range.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  7. #7
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,798
    Rep Power
    7

    Default Re: Translating Binary to HEX and HEX to ASCII characters

    As shown above 615 and 611 and not the correct hex values because 15 and 11 and not valid hex values. In hex 15 = F and 11 = B. Therefore the correct values are 6F and 6B.

  8. #8
    gimbal2 is online now Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,995
    Rep Power
    5

    Default Re: Translating Binary to HEX and HEX to ASCII characters

    I wish the OP would have drawn that conclusion himself. Another learning moment lost - if the results don't make sense, perhaps they're wrong and need to be redone. Oh well.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  9. #9
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,798
    Rep Power
    7

    Default Re: Translating Binary to HEX and HEX to ASCII characters

    "learn"

    You wash your mouth out young man!
    csanch11 likes this.

  10. #10
    gimbal2 is online now Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,995
    Rep Power
    5

    Default Re: Translating Binary to HEX and HEX to ASCII characters

    Quote Originally Posted by Junky View Post
    "learn"

    You wash your mouth out young man!
    Rather my throat, so I can say it even clearer. *gets on a soap box* ONE MUST LEARN, THINK AND STUDY!
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  11. #11
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,519
    Blog Entries
    7
    Rep Power
    20

    Default Re: Translating Binary to HEX and HEX to ASCII characters

    Quote Originally Posted by csanch11 View Post
    I know I forgot to erase that... My question is what ASCII character does the hex 615 and 611 translate to?
    Make that 6F and 6B ...

    kind regards,

    Jos
    csanch11 likes this.
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. Displaying ASCII Characters
    By abi in forum New To Java
    Replies: 8
    Last Post: 02-20-2013, 05:10 PM
  2. Non-ASCII Characters
    By AJArmstron@aol.com in forum New To Java
    Replies: 6
    Last Post: 05-06-2010, 10:16 PM
  3. I need help with ascii characters
    By Grandon in forum Eclipse
    Replies: 17
    Last Post: 11-08-2008, 02:12 AM
  4. Printing ASCII values of characters
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-21-2008, 04:36 PM

Posting Permissions

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