Character encoding

Punched tape with the word "Wikipedia" encoded in ASCII. Presence and absence of a hole represents 1 and 0, respectively; for example, W is encoded as 1010111.

Character encoding is a convention of using a numeric value to represent each character of a writing script. Not only can a character set include natural language symbols, but it can also include codes that have meaning meaning or function outside of language, such as control characters and whitespace. Character encodings also have been defined for some artificial languages. When encoded, character data can be stored, transmitted, and transformed by a computer.[1] The numerical values that make up a character encoding are known as code points and collectively comprise a code space or a code page.

Early character encodings that originated with optical or electrical telegraphy and in early computers could only represent a subset of the characters used in languages, sometimes restricted to upper case letters, numerals and limited punctuation. Over time, encodings capable of representing more characters were created, such as ASCII, ISO/IEC 8859, and Unicode encodings such as UTF-8 and UTF-16.

The most popular character encoding on the World Wide Web is UTF-8, which is used in 98.2% of surveyed web sites, as of May 2024.[2] In application programs and operating system tasks, both UTF-8 and UTF-16 are popular options.[3]

  1. ^ "Character Encoding Definition". The Tech Terms Dictionary. 24 September 2010.
  2. ^ "Usage Survey of Character Encodings broken down by Ranking". W3Techs. Retrieved 29 April 2024.
  3. ^ "Charset". Android Developers. Retrieved 2 January 2021. Android note: The Android platform default is always UTF-8.

From Wikipedia, the free encyclopedia · View on Wikipedia

Developed by Nelliwinne