ASCII Character Set

ASCII Character Set
The information on this page is in four parts including general ASCII information, conversions of the non-printable control characters, conversions of the printable ASCII characters, and a keyboard input for printable ASCII character conversion. General Information Pronounced as-key, ASCII is a sequential formula for representing English characters as numbers, with each letter assigned a number from 0 to 127; however, not all of those are really printable characters. An acronym for American Standard Code for Information Interchange, this is the most common code for text on computers. In common usage, ASCII means a text file that doesn't include any formatting. In most programs, the "Save As Text" option will create an ASCII file in contrast to a specially formatted file or binary file. An ASCII file is a character by character save process. For example, the ASCII code for an upper case A is decimal 65; the lower case a adds decimal 32 to that and is 97. Most computers use ASCII codes to represent, display or print text, which makes it possible to transfer data from one computer to another. The meaning of the acronym name in itself is misleading as there really is no standard, just a strong suggestion. Many companies have taken generous, liberal and self-enhancing liberties in making modifications to suit themselves, IBM and Microsoft being at the top of the list.
http://www.csgnetwork.com/asciiset.html (1 of 11)15/04/2007 12:28:05

ASCII Character Set

Text files stored in ASCII format are sometimes called text files or ASCII files; they often have the file extensions .TXT, .txt, .ASC or .asc. Text editors and word processors are usually capable of storing data in ASCII format, although ASCII format is not always the default storage format. Most data files, particularly if they contain numeric data, are not stored in ASCII format unless there is a need for easy and quick interchange with several types of systems that access that data. Executable programs are not normally stored in standard ASCII format, though there are certain exceptions such as executable programs running under interpreters. The standard ASCII character set uses only 7 bits of the 8 bit byte for each character. There are several larger character sets that use all 8 bits of the byte, which gives them an 128 additional characters in the set. The extra characters are used to represent characters not used in the English language, graphics characters or symbols, and mathematical representations or symbols. Several companies and organizations have proposed extensions for these 128 characters; none have made any effort to work together for standards. The DOS operating system uses a superset of ASCII called the ASCII extended set or PC ASCII. A more universal standard is the ISO Latin 1 set of characters used by many current operating systems and most current generation browsers. Typical non-conformer IBM (and several other mainframe makers), use another code set called EBCDIC. ASCII Control Character Information ASCII control characters are actually commands for the terminal, monitor, computer, I/O devices, printer or other peripherals to do something. The first 32 values are non-printing control characters, such as Carriage Return (decimal value 13) and Line Feed (decimal value 10). You generate these characters on the keyboard by holding down the Control key while you strike another key. For example, BEL (Bell) is value decimal 7, Control and the letter G at the same time, often shown in documents as ^G. Notice that 7 is 64 less than the value of G (71); the Control key subtracts 64 from the value of the keys that it modifies. It does this by setting bit 6 (the 7th bit in a 0-7 indicated 8 bit byte) to a space. These characters are also capable of being sent to the device by a software sequence, most often by a program. They are usually sent as a string of characters following an attention character, usually ESCape, but not always. This string of characters, or the equivalent numeric representation of each character, is usually done in hexadecimal or decimal, sometimes in octal on older minicomputers, but virtually never (though possible) in binary. Because of that, these software issued control characters or sequences are often termed ESCape sequences.
http://www.csgnetwork.com/asciiset.html (2 of 11)15/04/2007 12:28:05

ASCII Character Set

ASCII Control Characters The following table lists ASCII Control codes in octal, decimal, hexadecimal and their corresponding Control-key combinations. Char NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI DLE DC1 Oct Dec Hex Control-Key 0 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 20 21 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 0 1 2 3 4 5 6 7 8 9 a b c d e f 10 11 ^@ ^A ^B ^C ^D ^E ^F ^G ^H ^I ^J ^K ^L ^M ^N ^O ^P ^Q Control Action NULl character Start Of Heading Start of TeXt End of TeXt End Of Transmission ENQuiry ACKnowledge BELl, rings terminal bell BackSpace (non-destructive) Horizontal Tab (move to next tab position) Line Feed Vertical Tab Form Feed Carriage Return Shift Out Shift In Data Link Escape Device Control 1, normally XON

http://www.csgnetwork.com/asciiset.html (3 of 11)15/04/2007 12:28:05

ASCII Character Set

DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US

22 23 24 25 26 27 30 31 32 33 34 35 36 37

18 19 20 21 22 23 24 25 26 27 28 29 30 31

12 13 14 15 16 17 17 19 1a 1b 1c 1d 1e 1f

^R ^S ^T ^U ^V ^W ^X ^Y ^Z ^[ ^\ ^] ^^ ^_

Device Control 2 Device Control 3, normally XOFF Device Control 4 Negative AcKnowledge SYNchronous idle End Transmission Block CANcel line End of Medium SUBstitute ESCape File Separator Group Separator Record Separator Unit Separator

Printing Characters

Char Octal Dec Hex SP ! " # $ 40 41 42 43 44 32 33 34 35 36 20 21 22 23 24 Space

Description

