Alphabet from binary

  • Thread starter Thread starter moonraker
  • Start date Start date
M

moonraker

Hi, could someone explain "basically" how binary is turned into alphabet.



i.e, what binary code is used for the letter "A","B" etc.
 
moonraker said:
Hi, could someone explain "basically" how binary is turned into alphabet.

i.e, what binary code is used for the letter "A","B" etc.

My favorite for this, was to use the "man ascii" command on
a Unix workstation. The following web page shows you the
nice table they offered in there.

http://www.manpagez.com/man/7/ascii/

My favorite table was the hexadecimal one, where you have
two characters which use 0123456789ABCDEF as the possible
characters. 9E hex = 1001 1110 binary. So even though
there isn't a binary table on that web page, you can easily
convert the contents of the hexadecimal table and get the
job done. I just find the table a bit easier to understand
in that form. For example, you can see how "A" and "a" differ
in one bit position. 0x41 is "A" and 0x61 is "a". In binary,
that would be 0100 0001 is "A" and 0110 0001 is "a".

Since the ASCII table values span only 128 possible values,
they fit within 7 bits of the byte.

The space isn't wasted though, because there are plenty
of other encodings. On this web page, you can see some
"extended ASCII" codes.

http://www.idevelopment.info/data/Programming/ascii_table/PROGRAMMING_ascii_table.shtml

Paul
 
LOVE IT!!!!! and I LOVE YOU!!!!!!!


Paul said:
My favorite for this, was to use the "man ascii" command on
a Unix workstation. The following web page shows you the
nice table they offered in there.

http://www.manpagez.com/man/7/ascii/

My favorite table was the hexadecimal one, where you have
two characters which use 0123456789ABCDEF as the possible
characters. 9E hex = 1001 1110 binary. So even though
there isn't a binary table on that web page, you can easily
convert the contents of the hexadecimal table and get the
job done. I just find the table a bit easier to understand
in that form. For example, you can see how "A" and "a" differ
in one bit position. 0x41 is "A" and 0x61 is "a". In binary,
that would be 0100 0001 is "A" and 0110 0001 is "a".

Since the ASCII table values span only 128 possible values,
they fit within 7 bits of the byte.

The space isn't wasted though, because there are plenty
of other encodings. On this web page, you can see some
"extended ASCII" codes.

http://www.idevelopment.info/data/Programming/ascii_table/PROGRAMMING_ascii_table.shtml

Paul
 
moonraker said:
Hi, could someone explain "basically" how binary is turned into
alphabet.


i.e, what binary code is used for the letter "A","B" etc.

Use Window's Character Map. The hex value for the character you click is at
the bottom left.

--

dadiOH
____________________________

dadiOH's dandies v3.06...
....a help file of info about MP3s, recording from
LP/cassette and tips & tricks on this and that.
Get it at http://mysite.verizon.net/xico
 
Hi, could someone explain "basically" how binary is turned into alphabet.



i.e, what binary code is used for the letter "A","B" etc.


Two points:

1. Several people have already pointed you to web sites that give you
the specific coding structure.

2. It didn't have to be done the way it was done. A byte has eight
bits, so it's a binary number from 0 to 255. Any coding scheme at all
could have been used to create correspondences between the 256 binary
numbers on the one hand and the alphabet, punctuation marks etc. on
the other hand.
 
Two points:

1. Several people have already pointed you to web sites that give you
the specific coding structure.

2. It didn't have to be done the way it was done. A byte has eight
bits, so it's a binary number from 0 to 255. Any coding scheme at all
could have been used to create correspondences between the 256 binary
numbers on the one hand and the alphabet, punctuation marks etc. on
the other hand.

Let's at least throw in a tidbit to whet his appetite and get him started,
Ken.
"A" is 41H in ASCII. :-)
 
That's because IBM uses EBCDIC.
I also recall that EBCDIC is an 8 bit code, and ASCII is (strictly speaking)
a 7 bit code (i.e., the upper 127 possible characters of 80-FF used in the 8
bit (one byte) words were not very standarized, as I recall)
 
Unknown said:
'A' is C1H on most IBM machines.

C1H is "A" in EBCDIC, not ASCII. EBCDIC is used mostly on IBM mainframe
and midrange computers (which, I guess, are "most IBM machines" since
IBM sold its PC business to Lenovo).
 
Back
Top