Alphanumeric Codes | ASCII code | EBCDIC Code | UNICODE

What Is Alphanumeric Code
💡
Key learnings:
  • Alphanumeric Codes Definition: Alphanumeric codes are binary systems used to represent letters, numbers, and symbols in a format that computers can understand.
  • ASCII: A 7-bit code that encodes 128 unique symbols, illustrating basic English characters and control codes.
  • EBCDIC Usage: Developed by IBM, EBCDIC is an 8-bit code used primarily in older IBM computers, encoding 256 distinct characters.
  • UNICODE Advantages: Unicode supports over a million unique characters, making it essential for global digital communication across various platforms and devices.
  • Evolution of Codes: Starting from Hollerith code to modern Unicode, alphanumeric codes have significantly evolved to meet the expanding needs of global data interchange.

What is Alphanumeric Code?

Alphanumeric codes are character-encoding conventions that represent letters, numbers and other text elements as numeric values. Computers store and transmit those values as binary data. The term character code is broader because it also covers punctuation, control functions and symbols.

A keyboard sends key events or scan codes, and software interprets them as text according to the active layout and character encoding. A display then renders glyphs for the decoded characters. Mouse input describes actions and positions rather than encoded text.

Hollerith-derived punched-card systems were an early form of machine-readable data. A later IBM card had 80 columns and 12 row positions, with a pattern of holes in a column representing a character. Calling this simply a 12-bit code hides the physical card format and the different coding conventions used over time.

Punched cards once carried data and program instructions into tabulating machines and computers. They are now a legacy storage medium, while software systems use electronic character encodings for text interchange.

The sections below compare ASCII, the EBCDIC code-page family and Unicode. ASCII remains an important 7-bit foundation, EBCDIC remains in use on some IBM systems, and Unicode supplies the common character repertoire used by modern encoding forms such as UTF-8.

ASCII Code

ASCII code stands for American Standard Code for Information Interchange. It is a 7-bit coded character set for English letters, decimal digits, punctuation and control functions.

Seven bits provide 128 values, numbered 0 to 127. The excerpt below lists values 0 to 15. Its BIN column pads each 7-bit ASCII value with a leading zero so that the entries appear as full 8-bit bytes.

DECOCTHEXBINSymbolDescription
00000000000000NULNull char
10010100000001SOHStart of Heading
20020200000010STXStart of Text
30030300000011ETXEnd of Text
40040400000100EOTEnd of Transmission
50050500000101ENQEnquiry
60060600000110ACKAcknowledgment
70070700000111BELBell
80100800001000BSBack Space
90110900001001HTHorizontal Tab
100120A00001010LFLine Feed
110130B00001011VTVertical Tab
120140C00001100FFForm Feed
130150D00001101CRCarriage Return
140160E00001110SOShift Out / X-On
150170F00001111SIShift In / X-O

This excerpt contains only the first 16 ASCII control values. In its final two rows, SO means Shift Out and SI means Shift In; XON is the separate DC1 control at decimal 17. The full set also includes the remaining control values, space, punctuation, digits, uppercase and lowercase English letters plus DEL.

EBCDIC Code

EBCDIC stands for Extended Binary Coded Decimal Interchange Code. IBM developed it in 1963, and EBCDIC code pages remain in use on systems including IBM zSystems and iSeries. A single-byte EBCDIC code page has 256 possible byte values, but EBCDIC is a family of code pages rather than one universal character map. Letters and digits are invariant across common pages, while some punctuation and national characters vary. The table below shows selected invariant values from EBCDIC code.

CharEBCDICHEXCharEBCDICHEXCharEBCDICHEX
A1100 0001C1P1101 0111D741111 0100F4
B1100 0010C2Q1101 1000D851111 0101F5
C1100 0011C3R1101 1001D961111 0110F6
D1100 0100C4S1110 0010E271111 0111F7
E1100 0101C5T1110 0011E381111 1000F8
F1100 0110C6U1110 0100E491111 1001F9
G1100 0111C7V1110 0101E5blank……
H1100 1000C8W1110 0110E6.……
I1100 1001C9X1110 0111E7(……
J1101 0001D1Y1110 1000E8+……
K1101 0010D2Z1110 1001E9$……
L1101 0011D301111 0000F0*……
M1101 0100D411111 0001F1)……
N1101 0101D521111 0010F2–……
O1101 0110D631111 0011F3/  

Unicode

Unicode assigns each encoded character a code point in a shared code space from U+0000 to U+10FFFF. The code space contains 1,114,112 code points, although not every point is assigned to a character. In Unicode 17.0, 159,801 characters are assigned. UTF-8, UTF-16 and UTF-32 encode the same code points with different code-unit sequences, so a code point is not the same as a stored byte or a displayed glyph. The table below is a legacy illustration, not an authoritative chart. In particular, its 0080 row shows Windows-1252-style printable mappings, but Unicode assigns U+0080 to U+009F as C1 control code points. Use the Unicode Consortium’s current code charts for exact assignments.

 01234567890A0B0C0D0E0F101112131415161718191A1B1C1D1E1F 
