OSDN Git Service

Convert release and draft pages to UTF-8.
[linuxjm/jm.git] / manual / LDP_man-pages / release / man7 / ascii.7
1 '\" t
2 .\" Copyright (c) 1993 Michael Haardt (u31b3hs@pool.informatik.rwth-aachen.de)
3 .\" Created Fri Apr  2 11:32:09 MET DST 1993
4 .\"
5 .\" This is free documentation; you can redistribute it and/or
6 .\" modify it under the terms of the GNU General Public License as
7 .\" published by the Free Software Foundation; either version 2 of
8 .\" the License, or (at your option) any later version.
9 .\"
10 .\" The GNU General Public License's references to "object code"
11 .\" and "executables" are to be interpreted as the output of any
12 .\" document formatting or typesetting system, including
13 .\" intermediate and printed output.
14 .\"
15 .\" This manual is distributed in the hope that it will be useful,
16 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
17 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 .\" GNU General Public License for more details.
19 .\"
20 .\" You should have received a copy of the GNU General Public
21 .\" License along with this manual; if not, write to the Free
22 .\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
23 .\" USA.
24 .\"
25 .\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu)
26 .\" Modified 1994-05-15 by Daniel Quinlan (quinlan@yggdrasil.com)
27 .\" Modified 1994-11-22 by Daniel Quinlan (quinlan@yggdrasil.com)
28 .\" Modified 1995-07-11 by Daniel Quinlan (quinlan@yggdrasil.com)
29 .\" Modified 1996-12-18 by Michael Haardt and aeb
30 .\" Modified 1999-05-31 by Dimitri Papadopoulos (dpo@club-internet.fr)
31 .\" Modified 1999-08-08 by Michael Haardt (michael@moria.de)
32 .\" Modified 2004-04-01 by aeb
33 .\"
34 .\" Japanese Version Copyright (c) 1997-1999 HANATAKA Shinya
35 .\"         all rights reserved.
36 .\" Translated 1997-06-03, HANATAKA Shinya <hanataka@abyss.rim.or.jp>
37 .\" Modified 1999-11-27, HANATAKA Shinya <hanataka@abyss.rim.or.jp>
38 .\" Modified 2005-02-21, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
39 .\"
40 .TH ASCII 7 2009-02-12 "Linux" "Linux Programmer's Manual"
41 .SH 名前
42 ascii \- ASCII 文字集合の 8 進数、10 進数、16 進数による符号化
43 .SH 説明
44 ASCII は、情報交換用米国標準コード (American Standard Code for
45 Information Interchange) の略で、7 ビットのコードである。
46 (ISO 8859-1 のような) 多くの 8 ビットのコードでは下半分に
47 ASCII を含んでいる。ASCII は国際的な規格では ISO 646 として知られている。
48 .LP
49 以下の表は 128 文字の ASCII 文字をまとめたものである。
50 .LP
51 C プログラムでの \f(CW\(aq\eX\(aq\fP エスケープも注記してある。
52 .if t \{\
53 .in 1i
54 .ft CW
55 \}
56 .TS
57 l l l l l l l l.
58 Oct     Dec     Hex     Char    Oct     Dec     Hex     Char
59 _
60 000     0       00      NUL \(aq\e0\(aq 100     64      40      @
61 001     1       01      SOH (ヘッダ開始)   101     65      41      A
62 002     2       02      STX (テキスト開始)        102     66      42      B
63 003     3       03      ETX (テキスト終了)        103     67      43      C
64 004     4       04      EOT (転送終了)      104     68      44      D
65 005     5       05      ENQ (問い合わせ)   105     69      45      E
66 006     6       06      ACK (肯定応答)      106     70      46      F
67 007     7       07      BEL \(aq\ea\(aq (ベル)        107     71      47      G
68 010     8       08      BS  \(aq\eb\(aq (バックスペース) 110     72      48      H
69 011     9       09      HT  \(aq\et\(aq (水平タブ)  111     73      49      I
70 012     10      0A      LF  \(aq\en\(aq (改行)        112     74      4A      J
71 013     11      0B      VT  \(aq\ev\(aq (垂直タブ)  113     75      4B      K
72 014     12      0C      FF  \(aq\ef\(aq (改ページ)  114     76      4C      L
73 015     13      0D      CR  \(aq\er\(aq (復帰)        115     77      4D      M
74 016     14      0E      SO  (シフトアウト)        116     78      4E      N
75 017     15      0F      SI  (シフトイン)   117     79      4F      O
76 020     16      10      DLE (伝送制御拡張)        120     80      50      P
77 021     17      11      DC1 (装置制御1)     121     81      51      Q
78 022     18      12      DC2 (装置制御2)     122     82      52      R
79 023     19      13      DC3 (装置制御3)     123     83      53      S
80 024     20      14      DC4 (装置制御4)     124     84      54      T
81 025     21      15      NAK (否定応答)      125     85      55      U
82 026     22      16      SYN (同期)    126     86      56      V
83 027     23      17      ETB (転送ブロック終了)  127     87      57      W
84 030     24      18      CAN (キャンセル)   130     88      58      X
85 031     25      19      EM  (メディア終了)        131     89      59      Y
86 032     26      1A      SUB (置換)    132     90      5A      Z
87 033     27      1B      ESC (エスケープ)   133     91      5B      [
88 034     28      1C      FS  (ファイル区切り)     134     92      5C      \e  \(aq\e\e\(aq
89 035     29      1D      GS  (グループ区切り)     135     93      5D      ]
90 036     30      1E      RS  (レコード区切り)     136     94      5E      ^
91 037     31      1F      US  (ユニット区切り)     137     95      5F      \&_
92 040     32      20      SPACE   140     96      60      \`
93 041     33      21      !       141     97      61      a
94 042     34      22      "       142     98      62      b
95 043     35      23      #       143     99      63      c
96 044     36      24      $       144     100     64      d
97 045     37      25      %       145     101     65      e
98 046     38      26      &       146     102     66      f
99 047     39      27      \'      147     103     67      g
100 050     40      28      (       150     104     68      h
101 051     41      29      )       151     105     69      i
102 052     42      2A      *       152     106     6A      j
103 053     43      2B      +       153     107     6B      k
104 054     44      2C      ,       154     108     6C      l
105 055     45      2D      \-      155     109     6D      m
106 056     46      2E      .       156     110     6E      n
107 057     47      2F      /       157     111     6F      o
108 060     48      30      0       160     112     70      p
109 061     49      31      1       161     113     71      q
110 062     50      32      2       162     114     72      r
111 063     51      33      3       163     115     73      s
112 064     52      34      4       164     116     74      t
113 065     53      35      5       165     117     75      u
114 066     54      36      6       166     118     76      v
115 067     55      37      7       167     119     77      w
116 070     56      38      8       170     120     78      x
117 071     57      39      9       171     121     79      y
118 072     58      3A      :       172     122     7A      z
119 073     59      3B      ;       173     123     7B      {
120 074     60      3C      <       174     124     7C      |
121 075     61      3D      =       175     125     7D      }
122 076     62      3E      >       176     126     7E      ~
123 077     63      3F      ?       177     127     7F      DEL
124 .TE
125 .if t \{\
126 .in
127 .ft P
128 \}
129 .SS 表
130 便利なので、16進形式と10進形式の簡潔な表を載せておく。
131 .sp
132 .nf
133 .if t \{\
134 .in 1i
135 .ft CW
136 \}
137    2 3 4 5 6 7       30 40 50 60 70 80 90 100 110 120
138  -------------      ---------------------------------
139 0:   0 @ P \` p     0:    (  2  <  F  P  Z  d   n   x
140 1: ! 1 A Q a q     1:    )  3  =  G  Q  [  e   o   y
141 2: " 2 B R b r     2:    *  4  >  H  R  \e  f   p   z
142 3: # 3 C S c s     3: !  +  5  ?  I  S  ]  g   q   {
143 4: $ 4 D T d t     4: "  ,  6  @  J  T  ^  h   r   |
144 5: % 5 E U e u     5: #  \-  7  A  K  U  _  i   s   }
145 6: & 6 F V f v     6: $  .  8  B  L  V  \`  j   t   ~
146 7: \' 7 G W g w     7: %  /  9  C  M  W  a  k   u  DEL
147 8: ( 8 H X h x     8: &  0  :  D  N  X  b  l   v
148 9: ) 9 I Y i y     9: \'  1  ;  E  O  Y  c  m   w
149 A: * : J Z j z
150 B: + ; K [ k {
151 C: , < L \e l |
152 D: \- = M ] m }
153 E: . > N ^ n ~
154 F: / ? O _ o DEL
155 .if t \{\
156 .in
157 .ft P
158 \}
159 .fi
160 .SH 備考
161 .SS 歴史
162 .B ascii
163 のマニュアルは AT&T UNIX Version 7 で登場した。
164 .LP
165 古い端末では、アンダースコアがバックアロー (backarrow) と呼ばれる
166 左向きの矢印で表示される、またキャレットが上向きの矢印で表示され、
167 縦棒 (vertcal bar) では真ん中に穴がある。
168 .LP
169 大文字 (uppercase) と小文字 (lowercase) は 1 ビットだけ異なっている。
170 ASCII の文字 2 はダブルクォートとは 1 ビットだけ異なっている。
171 これによって機械式キーボードやマイコン制御でない電子キーボードで
172 キーコード化することが簡単になる。また、古いテレタイプでもこの
173 組み合わせが使用されていた。(訳注: JIS キー配列もその一種)
174 .LP
175 ASCII 規格は米国規格協会
176 (USASI : United States of America Standards Institute) によって
177 1968年に発行された。
178 .\"
179 .\" ASA was the American Standards Association and X3 was an ASA sectional
180 .\" committee on computers and data processing.  Its name changed to
181 .\" American National Standards Committee X3 (ANSC-X3) and now it is known
182 .\" as Accredited Standards Committee X3 (ASC X3).  It is accredited by ANSI
183 .\" and administered by ITI.  The subcommittee X3.2 worked on coded
184 .\" character sets; the task group working on ASCII appears to have been
185 .\" designated X3.2.4.  In 1966, ASA became the United States of America
186 .\" Standards Institute (USASI) and published ASCII in 1968.  It became the
187 .\" American National Standards Institute (ANSI) in 1969 and is the
188 .\" U.S. member body of ISO; private and nonprofit.
189 .\"
190 .SH 関連項目
191 .BR iso_8859-1 (7),
192 .BR iso_8859-10 (7),
193 .BR iso_8859-13 (7),
194 .BR iso_8859-14 (7),
195 .BR iso_8859-15 (7),
196 .BR iso_8859-16 (7),
197 .BR iso_8859-2 (7),
198 .BR iso_8859-3 (7),
199 .BR iso_8859-4 (7),
200 .BR iso_8859-5 (7),
201 .BR iso_8859-6 (7),
202 .BR iso_8859-7 (7),
203 .BR iso_8859-8 (7),
204 .BR iso_8859-9 (7)