Merge from vendor branch LIBARCHIVE:
[dragonfly.git] / share / locale / ctype / ja_JP.SJIS.src
1 /*      $NetBSD: src/share/locale/ctype/ja_JP.SJIS.src,v 1.3 2005/03/08 06:35:13 tshiozak Exp $ */
2 /*      $DragonFly: src/share/locale/ctype/ja_JP.SJIS.src,v 1.1 2005/03/11 15:57:42 joerg Exp $ */
3
4 /*
5  *    ja_JP.SJIS locale table for BSD4.4/rune
6  *    version 1.0
7  *    (C) Sin'ichiro MIYATANI / Phase One, Inc
8  *    May 12, 1995
9  *
10  * Redistribution and use in source and binary forms, with or without
11  * modification, are permitted provided that the following conditions
12  * are met:
13  * 1. Redistributions of source code must retain the above copyright
14  *    notice, this list of conditions and the following disclaimer.
15  * 2. Redistributions in binary form must reproduce the above copyright
16  *    notice, this list of conditions and the following disclaimer in the
17  *    documentation and/or other materials provided with the distribution.
18  * 3. All advertising materials mentioning features or use of this software
19  *    must display the following acknowledgement:
20  *      This product includes software developed by Phase One, Inc.
21  * 4. The name of Phase One, Inc. may be used to endorse or promote products
22  *    derived from this software without specific prior written permission.
23  *
24  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
25  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
27  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
28  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34  * SUCH DAMAGE.
35  */
36
37 ENCODING        "MSKanji"
38 VARIABLE        CODESET=SJIS
39
40 /*
41  * ASCII byte code
42  */
43 ALPHA           'A'-'Z' 'a'-'z'
44 CONTROL         0x00-0x1f 0x7f
45 DIGIT           '0'-'9'
46 GRAPH           0x21-0x7e
47 LOWER           'a'-'z'
48 PUNCT           0x21-0x2f 0x3a-0x40 0x5b-0x60 0x7b-0x7e
49 SPACE           0x09-0x0d 0x20
50 UPPER           'A'-'Z'
51 XDIGIT          '0' - '9' 'a'-'f' 'A'-'F'
52 BLANK           ' ' '\t'
53 PRINT           0x20-0x7e
54 SWIDTH1         0x20-0x7e
55
56 MAPLOWER        <'A'-'Z':'a'><'a'-'z':'a'>
57 MAPUPPER        <'A'-'Z':'A'><'a'-'z':'A'>
58 TODIGIT         <'0'-'9':0>
59 TODIGIT         <'A'-'F':10><'a'-'f':10>
60
61 /*
62  * JIS X201
63  */
64 PUNCT           0xa1-0xa5
65 SPACE           0xa0
66 BLANK           0xa0
67 PRINT           0xa0-0xdf
68 SPECIAL         0xa1-0xdf
69 PHONOGRAM       0xa6-0xdf
70 SWIDTH1         0xa0-0xdf
71
72 /*
73  * JIS X208/SJIS
74  */
75 /* 100 */
76 PUNCT           0x8141-0x8151 0x8159-0x815a 0x815c-0x817e 0x8180-0x819e
77 SPACE           0x8140
78 PHONOGRAM       0x8152-0x8158 0x815b
79
80 /* 200 */
81 PUNCT           0x819f-0x81ac 0x81b8-0x81bf 0x81c8-0x81ce 0x81da-0x81e8
82 PUNCT           0x81f0-0x81f7 0x81fc
83
84 /* 300 */
85 DIGIT           0x824f-0x8258
86 XDIGIT          0x8260-0x8265 0x8281-0x8286
87 ALPHA           0x8260-0x8279 0x8281-0x829a
88 UPPER           0x8260-0x8279
89 LOWER           0x8281-0x829a
90
91 MAPLOWER        <0x8260-0x8279:0x8281>
92 MAPLOWER        <0x8281-0x829a:0x8281>
93 MAPUPPER        <0x8260-0x8279:0x8260>
94 MAPUPPER        <0x8281-0x829a:0x8260>
95 TODIGIT         <0x824f-0x8258:0>
96 TODIGIT         <0x8260-0x8265:10>
97 TODIGIT         <0x8281-0x8286:10>
98
99 /* 400 */
100 PHONOGRAM       0x829f-0x82f1
101
102 /* 500 */
103 PHONOGRAM       0x8340-0x837e
104 PHONOGRAM       0x8380-0x8396
105
106 /* 600 */
107 UPPER           0x839f-0x83b6
108 LOWER           0x83bf-0x83d6
109 MAPLOWER        <0x839f-0x83b6:0x83bf>
110 MAPLOWER        <0x83bf-0x83d6:0x83bf>
111 MAPUPPER        <0x839f-0x83b6:0x839f>
112 MAPUPPER        <0x83bf-0x83d6:0x839f>
113
114 /* 700 */
115 UPPER           0x8440-0x8460
116 LOWER           0x8470-0x847e 0x8480-0x8491
117 MAPLOWER        <0x8440-0x844e:0x8470><0x844f-0x8460:0x8480>
118 MAPLOWER        <0x8470-0x847e:0x8470><0x8480-0x8491:0x8480>
119 MAPUPPER        <0x8440-0x8460:0x8440>
120 MAPUPPER        <0x8470-0x847e:0x8440><0x8480-0x8491:0x844f>
121
122 /* 800 */
123 SPECIAL         0x849f-0x84be
124
125 SWIDTH2         0x8140-0x817e 0x8180-0x819e     /* 100 */
126 SWIDTH2         0x819f-0x81ac 0x81b8-0x81bf     /* 200 */
127 SWIDTH2         0x81c8-0x81ce 0x81da-0x81e8
128 SWIDTH2         0x81f0-0x81f7 0x81fc
129 SWIDTH2         0x824f-0x8258 0x8260-0x8279     /* 300 */
130 SWIDTH2         0x8281-0x829a
131 SWIDTH2         0x829f-0x82f1                   /* 400 */
132 SWIDTH2         0x8340-0x837e                   /* 500 */
133 SWIDTH2         0x8380-0x8396
134 SWIDTH2         0x839f-0x83b6                   /* 600 */
135 SWIDTH2         0x83bf-0x83d6
136 SWIDTH2         0x8440-0x8460                   /* 700 */
137 SWIDTH2         0x8470-0x847e 0x8480-0x8491
138 SWIDTH2         0x849f-0x84be                   /* 800 */
139
140 /* 1600- */
141 IDEOGRAM        0x889f-0x88fc                   /* 1600 */
142 IDEOGRAM        0x8940-0x897e 0x8980-0x899e     /* 1700 */
143 IDEOGRAM        0x899f-0x89fc                   /* 1800 */
144 IDEOGRAM        0x8a40-0x8a7e 0x8a80-0x8a9e     /* 1900 */
145 IDEOGRAM        0x8a9f-0x8afc                   /* 2000 */
146 IDEOGRAM        0x8b40-0x8b7e 0x8b80-0x8b9e     /* 2100 */
147 IDEOGRAM        0x8b9f-0x8bfc                   /* 2200 */
148 IDEOGRAM        0x8c40-0x8c7e 0x8c80-0x8c9e     /* 2300 */
149 IDEOGRAM        0x8c9f-0x8cfc                   /* 2400 */
150 IDEOGRAM        0x8d40-0x8d7e 0x8d80-0x8d9e     /* 2500 */
151 IDEOGRAM        0x8d9f-0x8dfc                   /* 2600 */
152 IDEOGRAM        0x8e40-0x8e7e 0x8e80-0x8e9e     /* 2700 */
153 IDEOGRAM        0x8e9f-0x8efc                   /* 2800 */
154 IDEOGRAM        0x8f40-0x8f7e 0x8f80-0x8f9e     /* 2900 */
155 IDEOGRAM        0x8f9f-0x8ffc                   /* 3000 */
156 IDEOGRAM        0x9040-0x907e 0x9080-0x909e     /* 3100 */
157 IDEOGRAM        0x909f-0x90fc                   /* 3200 */
158 IDEOGRAM        0x9140-0x917e 0x9180-0x919e     /* 3300 */
159 IDEOGRAM        0x919f-0x91fc                   /* 3400 */
160 IDEOGRAM        0x9240-0x927e 0x9280-0x929e     /* 3500 */
161 IDEOGRAM        0x929f-0x92fc                   /* 3600 */
162 IDEOGRAM        0x9340-0x937e 0x9380-0x939e     /* 3700 */
163 IDEOGRAM        0x939f-0x93fc                   /* 3800 */
164 IDEOGRAM        0x9440-0x947e 0x9480-0x949e     /* 3900 */
165 IDEOGRAM        0x949f-0x94fc                   /* 4000 */
166 IDEOGRAM        0x9540-0x957e 0x9580-0x959e     /* 4100 */
167 IDEOGRAM        0x959f-0x95fc                   /* 4200 */
168 IDEOGRAM        0x9640-0x967e 0x9680-0x969e     /* 4300 */
169 IDEOGRAM        0x969f-0x96fc                   /* 4400 */
170 IDEOGRAM        0x9740-0x977e 0x9780-0x979e     /* 4500 */
171 IDEOGRAM        0x979f-0x97fc                   /* 4600 */
172 IDEOGRAM        0x9840-0x987e 0x9880-0x989e     /* 4700 */
173 IDEOGRAM        0x989f-0x98fc                   /* 4800 */
174 IDEOGRAM        0x9940-0x997e 0x9980-0x999e     /* 4900 */
175 IDEOGRAM        0x999f-0x99fc                   /* 5000 */
176 IDEOGRAM        0x9a40-0x9a7e 0x9a80-0x9a9e     /* 5100 */
177 IDEOGRAM        0x9a9f-0x9afc                   /* 5200 */
178 IDEOGRAM        0x9b40-0x9b7e 0x9b80-0x9b9e     /* 5300 */
179 IDEOGRAM        0x9b9f-0x9bfc                   /* 5400 */
180 IDEOGRAM        0x9c40-0x9c7e 0x9c80-0x9c9e     /* 5500 */
181 IDEOGRAM        0x9c9f-0x9cfc                   /* 5600 */
182 IDEOGRAM        0x9d40-0x9d7e 0x9d80-0x9d9e     /* 5700 */
183 IDEOGRAM        0x9d9f-0x9dfc                   /* 5800 */
184 IDEOGRAM        0x9e40-0x9e7e 0x9e80-0x9e9e     /* 5900 */
185 IDEOGRAM        0x9e9f-0x9efc                   /* 6000 */
186 IDEOGRAM        0x9f40-0x9f7e 0x9f80-0x9f9e     /* 6100 */
187 IDEOGRAM        0x9f9f-0x9ffc                   /* 6200 */
188 IDEOGRAM        0xe040-0xe07e 0xe080-0xe09e     /* 6300 */
189 IDEOGRAM        0xe09f-0xe0fc                   /* 6400 */
190 IDEOGRAM        0xe140-0xe17e 0xe180-0xe19e     /* 6500 */
191 IDEOGRAM        0xe19f-0xe1fc                   /* 6600 */
192 IDEOGRAM        0xe240-0xe27e 0xe280-0xe29e     /* 6700 */
193 IDEOGRAM        0xe29f-0xe2fc                   /* 6800 */
194 IDEOGRAM        0xe340-0xe37e 0xe380-0xe39e     /* 6900 */
195 IDEOGRAM        0xe39f-0xe3fc                   /* 7000 */
196 IDEOGRAM        0xe440-0xe47e 0xe480-0xe49e     /* 7100 */
197 IDEOGRAM        0xe49f-0xe4fc                   /* 7200 */
198 IDEOGRAM        0xe540-0xe57e 0xe580-0xe59e     /* 7300 */
199 IDEOGRAM        0xe59f-0xe5fc                   /* 7400 */
200 IDEOGRAM        0xe640-0xe67e 0xe680-0xe69e     /* 7500 */
201 IDEOGRAM        0xe69f-0xe6fc                   /* 7600 */
202 IDEOGRAM        0xe740-0xe77e 0xe780-0xe79e     /* 7700 */
203 IDEOGRAM        0xe79f-0xe7fc                   /* 7800 */
204 IDEOGRAM        0xe840-0xe87e 0xe880-0xe89e     /* 7900 */
205 IDEOGRAM        0xe89f-0xe8fc                   /* 8000 */
206 IDEOGRAM        0xe940-0xe97e 0xe980-0xe99e     /* 8100 */
207 IDEOGRAM        0xe99f-0xe9fc                   /* 8200 */
208 IDEOGRAM        0xea40-0xea7e 0xea80-0xea9e     /* 8300 */
209 IDEOGRAM        0xea9f-0xeaa4                   /* 8400 */
210
211 SWIDTH2         0x889f-0x88fc                   /* 1600 */
212 SWIDTH2         0x8940-0x897e 0x8980-0x899e     /* 1700 */
213 SWIDTH2         0x899f-0x89fc                   /* 1800 */
214 SWIDTH2         0x8a40-0x8a7e 0x8a80-0x8a9e     /* 1900 */
215 SWIDTH2         0x8a9f-0x8afc                   /* 2000 */
216 SWIDTH2         0x8b40-0x8b7e 0x8b80-0x8b9e     /* 2100 */
217 SWIDTH2         0x8b9f-0x8bfc                   /* 2200 */
218 SWIDTH2         0x8c40-0x8c7e 0x8c80-0x8c9e     /* 2300 */
219 SWIDTH2         0x8c9f-0x8cfc                   /* 2400 */
220 SWIDTH2         0x8d40-0x8d7e 0x8d80-0x8d9e     /* 2500 */
221 SWIDTH2         0x8d9f-0x8dfc                   /* 2600 */
222 SWIDTH2         0x8e40-0x8e7e 0x8e80-0x8e9e     /* 2700 */
223 SWIDTH2         0x8e9f-0x8efc                   /* 2800 */
224 SWIDTH2         0x8f40-0x8f7e 0x8f80-0x8f9e     /* 2900 */
225 SWIDTH2         0x8f9f-0x8ffc                   /* 3000 */
226 SWIDTH2         0x9040-0x907e 0x9080-0x909e     /* 3100 */
227 SWIDTH2         0x909f-0x90fc                   /* 3200 */
228 SWIDTH2         0x9140-0x917e 0x9180-0x919e     /* 3300 */
229 SWIDTH2         0x919f-0x91fc                   /* 3400 */
230 SWIDTH2         0x9240-0x927e 0x9280-0x929e     /* 3500 */
231 SWIDTH2         0x929f-0x92fc                   /* 3600 */
232 SWIDTH2         0x9340-0x937e 0x9380-0x939e     /* 3700 */
233 SWIDTH2         0x939f-0x93fc                   /* 3800 */
234 SWIDTH2         0x9440-0x947e 0x9480-0x949e     /* 3900 */
235 SWIDTH2         0x949f-0x94fc                   /* 4000 */
236 SWIDTH2         0x9540-0x957e 0x9580-0x959e     /* 4100 */
237 SWIDTH2         0x959f-0x95fc                   /* 4200 */
238 SWIDTH2         0x9640-0x967e 0x9680-0x969e     /* 4300 */
239 SWIDTH2         0x969f-0x96fc                   /* 4400 */
240 SWIDTH2         0x9740-0x977e 0x9780-0x979e     /* 4500 */
241 SWIDTH2         0x979f-0x97fc                   /* 4600 */
242 SWIDTH2         0x9840-0x987e 0x9880-0x989e     /* 4700 */
243 SWIDTH2         0x989f-0x98fc                   /* 4800 */
244 SWIDTH2         0x9940-0x997e 0x9980-0x999e     /* 4900 */
245 SWIDTH2         0x999f-0x99fc                   /* 5000 */
246 SWIDTH2         0x9a40-0x9a7e 0x9a80-0x9a9e     /* 5100 */
247 SWIDTH2         0x9a9f-0x9afc                   /* 5200 */
248 SWIDTH2         0x9b40-0x9b7e 0x9b80-0x9b9e     /* 5300 */
249 SWIDTH2         0x9b9f-0x9bfc                   /* 5400 */
250 SWIDTH2         0x9c40-0x9c7e 0x9c80-0x9c9e     /* 5500 */
251 SWIDTH2         0x9c9f-0x9cfc                   /* 5600 */
252 SWIDTH2         0x9d40-0x9d7e 0x9d80-0x9d9e     /* 5700 */
253 SWIDTH2         0x9d9f-0x9dfc                   /* 5800 */
254 SWIDTH2         0x9e40-0x9e7e 0x9e80-0x9e9e     /* 5900 */
255 SWIDTH2         0x9e9f-0x9efc                   /* 6000 */
256 SWIDTH2         0x9f40-0x9f7e 0x9f80-0x9f9e     /* 6100 */
257 SWIDTH2         0x9f9f-0x9ffc                   /* 6200 */
258 SWIDTH2         0xe040-0xe07e 0xe080-0xe09e     /* 6300 */
259 SWIDTH2         0xe09f-0xe0fc                   /* 6400 */
260 SWIDTH2         0xe140-0xe17e 0xe180-0xe19e     /* 6500 */
261 SWIDTH2         0xe19f-0xe1fc                   /* 6600 */
262 SWIDTH2         0xe240-0xe27e 0xe280-0xe29e     /* 6700 */
263 SWIDTH2         0xe29f-0xe2fc                   /* 6800 */
264 SWIDTH2         0xe340-0xe37e 0xe380-0xe39e     /* 6900 */
265 SWIDTH2         0xe39f-0xe3fc                   /* 7000 */
266 SWIDTH2         0xe440-0xe47e 0xe480-0xe49e     /* 7100 */
267 SWIDTH2         0xe49f-0xe4fc                   /* 7200 */
268 SWIDTH2         0xe540-0xe57e 0xe580-0xe59e     /* 7300 */
269 SWIDTH2         0xe59f-0xe5fc                   /* 7400 */
270 SWIDTH2         0xe640-0xe67e 0xe680-0xe69e     /* 7500 */
271 SWIDTH2         0xe69f-0xe6fc                   /* 7600 */
272 SWIDTH2         0xe740-0xe77e 0xe780-0xe79e     /* 7700 */
273 SWIDTH2         0xe79f-0xe7fc                   /* 7800 */
274 SWIDTH2         0xe840-0xe87e 0xe880-0xe89e     /* 7900 */
275 SWIDTH2         0xe89f-0xe8fc                   /* 8000 */
276 SWIDTH2         0xe940-0xe97e 0xe980-0xe99e     /* 8100 */
277 SWIDTH2         0xe99f-0xe9fc                   /* 8200 */
278 SWIDTH2         0xea40-0xea7e 0xea80-0xea9e     /* 8300 */
279 SWIDTH2         0xea9f-0xeaa4                   /* 8400 */