Codice ASCII O Código ASCII ASCII Code Code ASCII Código ASCII

Data coding

Morse code was the first code used for long-distance communication. Samuel F.B. Morse invented it in 1844. This code is made up of dots and dashes (a sort of binary code). It was used to carry out communication much faster than could the Pony Express, the United States mail service at the time. The telegraph operator, who needed a full understanding of the code, was a key figure back then.

Numerous codes were invented, including Émile Baudot's code (known as Baudot code or Murray Code).

On 10 March 1876, Dr Alexander Graham Bell completed the telephone, a revolutionary invention for carrying voice signals over wires. As an interesting aside, the House of Representatives has recently resolved that Antonio Meucci is the inventor of the telephone. Meucci had in fact filed a patent request in 1871, but was unable to continue renewing it past 1874.

These telegraph lines gave rise to teletypewriters, machines which could encode and decode character using Baudot code (the characters were encoded using 5 bits at the time, allowing for only 32 characters).

In the 1960s, ASCII code (for American Standard Code for Information Interchange) was adopted as the new standard. With ASCII, characters can be coded using 8 bits, for 256 possible characters.

What is ASCII code?

Computer memory saves all data in digital form. There is no way to store characters directly. Each character has its digital code equivalent: This is called ASCII code (for American Standard Code for Information Interchange). Basic ASCII code represented characters as 7 bits (for 128 possible characters, numbered from 0 to 127).

  • Codes 0 to 31 are not used for characters They are called control characters, because they are used for actions like:
    • Carriage return (CR)
    • Bell (BEL)
  • Codes 65 to 90 stand for uppercase letters.
  • Codes 97 to 122 stand for lowercase letters
    (Changing the 6th bit switches uppercase to lowercase; this is equivalent to adding 32 to the ASCII code in base-10.)

ASCII Character Chart

Extended ASCII Character Chart

ASCII Code was developed for use with the English language. It does not have accented characters, or language-specific characters. To encode such a character, a different code system is needed. ASCII code was extended to 8 bits (a byte) in order to be able to encode more characters (this is also known as Extended ASCII Code).
This code assigns the values 0 to 255 (coded as 8 bits, i.e. 1 byte) to uppercase and lowercase letters, digits, punctuation marks and other symbols (including accented characters, in the code iso-latin1).

