ASCII: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica |
|||
(20 versioni intermedie di 15 utenti non mostrate) | |||
Riga 2:
{{F|terminologia informatica|giugno 2012}}
[[File:ASCII full.svg|frame|Esistono 96 caratteri ASCII stampabili, numerati da 32 a 127. Il centoventisettesimo indica il comando DEL.]]
'''ASCII''' ([[acronimo]] di '''American Standard Code for Information Interchange''', {{Lett|codice standard americano per lo scambio di informazioni}}) è un [[codice (teoria dell'informazione)|codice]] per la [[codifica di caratteri]]. La prima edizione dello [[Norma tecnica|standard]] ASCII è stata pubblicata dall'[[American National Standards Institute]] (ANSI) nel 1963<ref>{{Cita web|url=http://edition.cnn.com/TECH/computing/9907/06/1963.idg/|titolo=CNN - 1963: The debut of ASCII - July 6, 1999|sito=edition.cnn.com|accesso=2022-03-21|urlarchivio=https://web.archive.org/web/20130617155922/http://edition.cnn.com/TECH/computing/9907/06/1963.idg/|urlmorto=sì}}</ref>, quindi il codice ha subito un'importante revisione nel 1968<ref>{{Cita web|url=https://www.sr-ix.com/Archive/CharCodeHist/index.html#ASCII-1967|titolo=World Power Systems:Texts:Annotated history of charactercodes|sito=www.sr-ix.com|accesso=2022-03-21|urlarchivio=https://web.archive.org/web/20160522024759/http://worldpowersystems.com/J/codes/#ASCII-1967|urlmorto=sì}}</ref>. L'aggiornamento più recente risale al 1986<ref>{{Cita pubblicazione|data=1974|titolo=Federal Information Processing Standards Publication: code extension techniques for use with the 7-bit coded character set of American national standard code for information interchange|editore=National Bureau of Standards|accesso=2022-03-21|url=http://dx.doi.org/10.6028/nbs.fips.1-2-1974}}</ref>. In italiano viene pronunciato ''aschi'' {{IPA|/ˈaski/|it}} o ''asci'' {{IPA|/ˈaʃʃi/|it}}<ref>{{Treccani|ascii|v=yes}}</ref>, mentre la pronuncia originale inglese è ''askey'' {{IPA|/ˈæski/|en}}.
L'[[asteroide]] [[3568 ASCII]] prende il nome da questa codifica dei caratteri.
== Storia ==
[[File:USASCII code chart.png|thumb|upright=1.8|Tabella ASCII del 1967]]
Con ''US-ASCII'' si intende un sistema di codifica dei caratteri a
Alla specifica iniziale basata su codici di 7 [[bit]] fecero seguito negli anni molte proposte di estensione ad 8 bit, con lo scopo di raddoppiare il numero di caratteri rappresentabili. Tuttavia nessuna estensione è uno standard internazionale. Nei
== ASCII ed UTF-8 ==
{{vedi anche|UTF-8}}
Lo standard successore di ASCII è l'[[UTF-8]], che è diventato la codifica principale di [[Unicode]] per internet secondo il [[W3C]], che pur non impedendo altre codifiche (purché correttamente dichiarate), lo consiglia e lo usa quasi sistematicamente negli esempi del suo sito<ref>{{Cita web|url = https://www.w3.org/International/O-charset.en.php|titolo = Character encodings|sito = W3C|accesso = 22 giugno 2015|lingua = en}}</ref>, fornendo anche le istruzioni per convertire i documenti (cosa che non fornisce per tutte le codifiche)<ref>{{Cita web|url = https://www.w3.org/International/questions/qa-changing-encoding|titolo = Changing an HTML page encoding to UTF-8|sito = W3C|accesso = 22 giugno 2015|lingua = en}}</ref>. Questa codifica di [[Unicode]], che ormai è universalmente accettata da ogni nuovo programma, offre caratteristiche interessanti grazie al fatto di sfruttare il bit di controllo del vecchio ASCII in modo più efficiente. Se da una parte lo prepara per la pensione, UTF-8 in un certo senso ha reso molto più longevo l'ASCII, inglobandolo in una codifica più adatta alle esigenze attuali. Infatti le comunicazioni sono in centinaia di lingue, ed inoltre diverse lingue possono convivere in uno stesso documento, o in uno stesso programma: si pensi ai [[software]] di [[messaggistica istantanea]] che possono contenere contatti da varie parti del mondo dei quali visualizzare correttamente i nomi.
UTF-8 infatti si distingue dalle altre codifiche Unicode perché sfrutta il vecchio bit di parità di ASCII, non come bit di controllo, bensì come indicatore: analizza ogni byte, e se al posto del vecchio bit di parità c'è 0, allora il byte sarà letto come ASCII a 7 bit e teoricamente compatibile anche con programmi obsoleti; se però il byte corrente inizia con 1, allora sarà concatenato al byte successivo (o ai successivi, in realtà il meccanismo è un poco più complesso). In tal modo riesce ad includere tutti gli alfabeti delle lingue viventi, di alcune morte e potenzialmente può essere esteso per rappresentarne ancora altri (infatti spesso viene aggiornato).
Il vantaggio è che è possibile scrivere un testo in Italiano ed usare un numero di byte di poco maggiore rispetto ad una codifica di ASCII esteso (le lettere accentate occupano solo 4 byte in più); un testo in lingua Cinese avrà ogni carattere di tre byte, con numeri, lettere, punteggiatura ed altri eventuali caratteri ASCII presenti nel testo di un solo byte.
== Tabella dei caratteri ==
La tabella seguente è relativa al codice US ASCII, [[ANSI]] X3.4-1986 (''[[ISO]] 646 International Reference Version''). I codici decimali da 0 a 31 e il 127 sono caratteri non stampabili ([[caratteri di controllo]]). Il 32 corrisponde al carattere di "spazio". I codici dal 32 al 126 sono caratteri stampabili.
=== Non stampabili ===
{|
|-
! [[Sistema numerico binario|Binario]] !! [[sistema numerico ottale|Ottale]] !! [[sistema numerico decimale|Decimale]] !! [[sistema numerico esadecimale|Esadecimale]]
|-
|000 0000 || style="background:lightblue;" | 000 || style="background:#CFF;" | 0 || style="background:lightblue;" | 00
|NUL || {{unicode|␀}} || ^@ || \0 || align="left" | Null character
|-
|000 0001 || style="background:lightblue;" | 001 || style="background:#CFF;" | 1 || style="background:lightblue;" | 01
|SOF || <span style="font-size: 120%;">{{unicode|␁}}</span> || ^A || || align="left" |☺
|-
|000 0010 || style="background:lightblue;" | 002 || style="background:#CFF;" | 2 || style="background:lightblue;" | 02
|STX || <span style="font-size: 120%;">{{unicode|␂}}</span> || ^B || || align="left" |☻
|-
|000 0011 || style="background:lightblue;" | 003 || style="background:#CFF;" | 3 || style="background:lightblue;" | 03
|ETX || <span style="font-size: 120%;">{{unicode|␃}}</span> || Control-C |^C || || align="left" |♥
|-
|000 0100 || style="background:lightblue;" | 004 || style="background:#CFF;" | 4 || style="background:lightblue;" | 04
|EOT || <span style="font-size: 120%;">{{unicode|␄}}</span> || ^D || || align="left" |♦
|-
|000 0101 || style="background:lightblue;" | 005 || style="background:#CFF;" | 5 || style="background:lightblue;" | 05
|ENQ || <span style="font-size: 120%;">{{unicode|␅}}</span> || ^E || || align="left" |♣
|-
|000 0110 || style="background:lightblue;" | 006 || style="background:#CFF;" | 6 || style="background:lightblue;" | 06
|ACK || <span style="font-size: 120%;">{{unicode|␆}}</span> || ^F || ||align="left" |♠
|-
|000 0111 || style="background:lightblue;" | 007 || style="background:#CFF;" | 7 || style="background:lightblue;" | 07
|BEL
|<span style="font-size: 120%;">{{unicode|␇}}</span>
|^G
| \a
| align="left" |•
|-
|000 1000 || style="background:lightblue;" | 010 || style="background:#CFF;" | 8 || style="background:lightblue;" | 08
|BS
|<span style="font-size: 120%;">{{unicode|␈}}</span>
|^H
| \b
| align="left" |◘
|-
|000 1001 || style="background:lightblue;" | 011 || style="background:#CFF;"| 9 || style="background:lightblue;" | 09
|
|<span style="font-size: 120%;">{{unicode|␉}}</span>
|^I
| \t
| align="left" |○
|-
|000 1010 || style="background:lightblue;" | 012 || style="background:#CFF;" | 10 || style="background:lightblue;" | 0A
|LF
|<span style="font-size: 120%;">{{unicode|␊}}</span>
|^J
| \n
| align="left" |◙
|-
|000 1011 || style="background:lightblue;" | 013 || style="background:#CFF;" | 11 || style="background:lightblue;" | 0B
|VT
|<span style="font-size: 120%;">{{unicode|␋}}</span>
|^K
| \v
| align="left" |♂
|-
|000 1100 || style="background:lightblue;" | 014 || style="background:#CFF;" | 12 || style="background:lightblue;" | 0C
|FF
|<span style="font-size: 120%;">{{unicode|␌}}</span>
|^L
| \f
| align="left" |♀
|-
|000 1101 || style="background:lightblue;" | 015 || style="background:#CFF;" | 13 || style="background:lightblue;" | 0D
|CR
|<span style="font-size: 120%;">{{unicode|␍}}</span>
|^M
| \r
| align="left" |♪
|-
|000 1110 || style="background:lightblue;" | 016 || style="background:#CFF;" | 14 || style="background:lightblue;" | 0E
|SO
|<span style="font-size: 120%;">{{unicode|␎}}</span>
|^N
|
| align="left" |♫
|-
|000 1111|| style="background:lightblue;" | 017 || style="background:#CFF;" | 15 || style="background:lightblue;" | 0F
|SI
|<span style="font-size: 120%;">{{unicode|␏}}</span>
|^O
|
| align="left" |☼
|-
|001 0000|| style="background:lightblue;" | 020 || style="background:#CFF;" | 16 || style="background:lightblue;" | 10
|DLE
|<span style="font-size: 120%;">{{unicode|␐}}</span>
|^P
|
| align="left" |►
|-
|001 0001 || style="background:lightblue;" | 021 || style="background:#CFF;" | 17 || style="background:lightblue;" | 11
|DC1
|<span style="font-size: 120%;">{{unicode|␑}}</span>
|^Q
|
| align="left" |◄
|-
|001 0010 || style="background:lightblue;" | 022 || style="background:#CFF;" | 18 || style="background:lightblue;" | 12
|DC2
|<span style="font-size: 120%;">{{unicode|␒}}</span>
|^R
|
| align="left" |↕
|-
|001 0011 || style="background:lightblue;" | 023 || style="background:#CFF;" | 19 || style="background:lightblue;" | 13
|DC3
|<span style="font-size: 120%;">{{unicode|␓}}</span>
|^S
|
| align="left" |‼
|-
|001 0100 || style="background:lightblue;" | 024 || style="background:#CFF;" | 20 || style="background:lightblue;" | 14
|DC4
|<span style="font-size: 120%;">{{unicode|␔}}</span>
|^T
|
| align="left" |¶
|-
|001 0101 || style="background:lightblue;" | 025 || style="background:#CFF;" | 21 || style="background:lightblue;" | 15
|NAK
|<span style="font-size: 120%;">{{unicode|␕}}</span>
|^U
|
| align="left" |§
|-
|001 0110 || style="background:lightblue;" | 026 || style="background:#CFF;" | 22 || style="background:lightblue;" | 16
|SYN
|<span style="font-size: 120%;">{{unicode|␖}}</span>
|^V
|
| align="left" |▬
|-
|001 0111 || style="background:lightblue;" | 027 || style="background:#CFF;" | 23 || style="background:lightblue;" | 17
|ETB
|<span style="font-size: 120%;">{{unicode|␗}}</span>
|^W
|
| align="left" |↨
|-
|001 1000 || style="background:lightblue;" | 030 || style="background:#CFF;" | 24 || style="background:lightblue;" | 18
|CAN
|<span style="font-size: 120%;">{{unicode|␘}}</span>
|^X
|
| align="left" |↑
|-
|001 1001 || style="background:lightblue;" | 031 || style="background:#CFF;" | 25 || style="background:lightblue;" | 19
|EM
|<span style="font-size: 120%;">{{unicode|␙}}</span>
|^Y
|
| align="left" |↓
|-
|001 1010 || style="background:lightblue;" | 032 || style="background:#CFF;" | 26 || style="background:lightblue;" | 1A
|SUB
|<span style="font-size: 120%;">{{unicode|␚}}</span>
|^Z
|
| align="left" |→
|-
|001 1011 || style="background:lightblue;" | 033 || style="background:#CFF;" | 27 || style="background:lightblue;" | 1B
|ESC
|<span style="font-size: 120%;">{{unicode|␛}}</span>
|^<nowiki>[</nowiki>
|
| align="left" |←
|-
|001 1100 || style="background:lightblue;" | 034 || style="background:#CFF;" | 28 || style="background:lightblue;" | 1C
|FS
|<span style="font-size: 120%;">{{unicode|␜}}</span>
|^\
|
| align="left" |∟
|-
|001 1101 || style="background:lightblue;" | 035 || style="background:#CFF;" | 29 || style="background:lightblue;" | 1D
|GS
|<span style="font-size: 120%;">{{unicode|␝}}</span>
|^<nowiki>]</nowiki>
|
| align="left" |↔
|-
|001 1110 || style="background:lightblue;" | 036 || style="background:#CFF;" | 30 || style="background:lightblue;" | 1E
|RS
|<span style="font-size: 120%;">{{unicode|␞}}</span>
|^^
|
| align="left" |▲
|-
|001 1111 || style="background:lightblue;" | 037 || style="background:#CFF;" | 31 || style="background:lightblue;" | 1F
|US
|<span style="font-size: 120%;">{{unicode|␟}}</span>
|^_
|
| align="left" |▼
|-
| colspan="9" |
|-
|111 1111 || style="background:lightblue;" |177|| style="background:#CFF;" |127|| style="background:lightblue;" | 7F
|DEL
|<span style="font-size: 120%;">{{unicode|␡}}</span>
|^?
|
| align="left" | Delete (tasto elimina-backspace)
|}
=== Stampabili ===
[[File:ASCII Code Chart.svg|thumb|left|upright=1.8|Tabella di conversione da esadecimale a caratteri]]
{{Clear}}
{| class="wikitable" style="text-align: center; float:left;"
|- valign="bottom"
![[Sistema numerico binario|Binario]] !! {{Abbr|Oct|Ottale}} !! {{Abbr|Dec|Decimale}} !! {{Abbr|Hex|Esadecimale}} !! [[Glifo]]
|-
|010 0000 ||style="background:lightblue;"| 040 ||style="background:#CCFFFF;"| 32 ||style="background:lightblue;"| 20 || [[Spazio (punteggiatura)|Spazio]]
|-
|010 0001 ||style="background:lightblue;"| 041 ||style="background:#CCFFFF;"| 33 ||style="background:lightblue;"| 21 || [[Punto esclamativo|!]]
|-
|010 0010 ||style="background:lightblue;"| 042 ||style="background:#CCFFFF;"| 34 ||style="background:lightblue;"| 22 || [["]]
|-
|010 0011 ||style="background:lightblue;"| 043 ||style="background:#CCFFFF;"| 35 ||style="background:lightblue;"| 23 || [[Cancelletto|#]]
|-
|010 0100 ||style="background:lightblue;"| 044 ||style="background:#CCFFFF;"| 36 ||style="background:lightblue;"| 24 || [[$]]
|-
|010 0101 ||style="background:lightblue;"| 045 ||style="background:#CCFFFF;"| 37 ||style="background:lightblue;"| 25 || [[%]]
|-
|010 0110 ||style="background:lightblue;"| 046 ||style="background:#CCFFFF;"| 38 ||style="background:lightblue;"| 26 || [[&]]
|-
|010 0111 ||style="background:lightblue;"| 047 ||style="background:#CCFFFF;"| 39 ||style="background:lightblue;"| 27 || [[']]
|-
|010 1000 ||style="background:lightblue;"| 050 ||style="background:#CCFFFF;"| 40 ||style="background:lightblue;"| 28 || [[Parentesi#Le parentesi tonde|(]]
|-
|010 1001 ||style="background:lightblue;"| 051 ||style="background:#CCFFFF;"| 41 ||style="background:lightblue;"| 29 || [[Parentesi#Le parentesi tonde|)]]
|-
|010 1010 ||style="background:lightblue;"| 052 ||style="background:#CCFFFF;"| 42 ||style="background:lightblue;"| 2A || [[Asterisco|*]]
|-
|010 1011 ||style="background:lightblue;"| 053 ||style="background:#CCFFFF;"| 43 ||style="background:lightblue;"| 2B || [[+]]
|-
|010 1100 ||style="background:lightblue;"| 054 ||style="background:#CCFFFF;"| 44 ||style="background:lightblue;"| 2C || [[,]]
|-
|010 1101 ||style="background:lightblue;"| 055 ||style="background:#CCFFFF;"| 45 ||style="background:lightblue;"| 2D || [[Meno (matematica)|-]]
|-
|010 1110 ||style="background:lightblue;"| 056 ||style="background:#CCFFFF;"| 46 ||style="background:lightblue;"| 2E || [[Punto fermo|.]]
|-
|010 1111 ||style="background:lightblue;"| 057 ||style="background:#CCFFFF;"| 47 ||style="background:lightblue;"| 2F || [[Barra obliqua|/]]
|-
|011 0000 ||style="background:lightblue;"| 060 ||style="background:#CCFFFF;"| 48 ||style="background:lightblue;"| 30 || [[Zero|0]]
|-
|011 0001 ||style="background:lightblue;"| 061 ||style="background:#CCFFFF;"| 49 ||style="background:lightblue;"| 31 || [[Uno|1]]
|-
|011 0010 ||style="background:lightblue;"| 062 ||style="background:#CCFFFF;"| 50 ||style="background:lightblue;"| 32 || [[Due|2]]
|-
|011 0011 ||style="background:lightblue;"| 063 ||style="background:#CCFFFF;"| 51 ||style="background:lightblue;"| 33 || [[Tre|3]]
|-
|011 0100 ||style="background:lightblue;"| 064 ||style="background:#CCFFFF;"| 52 ||style="background:lightblue;"| 34 || [[Quattro|4]]
|-
|011 0101 ||style="background:lightblue;"| 065 ||style="background:#CCFFFF;"| 53 ||style="background:lightblue;"| 35 || [[Cinque|5]]
|-
|011 0110 ||style="background:lightblue;"| 066 ||style="background:#CCFFFF;"| 54 ||style="background:lightblue;"| 36 || [[Sei|6]]
|-
|011 0111 ||style="background:lightblue;"| 067 ||style="background:#CCFFFF;"| 55 ||style="background:lightblue;"| 37 || [[Sette|7]]
|-
|011 1000 ||style="background:lightblue;"| 070 ||style="background:#CCFFFF;"| 56 ||style="background:lightblue;"| 38 || [[8 (numero)|8]]
|-
|011 1001 ||style="background:lightblue;"| 071 ||style="background:#CCFFFF;"| 57 ||style="background:lightblue;"| 39 || [[Nove|9]]
|-
|011 1010 ||style="background:lightblue;"| 072 ||style="background:#CCFFFF;"| 58 ||style="background:lightblue;"| 3A || [[Due punti|:]]
|-
|011 1011 ||style="background:lightblue;"| 073 ||style="background:#CCFFFF;"| 59 ||style="background:lightblue;"| 3B || [[Punto e virgola|;]]
|-
|011 1100 ||style="background:lightblue;"| 074 ||style="background:#CCFFFF;"| 60 ||style="background:lightblue;"| 3C || [[Parentesi#Le parentesi uncinate o angolari|<]]
|-
|011 1101 ||style="background:lightblue;"| 075 ||style="background:#CCFFFF;"| 61 ||style="background:lightblue;"| 3D || [[=]]
|-
|011 1110 ||style="background:lightblue;"| 076 ||style="background:#CCFFFF;"| 62 ||style="background:lightblue;"| 3E || [[Parentesi#Le parentesi uncinate o angolari|>]]
|-
|011 1111 ||style="background:lightblue;"| 077 ||style="background:#CCFFFF;"| 63 ||style="background:lightblue;"| 3F || [[?]]
|}
{| class="wikitable" style="text-align:center; float:left;"
|- valign="bottom"
![[Sistema numerico binario|Binario]] !! {{Abbr|Oct|Ottale}} !! {{Abbr|Dec|Decimale}} !! {{Abbr|Hex|Esadecimale}} !! [[Glifo]]
|-
|100 0000 ||style="background:lightblue;"| 100 ||style="background:#CCFFFF;"| 64 ||style="background:lightblue;"| 40 || [[@]]
|-
|100 0001 ||style="background:lightblue;"| 101 ||style="background:#CCFFFF;"| 65 ||style="background:lightblue;"| 41 || [[A]]
|-
|100 0010 ||style="background:lightblue;"| 102 ||style="background:#CCFFFF;"| 66 ||style="background:lightblue;"| 42 || [[B]]
|-
|100 0011 ||style="background:lightblue;"| 103 ||style="background:#CCFFFF;"| 67 ||style="background:lightblue;"| 43 || [[C]]
|-
|100 0100 ||style="background:lightblue;"| 104 ||style="background:#CCFFFF;"| 68 ||style="background:lightblue;"| 44 || [[D]]
|-
|100 0101 ||style="background:lightblue;"| 105 ||style="background:#CCFFFF;"| 69 ||style="background:lightblue;"| 45 || [[E]]
|-
|100 0110 ||style="background:lightblue;"| 106 ||style="background:#CCFFFF;"| 70 ||style="background:lightblue;"| 46 || [[F]]
|-
|100 0111 ||style="background:lightblue;"| 107 ||style="background:#CCFFFF;"| 71 ||style="background:lightblue;"| 47 || [[G]]
|-
|100 1000 ||style="background:lightblue;"| 110 ||style="background:#CCFFFF;"| 72 ||style="background:lightblue;"| 48 || [[H]]
|-
|100 1001 ||style="background:lightblue;"| 111 ||style="background:#CCFFFF;"| 73 ||style="background:lightblue;"| 49 || [[I]]
|-
|100 1010 ||style="background:lightblue;"| 112 ||style="background:#CCFFFF;"| 74 ||style="background:lightblue;"| 4A || [[J]]
|-
|100 1011 ||style="background:lightblue;"| 113 ||style="background:#CCFFFF;"| 75 ||style="background:lightblue;"| 4B || [[K]]
|-
|100 1100 ||style="background:lightblue;"| 114 ||style="background:#CCFFFF;"| 76 ||style="background:lightblue;"| 4C || [[L]]
|-
|100 1101 ||style="background:lightblue;"| 115 ||style="background:#CCFFFF;"| 77 ||style="background:lightblue;"| 4D || [[M]]
|-
|100 1110 ||style="background:lightblue;"| 116 ||style="background:#CCFFFF;"| 78 ||style="background:lightblue;"| 4E || [[N]]
|-
|100 1111 ||style="background:lightblue;"| 117 ||style="background:#CCFFFF;"| 79 ||style="background:lightblue;"| 4F || [[O]]
|-
|101 0000 ||style="background:lightblue;"| 120 ||style="background:#CCFFFF;"| 80 ||style="background:lightblue;"| 50 || [[P]]
|-
|101 0001 ||style="background:lightblue;"| 121 ||style="background:#CCFFFF;"| 81 ||style="background:lightblue;"| 51 || [[Q]]
|-
|101 0010 ||style="background:lightblue;"| 122 ||style="background:#CCFFFF;"| 82 ||style="background:lightblue;"| 52 || [[R]]
|-
|101 0011 ||style="background:lightblue;"| 123 ||style="background:#CCFFFF;"| 83 ||style="background:lightblue;"| 53 || [[S]]
|-
|101 0100 ||style="background:lightblue;"| 124 ||style="background:#CCFFFF;"| 84 ||style="background:lightblue;"| 54 || [[T]]
|-
|101 0101 ||style="background:lightblue;"| 125 ||style="background:#CCFFFF;"| 85 ||style="background:lightblue;"| 55 || [[U]]
|-
|101 0110 ||style="background:lightblue;"| 126 ||style="background:#CCFFFF;"| 86 ||style="background:lightblue;"| 56 || [[V]]
|-
|101 0111 ||style="background:lightblue;"| 127 ||style="background:#CCFFFF;"| 87 ||style="background:lightblue;"| 57 || [[W]]
|-
|101 1000 ||style="background:lightblue;"| 130 ||style="background:#CCFFFF;"| 88 ||style="background:lightblue;"| 58 || [[X]]
|-
|101 1001 ||style="background:lightblue;"| 131 ||style="background:#CCFFFF;"| 89 ||style="background:lightblue;"| 59 || [[Y]]
|-
|101 1010 ||style="background:lightblue;"| 132 ||style="background:#CCFFFF;"| 90 ||style="background:lightblue;"| 5A || [[Z]]
|-
|101 1011 ||style="background:lightblue;"| 133 ||style="background:#CCFFFF;"| 91 ||style="background:lightblue;"| 5B || [[Parentesi quadra|[]]
|-
|101 1100 ||style="background:lightblue;"| 134 ||style="background:#CCFFFF;"| 92 ||style="background:lightblue;"| 5C || [[Barra rovesciata|\]]
|-
|101 1101 ||style="background:lightblue;"| 135 ||style="background:#CCFFFF;"| 93 ||style="background:lightblue;"| 5D || [[Parentesi quadra|]]]
|-
|101 1110 ||style="background:lightblue;"| 136 ||style="background:#CCFFFF;"| 94 ||style="background:lightblue;"| 5E || [[^]]
|-
|101 1111 ||style="background:lightblue;"| 137 ||style="background:#CCFFFF;"| 95 ||style="background:lightblue;"| 5F || [[Underscore|_]]
|}
{| class="wikitable" style="text-align:center; float:left;"
|- valign="bottom"
![[Sistema numerico binario|Binario]] !! {{Abbr|Oct|Ottale}} !! {{Abbr|Dec|Decimale}} !! {{Abbr|Hex|Esadecimale}} !! [[Glifo]]
|-
|110 0000 ||style="background:lightblue;"| 140 ||style="background:#CCFFFF;"| 96 ||style="background:lightblue;"| 60 || [[`]]
|-
|110 0001 ||style="background:lightblue;"| 141 ||style="background:#CCFFFF;"| 97 ||style="background:lightblue;"| 61 || [[a]]
|-
|110 0010 ||style="background:lightblue;"| 142 ||style="background:#CCFFFF;"| 98 ||style="background:lightblue;"| 62 || [[b]]
|-
|110 0011 ||style="background:lightblue;"| 143 ||style="background:#CCFFFF;"| 99 ||style="background:lightblue;"| 63 || [[c]]
|-
|110 0100 ||style="background:lightblue;"| 144 ||style="background:#CCFFFF;"| 100 ||style="background:lightblue;"| 64 || [[d]]
|-
|110 0101 ||style="background:lightblue;"| 145 ||style="background:#CCFFFF;"| 101 ||style="background:lightblue;"| 65 || [[e]]
|-
|110 0110 ||style="background:lightblue;"| 146 ||style="background:#CCFFFF;"| 102 ||style="background:lightblue;"| 66 || [[f]]
|-
|110 0111 ||style="background:lightblue;"| 147 ||style="background:#CCFFFF;"| 103 ||style="background:lightblue;"| 67 || [[g]]
|-
|110 1000 ||style="background:lightblue;"| 150 ||style="background:#CCFFFF;"| 104 ||style="background:lightblue;"| 68 || [[h]]
|-
|110 1001 ||style="background:lightblue;"| 151 ||style="background:#CCFFFF;"| 105 ||style="background:lightblue;"| 69 || [[i]]
|-
|110 1010 ||style="background:lightblue;"| 152 ||style="background:#CCFFFF;"| 106 ||style="background:lightblue;"| 6A || [[j]]
|-
|110 1011 ||style="background:lightblue;"| 153 ||style="background:#CCFFFF;"| 107 ||style="background:lightblue;"| 6B || [[k]]
|-
|110 1100 ||style="background:lightblue;"| 154 ||style="background:#CCFFFF;"| 108 ||style="background:lightblue;"| 6C || [[l]]
|-
|110 1101 ||style="background:lightblue;"| 155 ||style="background:#CCFFFF;"| 109 ||style="background:lightblue;"| 6D || [[m]]
|-
|110 1110 ||style="background:lightblue;"| 156 ||style="background:#CCFFFF;"| 110 ||style="background:lightblue;"| 6E || [[n]]
|-
|110 1111 ||style="background:lightblue;"| 157 ||style="background:#CCFFFF;"| 111 ||style="background:lightblue;"| 6F || [[o]]
|-
|111 0000 ||style="background:lightblue;"| 160 ||style="background:#CCFFFF;"| 112 ||style="background:lightblue;"| 70 || [[p]]
|-
|111 0001 ||style="background:lightblue;"| 161 ||style="background:#CCFFFF;"| 113 ||style="background:lightblue;"| 71 || [[q]]
|-
|111 0010 ||style="background:lightblue;"| 162 ||style="background:#CCFFFF;"| 114 ||style="background:lightblue;"| 72 || [[r]]
|-
|111 0011 ||style="background:lightblue;"| 163 ||style="background:#CCFFFF;"| 115 ||style="background:lightblue;"| 73 || [[s]]
|-
|111 0100 ||style="background:lightblue;"| 164 ||style="background:#CCFFFF;"| 116 ||style="background:lightblue;"| 74 || [[t]]
|-
|111 0101 ||style="background:lightblue;"| 165 ||style="background:#CCFFFF;"| 117 ||style="background:lightblue;"| 75 || [[u]]
|-
|111 0110 ||style="background:lightblue;"| 166 ||style="background:#CCFFFF;"| 118 ||style="background:lightblue;"| 76 || [[v]]
|-
|111 0111 ||style="background:lightblue;"| 167 ||style="background:#CCFFFF;"| 119 ||style="background:lightblue;"| 77 || [[w]]
|-
|111 1000 ||style="background:lightblue;"| 170 ||style="background:#CCFFFF;"| 120 ||style="background:lightblue;"| 78 || [[x]]
|-
|111 1001 ||style="background:lightblue;"| 171 ||style="background:#CCFFFF;"| 121 ||style="background:lightblue;"| 79 || [[y]]
|-
|111 1010 ||style="background:lightblue;"| 172 ||style="background:#CCFFFF;"| 122 ||style="background:lightblue;"| 7A || [[z]]
|-
|111 1011 ||style="background:lightblue;"| 173 ||style="background:#CCFFFF;"| 123 ||style="background:lightblue;"| 7B || [[Parentesi graffa|{]]
|-
|111 1100 ||style="background:lightblue;"| 174 ||style="background:#CCFFFF;"| 124 ||style="background:lightblue;"| 7C || [[Barra verticale||]]
|-
|111 1101 ||style="background:lightblue;"| 175 ||style="background:#CCFFFF;"| 125 ||style="background:lightblue;"| 7D || [[Parentesi tonda|}]]
|-
|111 1110 ||style="background:lightblue;"| 176 ||style="background:#CCFFFF;"| 126 ||style="background:lightblue;"| 7E || [[Tilde|~]]
|}
{{clear}}
== ASCII art ==
{{Vedi anche|ASCII art}}
Esiste anche un tipo di arte, chiamata [[ASCII art]], che consiste nel creare immagini con i [[Carattere (informatica)|caratteri]] dell'[[alfabeto]] ottenendo una grossolana scala di grigi sfruttando il riempimento del carattere.
[[File:BB-ASCII-art-screenshot-zebra.png|thumb|upright=1.3|Ecco un esempio di "ASCII art".]]
== Note ==
<references/>
== Bibliografia ==
* {{IETF|20|ASCII format for Network Interchange}}
* {{cita libro|autore=David Salomon|titolo=Data Compression: The Complete Reference|capitolo=The ASCII Code|edizione=1|editore=Springer|città=New York|anno=1998|lingua=inglese|doi=10.1007/978-1-4757-2939-9|ISBN=978-1-4757-2939-9|pp=301-303}}
== Voci correlate ==
* [[ASCII esteso]]
* [[ASCII art]]
* [[Unicode]]
* [[UTF-8]]
== Altri progetti ==
{{interprogetto|preposizione=sull'|wikt=ASCII}}
== Collegamenti esterni ==
* {{Collegamenti esterni}}
* {{FOLDOC|American Standard Code for Information Interchange|American Standard Code for Information Interchange}}
* {{cita web|url=http://www.wps.com/projects/codes/X3.4-1963/index.html|titolo=ASA standard X3.4-1963|lingua=en|accesso=3 novembre 2013|urlarchivio=https://web.archive.org/web/20120724022406/http://www.wps.com/projects/codes/X3.4-1963/index.html|urlmorto=sì}}
{{Controllo di autorità}}
{{portale|informatica}}
[[Categoria:Repertori di caratteri]]
|