Computing Character: Primitive data type

For computers, a character is a letter, number, or punctuation mark that can be shown on a screen, or printed.

There are also some unseen characters, called control characters. An example of a control character is the carriage return or line feed that tells the software to start a new line. A glyph is the shape of the character that is seen when put on screen or on paper.

Since computers only use numbers, they use number codes to represent characters. For example, in ASCII, the number 65 represents the letter 'A'. The computer knows, when working in ASCII, to put the glyph for 'A' on the screen when it sees the number 65. The glyph can change shape slightly depending on the font that is used, if it is bold or in italics, etc. But it is still stored as a 65 in the computer, that does not change.

ASCII and Unicode

Computing Character: Primitive data type 
Chinese characters

One of the early standards for storing characters was ASCII. It uses 7 bits to store each character. This allows 128 characters - enough for the numbers 0-9, the upper case letters A-Z, lower case letters a-z, most punctuation marks including spaces, parentheses and braces, and some control characters. But it is not enough for letters used in other languages, such as umlauts used in German and Scandinavian languages. Some systems added an 8th bit to ASCII, for another 128 characters, but the extra characters can vary from one system to another. And this doesn't address all languages. There are thousands of Chinese characters alone. To store all of these characters, Unicode was developed. It uses 16 bits to store 65,536 characters.

ASCII is still widely used, especially in the English-speaking areas. The Internet was started in English, and until 2010 URL addresses could only contain certain ASCII characters. Some ASCII characters that are not supported are replaced by a '%' and a number for its location in the ASCII table. The space character, for instance is changed to "%20" when it shows up in a URL. In 2010, Unicode was allowed so people who spoke Russian, Greek, Chinese or other languages could see a domain name in their own language.


Tags:

GlyphLetterSoftware

🔥 Trending searches on Wiki Simple English:

Portia UmanskyHecateDemocratic Party (United States)Western worldLoquatBlowing from a cannonFruitAmazon rainforestAutomobileList of serial killers by number of victimsPostal codes in GermanyLilian ThuramCapitol Hill Autonomous ZoneMandarin ChinesePhilippinesChristmasVexillologySimple English WikipediaAli MalikovJapanese languageTheologyDear Child (book)The Great KhaliStates of GermanyAbby and Brittany HenselCharlie ChaplinCyprusBuying Beverly HillsCody RhodesTrinamool CongressSkin-walkerNeymarSkydivingBasic EnglishList of seasList of European countriesLeonardo da VinciDravida Munnetra KazhagamVowelRRR (movie)InternetChristianityEasterAphroditeAdolf HitlerHList of English football teamsMulberryAndrew TateList of vegetablesList of counties in Georgia (U.S. state)Provinces and territories of CanadaList of current heads of state and governmentSonic the Hedgehog (movie)KajolMuhammad's wivesAdolf Hitler UunonaTitanicPeriodic tableNumberFlag of GermanyCharles SobhrajQuit India MovementStructure of the EarthWayne RooneyGlobal warmingUrvashi RautelaJamshedpurStanley Cup playoffsMarilyn MonroeLos AngelesLina MedinaAndy ColeShaquille O'NealArnold SchwarzeneggerJosef Fritzl🡆 More