0000                              ‑­Symbols
0020 !“#$%&‘()*+,–./0123456789:;<=>?Number
0040@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_Alphabet
0060`abcdefghijklmnopqrstuvwxyz{|}~ 
0080€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ 
00A0 ¡¢£¤¥¦§¨©ª«¬ ®¯°±²³´µ·¸¹º»¼½¾¿ 
00C0ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßLatin
000Eàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ 
0100ĀāĂ㥹ĆćĈĉĊċČčĎďĐđĒēĔĕĖėĘęĚěĜĝĞğ 
0120ĠġĢģĤĥĦħĨĩĪīĬĭĮįİıIJijĴĵĶķĸĹĺĻļĽľĿ 
0140ŀŁłŃńŅņŇňʼnŊŋŌōŎŏŐőŒœŔŕŖŗŘřŚśŜŝŞş 
0160ŠšŢţŤťŦŧŨũŪūŬŭŮůŰűŲųŴŵŶŷŸŹźŻżŽžſ 
0180ƀƁƂƃƄƅƆƇƈƉƊƋƌƍƎƏƐƑƒƓƔƕƖƗƘƙƚƛƜƝƞƟ 
01A0ƠơƢƣƤƥƦƧƨƩƪƫƬƭƮƯưƱƲƳƴƵƶƷƸƹƺƻƼƽƾƿ 
01C0ǀǁǂǃDŽDždžLJLjljNJNjnjǍǎǏǐǑǒǓǔǕǖǗǘǙǚǛǜǝǞǟ 
100EǠǡǢǣǤǥǦǧǨǩǪǫǬǭǮǯǰDZDzdzǴǵǶǷǸǹǺǻǼǽǾǿ 
200ȀȁȂȃȄȅȆȇȈȉȊȋȌȍȎȏȐȑȒȓȔȕȖȗȘșȚțȜȝȞȟ 
0220ȠȡȢȣȤȥȦȧȨȩȪȫȬȭȮȯȰȱȲȳȴȵȶȷȸȹȺȻȼȽȾȿ 
0240ɀɁɂɃɄɅɆɇɈɉɊɋɌɍɎɏɐɑɒɓɔɕɖɗɘəɚɛɜɝɞɟ 
0260ɠɡɢɣɤɥɦɧɨɩɪɫɬɭɮɯɰɱɲɳɴɵɶɷɸɹɺɻɼɽɾɿ 
0280ʀʁʂʃʄʅʆʇʈʉʊʋʌʍʎʏʐʑʒʓʔʕʖʗʘʙʚʛʜʝʞʟ 
02A0ʠʡʢʣʤʥʦʧʨʩʪʫʬʭʮʯʰʱʲʳʴʵʶʷʸʹʺʻʼʽʾʿ 
02C0ˀˁ˂˃˄˅ˆˇˈˉˊˋˌˍˎˏːˑ˒˓˔˕˖˗˘˙˚˛˜˝˞˟ 
200Eˠˡˢˣˤ˥˦˧˨˩˪˫ˬ˭ˮ˯˰˱˲˳˴˵˶˷˸˹˺˻˼˽˾˿ 
0300̛̖̗̘̙̜̝̞̟̀́̂̃̄̅̆̇̈̉̊̋̌̍̎̏̐̑̒̓̔̕̚ 
0320̴̵̶̷̸̡̢̧̨̠̣̤̥̦̩̪̫̬̭̮̯̰̱̲̳̹̺̻̼̽̾̿ 
0340͇͈͉͍͎̀́͂̓̈́͆͊͋͌ͅ͏͓͔͕͖͙͚͐͑͒͗͛͘͜͟͝͞ 
0360ͣͤͥͦͧͨͩͪͫͬͭͮͯ͢͠͡ͰͱͲͳʹ͵Ͷͷ͸͹ͺͻͼͽ;Ϳ 
0380΀΁΂΃΄΅Ά·ΈΉΊ΋Ό΍ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟGreek
03A0ΠΡ΢ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξο 
03C0πρςστυφχψωϊϋόύώϏϐϑϒϓϔϕϖϗϘϙϚϛϜϝϞϟ 
300EϠϡϢϣϤϥϦϧϨϩϪϫϬϭϮϯϰϱϲϳϴϵ϶ϷϸϹϺϻϼϽϾϿ 
Want To Learn Faster? 🎓
Get electrical articles delivered to your inbox every week.
No credit card required—it’s 100% free.

About Electrical4U

Electrical4U is dedicated to the teaching and sharing of all things related to electrical and electronics engineering.

Leave a Comment