xref: /illumos-gate/usr/src/cmd/geniconvtbl/samples/ISO8859-1_to_UTF-8.src (revision 2aeafac3612e19716bf8164f89c3c9196342979c)
1// ident	"%Z%%M%	%I%	%E% SMI"
2// Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3// Use is subject to license terms.
4//
5// CDDL HEADER START
6//
7// The contents of this file are subject to the terms of the
8// Common Development and Distribution License, Version 1.0 only
9// (the "License").  You may not use this file except in compliance
10// with the License.
11//
12// You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13// or http://www.opensolaris.org/os/licensing.
14// See the License for the specific language governing permissions
15// and limitations under the License.
16//
17// When distributing Covered Code, include this CDDL HEADER in each
18// file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19// If applicable, add the following below this CDDL HEADER, with the
20// fields enclosed by brackets "[]" replaced with your own identifying
21// information: Portions Copyright [yyyy] [name of copyright owner]
22//
23// CDDL HEADER END
24//
25
26//
27// ISO8859-1 to UTF-8 mapping:
28//
29
30ISO8859-1%UTF-8 {
31    direction {
32	condition {
33		between 0x0...0x7f;
34	} map {
35		0x0...0x7f	0x0
36	};
37	condition {
38		between 0x80...0xff;
39	} map {
40		0x80		0xc280
41		0x81		0xc281
42		0x82		0xc282
43		0x83		0xc283
44		0x84		0xc284
45		0x85		0xc285
46		0x86		0xc286
47		0x87		0xc287
48		0x88		0xc288
49		0x89		0xc289
50		0x8a		0xc28a
51		0x8b		0xc28b
52		0x8c		0xc28c
53		0x8d		0xc28d
54		0x8e		0xc28e
55		0x8f		0xc28f
56		0x90		0xc290
57		0x91		0xc291
58		0x92		0xc292
59		0x93		0xc293
60		0x94		0xc294
61		0x95		0xc295
62		0x96		0xc296
63		0x97		0xc297
64		0x98		0xc298
65		0x99		0xc299
66		0x9a		0xc29a
67		0x9b		0xc29b
68		0x9c		0xc29c
69		0x9d		0xc29d
70		0x9e		0xc29e
71		0x9f		0xc29f
72		0xa0		0xc2a0
73		0xa1		0xc2a1
74		0xa2		0xc2a2
75		0xa3		0xc2a3
76		0xa4		0xc2a4
77		0xa5		0xc2a5
78		0xa6		0xc2a6
79		0xa7		0xc2a7
80		0xa8		0xc2a8
81		0xa9		0xc2a9
82		0xaa		0xc2aa
83		0xab		0xc2ab
84		0xac		0xc2ac
85		0xad		0xc2ad
86		0xae		0xc2ae
87		0xaf		0xc2af
88		0xb0		0xc2b0
89		0xb1		0xc2b1
90		0xb2		0xc2b2
91		0xb3		0xc2b3
92		0xb4		0xc2b4
93		0xb5		0xc2b5
94		0xb6		0xc2b6
95		0xb7		0xc2b7
96		0xb8		0xc2b8
97		0xb9		0xc2b9
98		0xba		0xc2ba
99		0xbb		0xc2bb
100		0xbc		0xc2bc
101		0xbd		0xc2bd
102		0xbe		0xc2be
103		0xbf		0xc2bf
104		0xc0		0xc380
105		0xc1		0xc381
106		0xc2		0xc382
107		0xc3		0xc383
108		0xc4		0xc384
109		0xc5		0xc385
110		0xc6		0xc386
111		0xc7		0xc387
112		0xc8		0xc388
113		0xc9		0xc389
114		0xca		0xc38a
115		0xcb		0xc38b
116		0xcc		0xc38c
117		0xcd		0xc38d
118		0xce		0xc38e
119		0xcf		0xc38f
120		0xd0		0xc390
121		0xd1		0xc391
122		0xd2		0xc392
123		0xd3		0xc393
124		0xd4		0xc394
125		0xd5		0xc395
126		0xd6		0xc396
127		0xd7		0xc397
128		0xd8		0xc398
129		0xd9		0xc399
130		0xda		0xc39a
131		0xdb		0xc39b
132		0xdc		0xc39c
133		0xdd		0xc39d
134		0xde		0xc39e
135		0xdf		0xc39f
136		0xe0		0xc3a0
137		0xe1		0xc3a1
138		0xe2		0xc3a2
139		0xe3		0xc3a3
140		0xe4		0xc3a4
141		0xe5		0xc3a5
142		0xe6		0xc3a6
143		0xe7		0xc3a7
144		0xe8		0xc3a8
145		0xe9		0xc3a9
146		0xea		0xc3aa
147		0xeb		0xc3ab
148		0xec		0xc3ac
149		0xed		0xc3ad
150		0xee		0xc3ae
151		0xef		0xc3af
152		0xf0		0xc3b0
153		0xf1		0xc3b1
154		0xf2		0xc3b2
155		0xf3		0xc3b3
156		0xf4		0xc3b4
157		0xf5		0xc3b5
158		0xf6		0xc3b6
159		0xf7		0xc3b7
160		0xf8		0xc3b8
161		0xf9		0xc3b9
162		0xfa		0xc3ba
163		0xfb		0xc3bb
164		0xfc		0xc3bc
165		0xfd		0xc3bd
166		0xfe		0xc3be
167		0xff		0xc3bf
168	};
169  };
170}
171