ASCII控制字符表

  • A+
所属分类:linux技术
摘要

char      digraph   hex         dec       official name                     解释                                转义符
^@        NU        0x00        0         NULL (NUL)                        空字符                             
^A        SH        0x01        1         START OF HEADING (SOH)            标题开始        
^B        SX        0x02        2         START OF TEXT (STX)               正文开始        
^C        EX        0x03        3         END OF TEXT (ETX)                 正文结束        
^D        ET        0x04        4         END OF TRANSMISSION (EOT)         传输结束        
^E        EQ        0x05        5         ENQUIRY (ENQ)                     请求        
^F        AK        0x06        6         ACKNOWLEDGE (ACK)                 回应/响应/收到通知        
^G        BL        0x07        7         BELL (BEL)                        响铃                                a
^H        BS        0x08        8         BACKSPACE (BS)                    退格                                b
^I        HT        0x09        9         CHARACTER TABULATION (HT)         水平制表符                           t
^@        LF        0x0a        10        LINE FEED (LF)                    换行键                               n
^K        VT        0x0b        11        LINE TABULATION (VT)              垂直制表符                           v
^L        FF        0x0c        12        FORM FEED (FF)                    换页键                               f
^M        CR        0x0d        13        CARRIAGE RETURN (CR)              回车键                               r
^N        SO        0x0e        14        SHIFT OUT (SO)                    不用切换        
^O        SI        0x0f        15        SHIFT IN (SI)                     启用切换        
^P        DL        0x10        16        DATALINK ESCAPE (DLE)             数据链路转义        
^Q        D1        0x11        17        DEVICE CONTROL ONE (DC1)          设备控制1/传输开始        
^R        D2        0x12        18        DEVICE CONTROL TWO (DC2)          设备控制2        
^S        D3        0x13        19        DEVICE CONTROL THREE (DC3)        设备控制3/传输中断        
^T        D4        0x14        20        DEVICE CONTROL FOUR (DC4)         设备控制4        
^U        NK        0x15        21        NEGATIVE ACKNOWLEDGE (NAK)        无响应/非正常响应/拒绝接收        
^V        SY        0x16        22        SYNCHRONOUS IDLE (SYN)            同步空闲        
^W        EB        0x17        23        END OF TRANSMISSION BLOCK (ETB)   传输块结束/块传输终止        
^X        CN        0x18        24        CANCEL (CAN)                      取消        
^Y        EM        0x19        25        END OF MEDIUM (EM)                已到介质末端/介质存储已满/介质中断        
^Z        SB        0x1a        26        SUBSTITUTE (SUB)                  替补/替换        
^[        EC        0x1b        27        ESCAPE (ESC)                      逃离/取消        
^        FS        0x1c        28        FILE SEPARATOR (IS4)              文件分割符        
^]        GS        0x1d        29        GROUP SEPARATOR (IS3)             组分隔符/分组符        
^^        RS        0x1e        30        RECORD SEPARATOR (IS2)            记录分离符        
^_        US        0x1f        31        UNIT SEPARATOR (IS1)              单元分隔符        

char      digraph   hex         dec       official name                     解释                                转义符
^@        NU        0x00        0         NULL (NUL)                        空字符                             
^A        SH        0x01        1         START OF HEADING (SOH)            标题开始        
^B        SX        0x02        2         START OF TEXT (STX)               正文开始        
^C        EX        0x03        3         END OF TEXT (ETX)                 正文结束        
^D        ET        0x04        4         END OF TRANSMISSION (EOT)         传输结束        
^E        EQ        0x05        5         ENQUIRY (ENQ)                     请求        
^F        AK        0x06        6         ACKNOWLEDGE (ACK)                 回应/响应/收到通知        
^G        BL        0x07        7         BELL (BEL)                        响铃                                a
^H        BS        0x08        8         BACKSPACE (BS)                    退格                                b
^I        HT        0x09        9         CHARACTER TABULATION (HT)         水平制表符                           t
^@        LF        0x0a        10        LINE FEED (LF)                    换行键                               n
^K        VT        0x0b        11        LINE TABULATION (VT)              垂直制表符                           v
^L        FF        0x0c        12        FORM FEED (FF)                    换页键                               f
^M        CR        0x0d        13        CARRIAGE RETURN (CR)              回车键                               r
^N        SO        0x0e        14        SHIFT OUT (SO)                    不用切换        
^O        SI        0x0f        15        SHIFT IN (SI)                     启用切换        
^P        DL        0x10        16        DATALINK ESCAPE (DLE)             数据链路转义        
^Q        D1        0x11        17        DEVICE CONTROL ONE (DC1)          设备控制1/传输开始        
^R        D2        0x12        18        DEVICE CONTROL TWO (DC2)          设备控制2        
^S        D3        0x13        19        DEVICE CONTROL THREE (DC3)        设备控制3/传输中断        
^T        D4        0x14        20        DEVICE CONTROL FOUR (DC4)         设备控制4        
^U        NK        0x15        21        NEGATIVE ACKNOWLEDGE (NAK)        无响应/非正常响应/拒绝接收        
^V        SY        0x16        22        SYNCHRONOUS IDLE (SYN)            同步空闲        
^W        EB        0x17        23        END OF TRANSMISSION BLOCK (ETB)   传输块结束/块传输终止        
^X        CN        0x18        24        CANCEL (CAN)                      取消        
^Y        EM        0x19        25        END OF MEDIUM (EM)                已到介质末端/介质存储已满/介质中断        
^Z        SB        0x1a        26        SUBSTITUTE (SUB)                  替补/替换        
^[        EC        0x1b        27        ESCAPE (ESC)                      逃离/取消        
^        FS        0x1c        28        FILE SEPARATOR (IS4)              文件分割符        
^]        GS        0x1d        29        GROUP SEPARATOR (IS3)             组分隔符/分组符        
^^        RS        0x1e        30        RECORD SEPARATOR (IS2)            记录分离符        
^_        US        0x1f        31        UNIT SEPARATOR (IS1)              单元分隔符