Difference between revisions of "ASCII"

From Conservapedia
Jump to navigation Jump to search
(expand with example)
m (Reverted edits by Ralphr (Talk) to last version by Jtl)
Line 1: Line 1:
−
'''ASCII''' is a common historical [[character encoding]], designed to represent US English text in digital form. The acronym stands for [[America]]n [[Standard]] [[Code]] for [[Information]] [[Interchange]]. Most of the character encodings in use today are [[proper superset]]s of ASCII: these include the [[ISO 8859]] family of encodings, the [[Windows 1252]] code page, and [[Unicode]].
+
'''ASCII''' is a common historical [[character encoding]], designed to represent US English text in digital form. The acronym stands for American Standard Code for Information Interchange. Most of the character encodings in common current use are [[proper superset]]s of ASCII: these include the [[ISO 8859]] family of encodings, the [[Windows 1252]] code page and the [[UTF-8]] encoding of the [[Unicode]] character set.
  
−
In ASCII, each letter or number on the [[keyboard]] is assigned a number from 0 to 127. For example, "A" is assigned the value 65, "B" is assigned 66, and "C" is assigned 67, so the word "[[cab]]" would be represented in ASCII as "67 65 66".  As well as the 26 letters of the [[English alphabet]] and the [[number]]s from 0 to 9, many common [[punctuation]] symbols are assigned codes.
+
Each character is assigned a number from 0 to 127.  As well the 26 letters of the [[English alphabet]] in upper and lower case, many common punctuation symbols are assigned codes, as well as [[control characters]], such as backspace, carriage return and linefeed.
−
 
 
−
ASCII was originally designed to work on [[mainframe]] computers, so naturally the first 31 ASCII values were assigned to "[[control character]]s", such as [[carriage return]] and [[line feed]], which were used to manipulate early [[teletype]] machines (a kind of [[printer]]). Most of these early ASCII "control characters" have become obsolete, and many modern ASCII implementations do not even bother to assign them, preferring to start the mapping at 32 (ASCII [[space]]).
 
  
 
Because there are 128 separate codes, an ASCII character can be represented by a [[signed char]] type in the [[C]] programming language.
 
Because there are 128 separate codes, an ASCII character can be represented by a [[signed char]] type in the [[C]] programming language.
  
 
[[Category:Information technology]]
 
[[Category:Information technology]]

Revision as of 23:03, February 13, 2009

ASCII is a common historical character encoding, designed to represent US English text in digital form. The acronym stands for American Standard Code for Information Interchange. Most of the character encodings in common current use are proper supersets of ASCII: these include the ISO 8859 family of encodings, the Windows 1252 code page and the UTF-8 encoding of the Unicode character set.

Each character is assigned a number from 0 to 127. As well the 26 letters of the English alphabet in upper and lower case, many common punctuation symbols are assigned codes, as well as control characters, such as backspace, carriage return and linefeed.

Because there are 128 separate codes, an ASCII character can be represented by a signed char type in the C programming language.