Home Common Problem 标准ascii码字符集共有几个编码

标准ascii码字符集共有几个编码

Sep 08, 2023 pm 02:34 PM
ascii code

标准ascii码字符集共有128个编码,范围从0到127。标准ASCII码是一种字符编码标准,定义了128个字符的编码,包括英文字母、数字、标点符号和一些控制字符等,每个字符都对应一个唯一的ASCII码值。0到31是控制字符,用于控制设备和通信协议,32到126是可打印字符,包括英文字母、数字、标点符号和一些特殊字符,127是删除字符,通常不被使用等等。

标准ascii码字符集共有几个编码

本教程操作系统:Windows10系统、Dell G3电脑。

标准ASCII码(American Standard Code for Information Interchange)是一种字符编码标准,定义了128个字符的编码,包括英文字母、数字、标点符号和一些控制字符等。每个字符都对应一个唯一的ASCII码值。

标准ASCII码字符集共有128个编码,范围从0到127。其中,0到31是控制字符,用于控制设备和通信协议。32到126是可打印字符,包括英文字母、数字、标点符号和一些特殊字符。127是删除字符,通常不被使用。

下面是标准ASCII码字符集的编码表:

二进制 十进制 十六进制 字符/缩写 解释
0 0 0 NUL (NULL) 空字符
1 1 1 SOH (Start Of Headling) 标题开始
10 2 2 STX (Start Of Text) 正文开始
11 3 3 ETX (End Of Text) 正文结束
100 4 4 EOT (End Of Transmission) 传输结束
101 5 5 ENQ (Enquiry) 请求
110 6 6 ACK (Acknowledge) 回应/响应/收到通知
111 7 7 BEL (Bell) 响铃
1000 8 8 BS (Backspace) 退格
1001 9 9 HT (Horizontal Tab) 水平制表符
1010 10 0A LF/NL(Line Feed/New Line) 换行键
1011 11 0B VT (Vertical Tab) 垂直制表符
1100 12 0C FF/NP (Form Feed/New Page) 换页键
1101 13 0D CR (Carriage Return) 回车键
1110 14 0E SO (Shift Out) 不用切换
1111 15 0F SI (Shift In) 启用切换
10000 16 10 DLE (Data Link Escape) 数据链路转义
10001 17 11 DC1/XON 设备控制1/传输开始
(Device Control 1/Transmission On)
10010 18 12 DC2 (Device Control 2) 设备控制2
10011 19 13 DC3/XOFF 设备控制3/传输中断
(Device Control 3/Transmission Off)
10100 20 14 DC4 (Device Control 4) 设备控制4
10101 21 15 NAK (Negative Acknowledge) 无响应/非正常响应/拒绝接收
10110 22 16 SYN (Synchronous Idle) 同步空闲
10111 23 17 ETB (End of Transmission Block) 传输块结束/块传输终止
11000 24 18 CAN (Cancel) 取消
11001 25 19 EM (End of Medium) 已到介质末端/介质存储已满/介质中断
11010 26 1A SUB (Substitute) 替补/替换
11011 27 1B ESC (Escape) 逃离/取消
11100 28 1C FS (File Separator) 文件分割符
11101 29 1D GS (Group Separator) 组分隔符/分组符
11110 30 1E RS (Record Separator) 记录分离符
11111 31 1F US (Unit Separator) 单元分隔符
100000 32 20 (Space) 空格
100001 33 21 !
100010 34 22 "
100011 35 23 #
100100 36 24 $
100101 37 25 %
100110 38 26 &
100111 39 27 '
101000 40 28 (
101001 41 29 )
101010 42 2A *
101011 43 2B +
101100 44 2C ,
101101 45 2D -
101110 46 2E .
101111 47 2F /
110000 48 30 0
110001 49 31 1
110010 50 32 2
110011 51 33 3
110100 52 34 4
110101 53 35 5
110110 54 36 6
110111 55 37 7
111000 56 38 8
111001 57 39 9
111010 58 3A :
111011 59 3B ;
111100 60 3C <
111101613D=
111110623E>
111111 63 3F ?
1000000 64 40 @
1000001 65 41 A
1000010 66 42 B
1000011 67 43 C
1000100 68 44 D
1000101 69 45 E
1000110 70 46 F
1000111 71 47 G
1001000 72 48 H
1001001 73 49 I
1001010 74 4A J
1001011 75 4B K
1001100 76 4C L
1001101 77 4D M
1001110 78 4E N
1001111 79 4F O
1010000 80 50 P
1010001 81 51 Q
1010010 82 52 R
1010011 83 53 S
1010100 84 54 T
1010101 85 55 U
1010110 86 56 V
1010111 87 57 W
1011000 88 58 X
1011001 89 59 Y
1011010 90 5A Z
1011011 91 5B [
1011100 92 5C \
1011101 93 5D ]
1011110 94 5E ^
1011111 95 5F _
1100000 96 60 `
1100001 97 61 a
1100010 98 62 b
1100011 99 63 c
1100100 100 64 d
1100101 101 65 e
1100110 102 66 f
1100111 103 67 g
1101000 104 68 h
1101001 105 69 i
1101010 106 6A j
1101011 107 6B k
1101100 108 6C l
1101101 109 6D m
1101110 110 6E n
1101111 111 6F o
1110000 112 70 p
1110001 113 71 q
1110010 114 72 r
1110011 115 73 s
1110100 116 74 t
1110101 117 75 u
1110110 118 76 v
1110111 119 77 w
1111000 120 78 x
1111001 121 79 y
1111010 122 7A z
1111011 123 7B {
1111100 124 7C |
1111101 125 7D }
1111110 126 7E ~
1111111 127 7F DEL (Delete) 删除

The above is the detailed content of 标准ascii码字符集共有几个编码. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

ASCII code comparison table ASCII code comparison table Jun 21, 2023 pm 05:36 PM

ASCII (American Standard Code for Information Interchange, American Standard Code for Information Interchange) is a set of character encodings based on Latin letters. It contains a total of 128 characters and can be stored in one byte. It is equivalent to the international standard ISO/IEC 646 . The ASCII specification was first published in 1967 and last updated in 1986.

What is the ascii code value of d What is the ascii code value of d Feb 02, 2023 am 11:26 AM

The ASCII code value of d is 100; because the ASCII code value of a is the hexadecimal number 61H, that is, the decimal value is 97, and d is the last three digits of a, then the ASCII code value of d is "97+3=100" ;ASCII code uses a specified 7-bit or 8-bit binary number combination to represent 128 or 256 possible characters.

How many bytes does an ascii code occupy? How many bytes does an ascii code occupy? Sep 07, 2023 pm 04:03 PM

An ASCII code occupies one byte. ASCII code is a coding standard used to represent characters. It uses 7-bit binary numbers to represent 128 different characters, including letters, numbers, punctuation marks, special characters, etc. A byte is the basic unit of computer storage unit. It consists of 8 binary bits. Each binary bit can be 0 or 1. One byte can represent 256 different values, so it can represent all characters in the ASCII code.

what does ascii code mean what does ascii code mean Jul 18, 2022 am 11:15 AM

ascii code is a computer coding system based on Latin letters; ascii code is the abbreviation of "American Standard Code for Information Interchange". It is mainly used to display modern English and other Western European languages. It is the most common information exchange standard, using the designated 7 bit or 8-bit binary number combination to represent 128 or 256 possible characters.

Does the standard ascii code of one character occupy one byte of storage? Does the standard ascii code of one character occupy one byte of storage? Aug 02, 2022 pm 04:39 PM

Yes, the ASCII code of one character occupies 1 byte of storage space. In the ASCII code table, the order from small to large code values ​​is: control characters, numeric characters, uppercase English letters, and lowercase English letters. ASCII code is a Western encoding, mainly used to display modern English and other Western European languages. One code occupies one byte.

ASCII code comparison table ASCII code comparison table Jan 15, 2024 pm 04:30 PM

ASCII code is "American Standard Code for Information Interchange", American Standard Code for Information Interchange: 1, 0, NUL; 2, 1, SOH; 3, 2, STX; 4, 3, ETX, etc. ASCII code includes many other characters and symbols. Each character corresponds to a unique integer value, and these integer values ​​are called ASCII codes.

What are the differences between unicode and ascii What are the differences between unicode and ascii Sep 06, 2023 am 11:56 AM

The differences between unicode and ascii include different encoding ranges, different storage spaces, and different compatibility. Detailed introduction: 1. The encoding range is different. The encoding range of ASCII is 0-127, which is mainly used to represent English letters. The encoding range of Unicode is much wider and can represent almost all language characters; 2. The storage space is different. ASCII usually Use 1 byte to store a character, while unicode may use 2 or more bytes to store a character; 3. Different compatibility, etc.

What is the largest ascii code? What is the largest ascii code? Mar 06, 2023 pm 01:48 PM

The largest ascii code is 127. ASCII code is the American Standard Code for Information Interchange, a computer coding system based on the Latin alphabet, mainly used to display modern English and other Western European languages. The standard ASCII code uses 7 binary bits to represent one character, and there are 128 codes in total; 0 to 31 and 127 are control characters or special communication characters (the rest are displayable characters), 32 to 126 are characters, and 65 to 90 are There are 26 uppercase English letters, numbers 97 to 122 are lowercase English letters, and the rest are some punctuation marks, arithmetic symbols, etc.