"ASCII"의 두 판 사이의 차이

(새 문서: {| class="wikitable" style="text-align: center" |- ! Binary !! Oct !! Dec !! Hex !! Abbr !! <ref group="lower-alpha">The Unicode characters from the area U+2400 to U+2421 reserved...)
 
1번째 줄: 1번째 줄:
{| class="wikitable" style="text-align: center"
{| class="wikitable" style="text-align: center"
|-
|-
! Binary !! Oct !! Dec !! Hex !! Abbr !! <ref group="lower-alpha">The [[Unicode]] characters from the area U+2400 to U+2421 reserved for representing control characters when it is necessary to print or display them rather than have them perform their intended function. Some browsers may not display these properly.</ref> !! <ref group="lower-alpha">[[Caret notation]] often used to represent control characters on a terminal. On most text terminals, holding down the {{keypress|[[Control key|Ctrl]]}} key while typing the second character will type the control character. Sometimes the shift key is not needed, for instance ^@ may be typable with just Ctrl and 2.</ref> !! <ref group="lower-alpha">Character Escape Codes in [[C (programming language)|C programming language]] and many other languages influenced by it, such as [[Java (programming language)|Java]] and [[Perl]] (though not all implementations necessarily support all escape codes).</ref> !! Name
! Binary !! Oct !! Dec !! Hex !! Abbr !! !! !! !! Name
|-
|-
| 000 0000 || style="background:lightblue;" | 000 || style="background:#CFF;" | 0 || style="background:lightblue;" | 00
| 000 0000 || style="background:lightblue;" | 000 || style="background:#CFF;" | 0 || style="background:lightblue;" | 00
28번째 줄: 28번째 줄:
|-
|-
| 000 1000 || style="background:lightblue;" | 010 || style="background:#CFF;" | 8 || style="background:lightblue;" | 08
| 000 1000 || style="background:lightblue;" | 010 || style="background:#CFF;" | 8 || style="background:lightblue;" | 08
| BS || style="font-size:large;" | ? || ^H || \b || style="text-align:left;" | [[Backspace]]<ref group="lower-alpha">The Backspace character can also be entered by pressing the {{keypress|Backspace}} key on some systems.</ref><ref group="lower-alpha" name="bsp del mismatch"/>
| BS || style="font-size:large;" | ? || ^H || \b || style="text-align:left;" | [[Backspace]]
|-
|-
| 000 1001 || style="background:lightblue;" | 011 || style="background:#CFF;" | 9 || style="background:lightblue;" | 09
| 000 1001 || style="background:lightblue;" | 011 || style="background:#CFF;" | 9 || style="background:lightblue;" | 09
| HT || style="font-size:large;" | ? || ^I || \t || style="text-align:left;" | [[Horizontal Tab]]<ref group="lower-alpha">The Tab character can also be entered by pressing the {{keypress|Tab}} key on most systems.</ref>
| HT || style="font-size:large;" | ? || ^I || \t || style="text-align:left;" | [[Horizontal Tab]]
|-
|-
| 000 1010 || style="background:lightblue;" | 012 || style="background:#CFF;" | 10 || style="background:lightblue;" | 0A
| 000 1010 || style="background:lightblue;" | 012 || style="background:#CFF;" | 10 || style="background:lightblue;" | 0A
43번째 줄: 43번째 줄:
|-
|-
| 000 1101 || style="background:lightblue;" | 015 || style="background:#CFF;" | 13 || style="background:lightblue;" | 0D
| 000 1101 || style="background:lightblue;" | 015 || style="background:#CFF;" | 13 || style="background:lightblue;" | 0D
| CR || style="font-size:large;" | ? ||^M || \r || style="text-align:left;" | [[Carriage return]]<ref group="lower-alpha">The Carriage Return character can also be entered by pressing the {{keypress|Enter}} or {{keypress|Return}} key on most systems.</ref>
| CR || style="font-size:large;" | ? ||^M || \r || style="text-align:left;" | [[Carriage return]]
|-
|-
| 000 1110 || style="background:lightblue;" | 016 || style="background:#CFF;" | 14 || style="background:lightblue;" | 0E
| 000 1110 || style="background:lightblue;" | 016 || style="background:#CFF;" | 14 || style="background:lightblue;" | 0E
85번째 줄: 85번째 줄:
|-
|-
| 001 1011 || style="background:lightblue;" | 033 || style="background:#CFF;" | 27 || style="background:lightblue;" | 1B
| 001 1011 || style="background:lightblue;" | 033 || style="background:#CFF;" | 27 || style="background:lightblue;" | 1B
| ESC || style="font-size:large;" | ? || ^<nowiki>[</nowiki> || \e<ref group="lower-alpha">The '\e' escape sequence is not part of ISO C and many other language specifications. However, it is understood by several compilers.</ref> || style="text-align:left;" | [[Escape character|Escape]]<ref group="lower-alpha">The Escape character can also be entered by pressing the {{keypress|Esc}} key on some systems.</ref>
| ESC || style="font-size:large;" | ? || ^<nowiki>[</nowiki> || \e
|-
|-
| 001 1100 || style="background:lightblue;" | 034 || style="background:#CFF;" | 28 || style="background:lightblue;" | 1C
| 001 1100 || style="background:lightblue;" | 034 || style="background:#CFF;" | 28 || style="background:lightblue;" | 1C
94번째 줄: 94번째 줄:
|-
|-
| 001 1110 || style="background:lightblue;" | 036 || style="background:#CFF;" | 30 || style="background:lightblue;" | 1E
| 001 1110 || style="background:lightblue;" | 036 || style="background:#CFF;" | 30 || style="background:lightblue;" | 1E
| RS || style="font-size:large;" | ? || ^^<ref group="lower-alpha">^^ means {{keypress|Ctrl|^}} (pressing the "Ctrl" and caret keys).</ref> || || style="text-align:left;" | [[Record separator|Record Separator]]
| RS || style="font-size:large;" | ? || ^^ || || style="text-align:left;" | [[Record separator|Record Separator]]
|-
|-
| 001 1111 || style="background:lightblue;" | 037 || style="background:#CFF;" | 31 || style="background:lightblue;" | 1F
| 001 1111 || style="background:lightblue;" | 037 || style="background:#CFF;" | 31 || style="background:lightblue;" | 1F
102번째 줄: 102번째 줄:
|-
|-
| 111 1111 || style="background:lightblue;" | 177 || style="background:#CFF;" | 127 || style="background:lightblue;" | 7F
| 111 1111 || style="background:lightblue;" | 177 || style="background:#CFF;" | 127 || style="background:lightblue;" | 7F
| DEL || style="font-size:large;" | ? || ^? || || style="text-align:left;" | [[Delete character|Delete]]<ref group="lower-alpha">The Delete character can sometimes be entered by pressing the {{keypress|Backspace}} key on some systems.</ref><ref group="lower-alpha" name="bsp del mismatch">The ambiguity of Backspace is due to early terminals designed assuming the main use of the keyboard would be to manually punch paper tape while not connected to a computer. To delete the previous character, one had to back up the paper tape punch, which for mechanical and simplicity reasons was a button on the punch itself and not the keyboard, then type the rubout character. They therefore placed a key producing rubout at the location used on typewriters for backspace. When systems used these terminals and provided command-line editing, they had to use the "rubout" code to perform a backspace, and often did not interpret the backspace character (they might echo "^H" for backspace). Other terminals not designed for paper tape made the key at this location produce Backspace, and systems designed for these used that character to back up. Since the delete code often produced a backspace effect, this also forced terminal manufacturers to make any {{keypress|Delete}} key produce something other than the Delete character.</ref>
| DEL || style="font-size:large;" | ? || ^? || || style="text-align:left;" | [[Delete character|Delete]]
|}
|}


==주석==
==주석==
<references/>
<references/>

2012년 4월 15일 (일) 14:36 판

Binary Oct Dec Hex Abbr Name
000 0000 000 0 00 NUL ? ^@ \0 Null character
000 0001 001 1 01 SOH ? ^A Start of Header
000 0010 002 2 02 STX ? ^B Start of Text
000 0011 003 3 03 ETX ? ^C End of Text
000 0100 004 4 04 EOT ? ^D End of Transmission
000 0101 005 5 05 ENQ ? ^E Enquiry
000 0110 006 6 06 ACK ? ^F Acknowledgment
000 0111 007 7 07 BEL ? ^G \a Bell
000 1000 010 8 08 BS ? ^H \b Backspace
000 1001 011 9 09 HT ? ^I \t Horizontal Tab
000 1010 012 10 0A LF ? ^J \n Line feed
000 1011 013 11 0B VT ? ^K \v Vertical Tab
000 1100 014 12 0C FF ? ^L \f Form feed
000 1101 015 13 0D CR ? ^M \r Carriage return
000 1110 016 14 0E SO ? ^N Shift Out
000 1111 017 15 0F SI ? ^O Shift In
001 0000 020 16 10 DLE ? ^P Data Link Escape
001 0001 021 17 11 DC1 ? ^Q Device Control 1 (oft. XON)
001 0010 022 18 12 DC2 ? ^R Device Control 2
001 0011 023 19 13 DC3 ? ^S Device Control 3 (oft. XOFF)
001 0100 024 20 14 DC4 ? ^T Device Control 4
001 0101 025 21 15 NAK ? ^U Negative Acknowledgement
001 0110 026 22 16 SYN ? ^V Synchronous idle
001 0111 027 23 17 ETB ? ^W End of Transmission Block
001 1000 030 24 18 CAN ? ^X Cancel
001 1001 031 25 19 EM ? ^Y End of Medium
001 1010 032 26 1A SUB ? ^Z Substitute
001 1011 033 27 1B ESC ? ^[ \e
001 1100 034 28 1C FS ? ^\ File Separator
001 1101 035 29 1D GS ? ^] Group Separator
001 1110 036 30 1E RS ? ^^ Record Separator
001 1111 037 31 1F US ? ^_ Unit Separator
111 1111 177 127 7F DEL ? ^? Delete

주석

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}