Character ASCII Code Hexadecimal Code
NUL (Null) 0 00
SOH (Start of heading) 1 01
STX (Start of text) 2 02
ETX (End of text) 3 03
EOT (End of transmission) 4 04
ENQ (Enquiry) 5 05
ACK (Acknowledge) 6 06
BEL (Bell) 7 07
BS (Backspace) 8 08
TAB (Horizontal tabulation) 9 09
LF (Line Feed) 10 0A
VT (Vertical tabulation) 11 0B
FF (Form feed) 12 0C
CR (Carriage return) 13 0D
SO (Shift out) 14 0E
SI (Shift in) 15 0F
DLE (Data link escape) 16 10
DC1 (Device control 1) 17 11
DC2 (Device control 2) 18 12
DC3 (Device control 3) 19 13
DC4 (Device control 4) 20 14
NAK (Negative acknowledgement) 21 15
SYN (Synchronous idle) 22 16
ETB (End of transmission block) 23 17
CAN (Cancel) 24 18
EM (End of medium) 25 19
SUB (Substitute) 26 1A
ESC (Escape) 27 1B
FS (File separator) 28 1C
GS (Group separator) 29 1D
RS (Record separator) 30 1E
US (Unit separator) 31 1F
SP (Space) 32 20
! 33 21
" 34 22
# 35 23
$ 36 24
% 37 25
& 38 26
' 39 27
( 40 28
) 41 29
* 42 2A
+ 43 2B
, 44 2C
- 45 2D
. 46 2E
/ 47 2F
0 48 30
1 49 31
2 50 32
3 51 33
4 52 34
5 53 35
6 54 36
7 55 37
8 56 38
9 57 39
: 58 3A
; 59 3B
< 60 3C
= 61 3D
> 62 3E
? 63 3F
@ 64 40
A 65 41
B 66 42
C 67 43
D 68 44
E 69 45
F 70 46
G 71 47
H 72 48
I 73 49
J 74 4A
K 75 4B
L 76 4C
M 77 4D
N 78 4E
O 79 4F
P 80 50
Q 81 51
R 82 52
S 83 53
T 84 54
U 85 55
V 86 56
W 87 57
X 88 58
Y 89 59
Z 90 5A
[ 91 5B
\ 92 5C
] 93 5D
^ 94 5E
_ 95 5F
` 96 60
a 97 61
b 98 62
c 99 63
d 100 64
e 101 65
f 102 66
g 103 67
h 104 68
i 105 69
j 106 6A
k 107 6B
l 108 6C
m 109 6D
n 110 6E
o 111 6F
p 112 70
q 113 71
r 114 72
s 115 73
t 116 74
u 117 75
v 118 76
w 119 77
x 120 78
y 121 79
z 122 7A
{ 123 7B
| 124 7C
} 125 7D
~ 126 7E
Delete key 127 7F
Extended ASCII code is not standardised, and varies depending on which platform is used.

The two most commonly used extended ASCII character sets are:

  • OEM Extended ASCII Code, which was built into the first IBM PCs

    OEM Extended ASCII

  • ANSI Extended ASCII CODE, used by recent operating systems

    ANSI Extended ASCII

EBCDIC code

EBCDIC code (short for Extended Binary-Coded Decimal Interchange Code), developed by IBM, is used for encoding characters with 8 bits. Though widespread on IBM computers, it has not been as successful as ASCII code.

Unicode

Unicode is a 16-bit character encoding system developed in 1991. Unicode can express any character as a 16-bit code, no matter what operating system or programming language is used.

It includes almost all current alphabets (among them Arabic, Armenian, Cyrillic, Greek, Hebrew, and Latin) and is compatible with ASCII code.

A list of all codes used in Unicode are available at http://www.unicode.org.

Last update on Thursday October 16, 2008 02:43:14 PM.This document entitled « ASCII Code » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.

Best answers for « ASCII Code » in :
Special characters Show Special character codings HTML standards require all code to be written in 7-bit ASCII, which means that accented characters are not allowed. Despite this, current browsers recognise accented characters; you can enter accented characters directly...
Error Codes in Windows ShowError Codes in Windows The list below details the error codes displayed in the dialog boxes in Windows: Code Description _________________________________________________________________________ 1 Incorrect function....
Windows Error Codes and How to Fix them ShowWindows Error Codes and How to Fix them Below is a list of the most common error codes that you an face while using Windows and its basic components. Some solutions have been provided for you to try to solve them. You should also note that...
Universal Remote Codes ShowUniversal Remote Codes Universal Remote Codes by TV set Brand The universal remote codes, needed to operate effectively your devices attached to them, are listed in the user manual for each model. If you have unfortunately lost...
Download K-Lite Codec Pack Full ShowK-Lite Codec Pack is a collection of VFW/ACM codecs, DirectShow filters and tools. Codecs and DirectShow filters are needed for encoding and decoding (playing) audio and video formats. Contents of version 4.7.0 : Player: Media Player...
Download XviD codec ShowIt is an open source which focuses on the compression of video. Xvid video codec allows the compression and the decompression of digital videos with the aim of reducing the bandwidth during the transmission through a network. Xvid is specialized in...
Download Codec pack all in one ShowCodec Pack All-In-One is a codec collection allowing to read films in DivX format and the similar formats (DivX, XviD, AC3, etc.). Codec Pack All in 1 6.0.3.0 contains: · DivX 6.1.1 · XviD Codec 1.1 · DivX, XviD - FFDShow 17.02.2005 Alpha...
Video compression (codecs) ShowThe concept of codec A non-compressed video image occupies approximately 1 MB. In order to obtain a fluid video, it is necessary to have a frequency of at least 25 or 30 images per second, which produces a data flow of approximately 30 MB/s, that...
Base64 encoding ShowBase64 encoding The concept of Base64 encoding entails using US-ASCII (non-accented) characters to encode any sort of data in 8-bit form. Email protocols were originally designed to send messages in plain text only. But as email systems vary...
Huffman coding ShowHuffman coding In 1952, David Huffman proposed a statistical method allowing a binary code word to be assigned to the various symbols to be compressed (pixels or characters for example). The length of each code word is not identical for all the...