xref: /illumos-gate/usr/src/lib/iconv_modules/utf-8/common/binarytables/srcs/IBM-424+UTF-8.src (revision 16d8656330ae5622ec32e5007f62145ebafdc50f)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21/*
22 * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23 * Use is subject to license terms.
24 */
25/*
26 *  ICU License - ICU 1.8.1 and later
27 *
28 *  COPYRIGHT AND PERMISSION NOTICE
29 *
30 * Copyright (c) 1995-2005 International Business Machines Corporation and others
31 * All rights reserved.
32 *
33 * Permission is hereby granted, free of charge, to any person obtaining a
34 * copy of this software and associated documentation files (the
35 * "Software"), to deal in the Software without restriction, including
36 * without limitation the rights to use, copy, modify, merge, publish,
37 * distribute, and/or sell copies of the Software, and to permit persons
38 * to whom the Software is furnished to do so, provided that the above
39 * copyright notice(s) and this permission notice appear in all copies of
40 * the Software and that both the above copyright notice(s) and this
41 * permission notice appear in supporting documentation.
42 *
43 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
44 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
45 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
46 * OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
47 * HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
48 * INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
49 * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
50 * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
51 * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
52 *
53 * Except as contained in this notice, the name of a copyright holder
54 * shall not be used in advertising or otherwise to promote the sale, use
55 * or other dealings in this Software without prior written authorization
56 * of the copyright holder.
57 *
58 * --------------------------------------------------------------------------
59 * All trademarks and registered trademarks mentioned herein are the property
60 * of their respective owners.
61 */
62
63system%utf8 {
64   direction {
65	@condition {
66		@between 0X0...0X3;
67	} @map {
68		0x00	0x00	// U+0000
69		0x01	0x01	// U+0001
70		0x02	0x02	// U+0002
71		0x03	0x03	// U+0003
72	};
73	@condition {
74		@between 0X4...0X4;
75	} @map {
76		0x04	0xC29C	// U+009C
77	};
78	@condition {
79		@between 0X5...0X5;
80	} @map {
81		0x05	0x09	// U+0009
82	};
83	@condition {
84		@between 0X6...0X6;
85	} @map {
86		0x06	0xC286	// U+0086
87	};
88	@condition {
89		@between 0X7...0X7;
90	} @map {
91		0x07	0x7F	// U+007F
92	};
93	@condition {
94		@between 0X8...0XA;
95	} @map {
96		0x08	0xC297	// U+0097
97		0x09	0xC28D	// U+008D
98		0x0A	0xC28E	// U+008E
99	};
100	@condition {
101		@between 0XB...0X13;
102	} @map {
103		0x0B	0x0B	// U+000B
104		0x0C	0x0C	// U+000C
105		0x0D	0x0D	// U+000D
106		0x0E	0x0E	// U+000E
107		0x0F	0x0F	// U+000F
108		0x10	0x10	// U+0010
109		0x11	0x11	// U+0011
110		0x12	0x12	// U+0012
111		0x13	0x13	// U+0013
112	};
113	@condition {
114		@between 0X14...0X15;
115	} @map {
116		0x14	0xC29D	// U+009D
117		0x15	0xC285	// U+0085
118	};
119	@condition {
120		@between 0X16...0X16;
121	} @map {
122		0x16	0x08	// U+0008
123	};
124	@condition {
125		@between 0X17...0X17;
126	} @map {
127		0x17	0xC287	// U+0087
128	};
129	@condition {
130		@between 0X18...0X19;
131	} @map {
132		0x18	0x18	// U+0018
133		0x19	0x19	// U+0019
134	};
135	@condition {
136		@between 0X1A...0X1B;
137	} @map {
138		0x1A	0xC292	// U+0092
139		0x1B	0xC28F	// U+008F
140	};
141	@condition {
142		@between 0X1C...0X1F;
143	} @map {
144		0x1C	0x1C	// U+001C
145		0x1D	0x1D	// U+001D
146		0x1E	0x1E	// U+001E
147		0x1F	0x1F	// U+001F
148	};
149	@condition {
150		@between 0X20...0X24;
151	} @map {
152		0x20	0xC280	// U+0080
153		0x21	0xC281	// U+0081
154		0x22	0xC282	// U+0082
155		0x23	0xC283	// U+0083
156		0x24	0xC284	// U+0084
157	};
158	@condition {
159		@between 0X25...0X27;
160	} @map {
161		0x25	0x0A	// U+000A
162		0x26	0x17	// U+0017
163		0x27	0x1B	// U+001B
164	};
165	@condition {
166		@between 0X28...0X2C;
167	} @map {
168		0x28	0xC288	// U+0088
169		0x29	0xC289	// U+0089
170		0x2A	0xC28A	// U+008A
171		0x2B	0xC28B	// U+008B
172		0x2C	0xC28C	// U+008C
173	};
174	@condition {
175		@between 0X2D...0X2F;
176	} @map {
177		0x2D	0x05	// U+0005
178		0x2E	0x06	// U+0006
179		0x2F	0x07	// U+0007
180	};
181	@condition {
182		@between 0X30...0X31;
183	} @map {
184		0x30	0xC290	// U+0090
185		0x31	0xC291	// U+0091
186	};
187	@condition {
188		@between 0X32...0X32;
189	} @map {
190		0x32	0x16	// U+0016
191	};
192	@condition {
193		@between 0X33...0X36;
194	} @map {
195		0x33	0xC293	// U+0093
196		0x34	0xC294	// U+0094
197		0x35	0xC295	// U+0095
198		0x36	0xC296	// U+0096
199	};
200	@condition {
201		@between 0X37...0X37;
202	} @map {
203		0x37	0x04	// U+0004
204	};
205	@condition {
206		@between 0X38...0X3B;
207	} @map {
208		0x38	0xC298	// U+0098
209		0x39	0xC299	// U+0099
210		0x3A	0xC29A	// U+009A
211		0x3B	0xC29B	// U+009B
212	};
213	@condition {
214		@between 0X3C...0X3D;
215	} @map {
216		0x3C	0x14	// U+0014
217		0x3D	0x15	// U+0015
218	};
219	@condition {
220		@between 0X3E...0X3E;
221	} @map {
222		0x3E	0xC29E	// U+009E
223	};
224	@condition {
225		@between 0X3F...0X40;
226	} @map {
227		0x3F	0x1A	// U+001A
228		0x40	0x20	// U+0020
229	};
230	@condition {
231		@between 0X41...0X4A;
232	} @map {
233		0x41	0xD790	// U+05D0
234		0x42	0xD791	// U+05D1
235		0x43	0xD792	// U+05D2
236		0x44	0xD793	// U+05D3
237		0x45	0xD794	// U+05D4
238		0x46	0xD795	// U+05D5
239		0x47	0xD796	// U+05D6
240		0x48	0xD797	// U+05D7
241		0x49	0xD798	// U+05D8
242		0x4A	0xC2A2	// U+00A2
243	};
244	@condition {
245		@between 0X4B...0X50;
246	} @map {
247		0x4B	0x2E	// U+002E
248		0x4C	0x3C	// U+003C
249		0x4D	0x28	// U+0028
250		0x4E	0x2B	// U+002B
251		0x4F	0x7C	// U+007C
252		0x50	0x26	// U+0026
253	};
254	@condition {
255		@between 0X51...0X59;
256	} @map {
257		0x51	0xD799	// U+05D9
258		0x52	0xD79A	// U+05DA
259		0x53	0xD79B	// U+05DB
260		0x54	0xD79C	// U+05DC
261		0x55	0xD79D	// U+05DD
262		0x56	0xD79E	// U+05DE
263		0x57	0xD79F	// U+05DF
264		0x58	0xD7A0	// U+05E0
265		0x59	0xD7A1	// U+05E1
266	};
267	@condition {
268		@between 0X5A...0X5E;
269	} @map {
270		0x5A	0x21	// U+0021
271		0x5B	0x24	// U+0024
272		0x5C	0x2A	// U+002A
273		0x5D	0x29	// U+0029
274		0x5E	0x3B	// U+003B
275	};
276	@condition {
277		@between 0X5F...0X5F;
278	} @map {
279		0x5F	0xC2AC	// U+00AC
280	};
281	@condition {
282		@between 0X60...0X61;
283	} @map {
284		0x60	0x2D	// U+002D
285		0x61	0x2F	// U+002F
286	};
287	@condition {
288		@between 0X62...0X6A;
289	} @map {
290		0x62	0xD7A2	// U+05E2
291		0x63	0xD7A3	// U+05E3
292		0x64	0xD7A4	// U+05E4
293		0x65	0xD7A5	// U+05E5
294		0x66	0xD7A6	// U+05E6
295		0x67	0xD7A7	// U+05E7
296		0x68	0xD7A8	// U+05E8
297		0x69	0xD7A9	// U+05E9
298		0x6A	0xC2A6	// U+00A6
299	};
300	@condition {
301		@between 0X6B...0X70;
302	} @map {
303		0x6B	0x2C	// U+002C
304		0x6C	0x25	// U+0025
305		0x6D	0x5F	// U+005F
306		0x6E	0x3E	// U+003E
307		0x6F	0x3F	// U+003F
308	};
309	@condition {
310		@between 0X71...0X77;
311	} @map {
312		0x71	0xD7AA	// U+05EA
313		0x74	0xC2A0	// U+00A0
314	};
315	@condition {
316		@between 0X78...0X78;
317	} @map {
318		0x78	0xE28097	// U+2017
319	};
320	@condition {
321		@between 0X79...0X89;
322	} @map {
323		0x79	0x60	// U+0060
324		0x7A	0x3A	// U+003A
325		0x7B	0x23	// U+0023
326		0x7C	0x40	// U+0040
327		0x7D	0x27	// U+0027
328		0x7E	0x3D	// U+003D
329		0x7F	0x22	// U+0022
330		0x81	0x61	// U+0061
331		0x82	0x62	// U+0062
332		0x83	0x63	// U+0063
333		0x84	0x64	// U+0064
334		0x85	0x65	// U+0065
335		0x86	0x66	// U+0066
336		0x87	0x67	// U+0067
337		0x88	0x68	// U+0068
338		0x89	0x69	// U+0069
339	};
340	@condition {
341		@between 0X8A...0X90;
342	} @map {
343		0x8A	0xC2AB	// U+00AB
344		0x8B	0xC2BB	// U+00BB
345		0x8F	0xC2B1	// U+00B1
346		0x90	0xC2B0	// U+00B0
347	};
348	@condition {
349		@between 0X91...0X9C;
350	} @map {
351		0x91	0x6A	// U+006A
352		0x92	0x6B	// U+006B
353		0x93	0x6C	// U+006C
354		0x94	0x6D	// U+006D
355		0x95	0x6E	// U+006E
356		0x96	0x6F	// U+006F
357		0x97	0x70	// U+0070
358		0x98	0x71	// U+0071
359		0x99	0x72	// U+0072
360	};
361	@condition {
362		@between 0X9D...0XA0;
363	} @map {
364		0x9D	0xC2B8	// U+00B8
365		0x9F	0xC2A4	// U+00A4
366		0xA0	0xC2B5	// U+00B5
367	};
368	@condition {
369		@between 0XA1...0XAE;
370	} @map {
371		0xA1	0x7E	// U+007E
372		0xA2	0x73	// U+0073
373		0xA3	0x74	// U+0074
374		0xA4	0x75	// U+0075
375		0xA5	0x76	// U+0076
376		0xA6	0x77	// U+0077
377		0xA7	0x78	// U+0078
378		0xA8	0x79	// U+0079
379		0xA9	0x7A	// U+007A
380	};
381	@condition {
382		@between 0XAF...0XAF;
383	} @map {
384		0xAF	0xC2AE	// U+00AE
385	};
386	@condition {
387		@between 0XB0...0XB0;
388	} @map {
389		0xB0	0x5E	// U+005E
390	};
391	@condition {
392		@between 0XB1...0XB2;
393	} @map {
394		0xB1	0xC2A3	// U+00A3
395		0xB2	0xC2A5	// U+00A5
396	};
397	@condition {
398		@between 0XB3...0XB3;
399	} @map {
400		0xB3	0xE280A2	// U+2022
401	};
402	@condition {
403		@between 0XB4...0XB9;
404	} @map {
405		0xB4	0xC2A9	// U+00A9
406		0xB5	0xC2A7	// U+00A7
407		0xB6	0xC2B6	// U+00B6
408		0xB7	0xC2BC	// U+00BC
409		0xB8	0xC2BD	// U+00BD
410		0xB9	0xC2BE	// U+00BE
411	};
412	@condition {
413		@between 0XBA...0XBB;
414	} @map {
415		0xBA	0x5B	// U+005B
416		0xBB	0x5D	// U+005D
417	};
418	@condition {
419		@between 0XBC...0XBC;
420	} @map {
421		0xBC	0xE280BE	// U+203E
422	};
423	@condition {
424		@between 0XBD...0XBF;
425	} @map {
426		0xBD	0xC2A8	// U+00A8
427		0xBE	0xC2B4	// U+00B4
428		0xBF	0xC397	// U+00D7
429	};
430	@condition {
431		@between 0XC0...0XC9;
432	} @map {
433		0xC0	0x7B	// U+007B
434		0xC1	0x41	// U+0041
435		0xC2	0x42	// U+0042
436		0xC3	0x43	// U+0043
437		0xC4	0x44	// U+0044
438		0xC5	0x45	// U+0045
439		0xC6	0x46	// U+0046
440		0xC7	0x47	// U+0047
441		0xC8	0x48	// U+0048
442		0xC9	0x49	// U+0049
443	};
444	@condition {
445		@between 0XCA...0XCF;
446	} @map {
447		0xCA	0xC2AD	// U+00AD
448	};
449	@condition {
450		@between 0XD0...0XD9;
451	} @map {
452		0xD0	0x7D	// U+007D
453		0xD1	0x4A	// U+004A
454		0xD2	0x4B	// U+004B
455		0xD3	0x4C	// U+004C
456		0xD4	0x4D	// U+004D
457		0xD5	0x4E	// U+004E
458		0xD6	0x4F	// U+004F
459		0xD7	0x50	// U+0050
460		0xD8	0x51	// U+0051
461		0xD9	0x52	// U+0052
462	};
463	@condition {
464		@between 0XDA...0XDF;
465	} @map {
466		0xDA	0xC2B9	// U+00B9
467	};
468	@condition {
469		@between 0XE0...0XE0;
470	} @map {
471		0xE0	0x5C	// U+005C
472	};
473	@condition {
474		@between 0XE1...0XE1;
475	} @map {
476		0xE1	0xC3B7	// U+00F7
477	};
478	@condition {
479		@between 0XE2...0XE9;
480	} @map {
481		0xE2	0x53	// U+0053
482		0xE3	0x54	// U+0054
483		0xE4	0x55	// U+0055
484		0xE5	0x56	// U+0056
485		0xE6	0x57	// U+0057
486		0xE7	0x58	// U+0058
487		0xE8	0x59	// U+0059
488		0xE9	0x5A	// U+005A
489	};
490	@condition {
491		@between 0XEA...0XEF;
492	} @map {
493		0xEA	0xC2B2	// U+00B2
494	};
495	@condition {
496		@between 0XF0...0XF9;
497	} @map {
498		0xF0	0x30	// U+0030
499		0xF1	0x31	// U+0031
500		0xF2	0x32	// U+0032
501		0xF3	0x33	// U+0033
502		0xF4	0x34	// U+0034
503		0xF5	0x35	// U+0035
504		0xF6	0x36	// U+0036
505		0xF7	0x37	// U+0037
506		0xF8	0x38	// U+0038
507		0xF9	0x39	// U+0039
508	};
509	@condition {
510		@between 0XFA...0XFF;
511	} @map {
512		0xFA	0xC2B3	// U+00B3
513		0xFF	0xC29F	// U+009F
514	}; // for last @map syntax
515    }; // for direction
516} // for conversion name
517