Exclamation mark Quotation mark (" in HTML) Cross hatch (number sign) Dollar sign

http://www.csgnetwork.com/asciiset.html (4 of 11)15/04/2007 12:28:05

ASCII Character Set

% & ` ( ) * + , . / 0 1 2 3 4 5 6 7 8 9 : ; <

45 46 47 50 51 52 53 54 55 56 57 60 61 62 63 64 65 66 67 70 71 72 73 74

37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60

25 26 27 28 29 2a 2b 2c 2d 2e 2f 30 31 32 33 34 35 36 37 38 39 3a 3b 3c

Percent sign Ampersand Closing single quote (apostrophe) Opening parentheses Closing parentheses Asterisk (star, multiply) Plus Comma Hyphen, dash, minus Period Slash (forward or divide) Zero One Two Three Four Five Six Seven Eight Nine Colon Semicolon Less than sign (&lt; in HTML)

http://www.csgnetwork.com/asciiset.html (5 of 11)15/04/2007 12:28:05

ASCII Character Set

= > ? @ A B C D E F G H I J K L M N O P Q R S T

75 76 77 100 101 102 103 104 105 106 107 110 111 112 113 114 115 116 117 120 121 122 123 124

61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84

3d 3e 3f 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f 50 51 52 53 54

Equals sign Greater than sign (&gt; in HTML) Question mark At-sign Upper case A Upper case B Upper case C Upper case D Upper case E Upper case F Upper case G Upper case H Upper case I Upper case J Upper case K Upper case L Upper case M Upper case N Upper case O Upper case P Upper case Q Upper case R Upper case S Upper case T

http://www.csgnetwork.com/asciiset.html (6 of 11)15/04/2007 12:28:05

ASCII Character Set

U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l

125 126 127 130 131 132 133 134 135 136 137 140 141 142 143 144 145 146 147 150 151 152 153 154

85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108

55 56 57 58 59 5a 5b 5c 5d 5e 5f 60 61 62 63 64 65 66 67 68 69 6a 6b 6c

Upper case U Upper case V Upper case W Upper case X Upper case Y Upper case Z Opening square bracket Backslash (Reverse slant) Closing square bracket Caret (Circumflex) Underscore Opening single quote Lower case a Lower case b Lower case c Lower case d Lower case e Lower case f Lower case g Lower case h Lower case i Lower case j Lower case k Lower case l

http://www.csgnetwork.com/asciiset.html (7 of 11)15/04/2007 12:28:05

ASCII Character Set

m n o p q r s t u v w x y z { | } ~ DEL

155 156 157 160 161 162 163 164 165 166 167 170 171 172 173 174 175 176 177

109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127

6d 6e 6f 70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f

Lower case m Lower case n Lower case o Lower case p Lower case q Lower case r Lower case s Lower case t Lower case u Lower case v Lower case w Lower case x Lower case y Lower case z Opening curly brace Vertical line Closing curly brace Tilde (approximate) Delete (rubout), cross-hatch box

This converter requires the use of Javascript enabled and capable browsers.

http://www.csgnetwork.com/asciiset.html (8 of 11)15/04/2007 12:28:06

ASCII Character Set

Input one keyboard character:
Convert Clear All Values

Conversion Results To Base ASCII To Octal Conversion ASCII To Decimal Conversion ASCII To Hex Conversion ASCII To Binary Conversion Version 6.2.1 ASCII Information and Extended Character Set See the ZDNet article on this same information. Excellent! ASCII and EBCIDIC Comparison ISO-8859-1 Characters Set for HTML Set For Automotive Calculators, Converters and Tables For Aviation Calculators, Converters and Tables For Communications Calculators, Converters and Tables For Computer Calculators, Converters and Tables For Electronics Calculators, Converters and Tables For Business And Financial Calculators, Converters and Tables For General Interest Calculators, Converters and Tables For Geography Related Calculators, Converters and Tables For Health Calculators, Converters and Tables For Helpful Math Converters and Calculators For Lottery Calculators, Converters and Tables For Maintenance, Construction And Remodel Calculators, Converters and Tables For Marine Calculators, Converters and Tables For Pure Educational Math Converters and Calculators For Science Calculators, Converters and Tables For Small Game Simulator Calculators, Converters and Tables

http://www.csgnetwork.com/asciiset.html (9 of 11)15/04/2007 12:28:06

ASCII Character Set

For Sports Calculators, Converters and Tables For Subroutines And Snippets Source Code For Converters and Calculators For Time Calculators, Converters and Tables For Weather Calculators, Converters and Tables Co-operating Sponsors and Technology used on our Website

Of Special Interest

HOME

SITE MAP

E-MAIL US

MS WMP7 ABOUT CSG BUSINESS HEADLINES COMPLAINTS CONVERTERS E-COMMERCE HEADLINES FAQ'S FUN & GAMES HEADLINES HARDWARE SOFTWARE HEADLINES

NETSCAPE APPLE - MAC HEADLINES CALCULATORS CONSULTING DICTIONARY ENTERTAINMENT HEADLINES FAVORITES

MS IE AUTO RACING HEADLINES CELLULAR SEARCH CONTACT US DISCLAIMER ENVIRONMENT HEADLINES FITNESS HEADLINES GRAPHIC DESIGN HEADLINES

GLOSSARY

HEADLINE CHOICES

HOME #2

http://www.csgnetwork.com/asciiset.html (10 of 11)15/04/2007 12:28:06

ASCII Character Set

INSIDERS

LIFE HEADLINES MICROSOFT HEADLINES NATIONAL NEWS HEADLINES RENEWABLE ENERGY HEADLINES SEARCH CSG

LINKS MONEY HEADLINES NEWS HEADLINES

METASEARCH NASA HEADLINES POLITICS HEADLINES SCIENCE HEADLINES SHIPPING SEARCH SPORTS HEADLINES TECH DEVELOPMENT HEADLINES TRAVEL WORLD HEADLINES

RESEARCH

SEARCH ENGINES SPECIALIZED SEARCH SUPPORT

SOAPBOX

SUGGESTIONS

TECHNOLOGY HEADLINES TRAVEL HEADLINES WEATHER

TIPS'N'TRICKS

UK EUROPEAN HEADLINES WEB BIZ

This Page Last Downloaded or Refreshed: 04/15/2007 12:24:01

http://www.csgnetwork.com/asciiset.html (11 of 11)15/04/2007 12:28:06