In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article is about how one character occupies more than one byte in ascii. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Ascii occupies one byte per character, and ASCII codes use a specified combination of 7-bit or 8-bit binary numbers to represent 128 or 256 possible characters; standard ASCII codes, also known as base ASCII codes, use 7-bit binary numbers to represent all uppercase and lowercase letters, the numbers 0 to 9, and punctuation.
The ASCII code of one character takes up 1 byte of storage space.
In 1967, the International Organization for Standardization (ISO:International Standards Organization) recommended a variant of ASCII, the codes 0x40, 0x5B, 0x5C, 0x5D, 0x7B, 0x7C and 0x7D were "reserved for national use", while the codes 0x5E, 0x60 and 0x7E were marked "when domestic special characters require 8, 9 or 10 space positions, they can be used for other graphical symbols."
It began in the late 1950s and was finalized in 1967. It was originally an American national standard for different computers to use as a common western character coding standard when communicating with each other. It has been designated as an international standard by the International Organization for Standardization (ISO). Applies to all Latin letters.
Extended data:
The expression of ASCII code:
ASCII codes use a specified combination of 7-bit or 8-bit binary numbers to represent 128 or 256 possible characters. Standard ASCII codes, also known as base ASCII codes, use 7-digit binary numbers (the remaining 1-bit binary is 0) to represent all uppercase and lowercase letters, the numbers 0 to 9, punctuation, and special control characters used in American English.
Where:
031,127 (33 in total) are control characters or communication special characters (the rest are displayable characters), such as control characters: LF (line feed), CR (carriage return), FF (page feed), DEL (delete), BS (backspace), BEL (ring ring), etc.; communication special characters: SOH (header), EOT (tail), ACK (confirmation), etc.
ASCII values of 8, 9, 10, and 13 are converted to backspace, tabulation, line feed, and carriage return characters, respectively. They do not have a specific graphical display, but they have different effects on text display depending on the application.
Thank you for reading! This is the end of this article on "one character accounts for more than one byte in ascii". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.