summaryrefslogtreecommitdiff
path: root/usr/src/man/man5/iconv.5
blob: ed4f9907f312bdd47686aa06a0c6ba23973e4db0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
.\"
.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for
.\" permission to reproduce portions of its copyrighted documentation.
.\" Original documentation from The Open Group can be obtained online at
.\" http://www.opengroup.org/bookstore/.
.\"
.\" The Institute of Electrical and Electronics Engineers and The Open
.\" Group, have given us permission to reprint portions of their
.\" documentation.
.\"
.\" In the following statement, the phrase ``this text'' refers to portions
.\" of the system documentation.
.\"
.\" Portions of this text are reprinted and reproduced in electronic form
.\" in the SunOS Reference Manual, from IEEE Std 1003.1, 2004 Edition,
.\" Standard for Information Technology -- Portable Operating System
.\" Interface (POSIX), The Open Group Base Specifications Issue 6,
.\" Copyright (C) 2001-2004 by the Institute of Electrical and Electronics
.\" Engineers, Inc and The Open Group.  In the event of any discrepancy
.\" between these versions and the original IEEE and The Open Group
.\" Standard, the original IEEE and The Open Group Standard is the referee
.\" document.  The original Standard can be obtained online at
.\" http://www.opengroup.org/unix/online.html.
.\"
.\" This notice shall appear on any product containing this material.
.\"
.\" The contents of this file are subject to the terms of the
.\" Common Development and Distribution License (the "License").
.\" You may not use this file except in compliance with the License.
.\"
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
.\" or http://www.opensolaris.org/os/licensing.
.\" See the License for the specific language governing permissions
.\" and limitations under the License.
.\"
.\" When distributing Covered Code, include this CDDL HEADER in each
.\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
.\" If applicable, add the following below this CDDL HEADER, with the
.\" fields enclosed by brackets "[]" replaced with your own identifying
.\" information: Portions Copyright [yyyy] [name of copyright owner]
.\"
.\"
.\" Copyright 1989 AT&T
.\" Portions Copyright (c) 1992, X/Open Company Limited.  All Rights Reserved.
.\" Copyright (c) 2001, Sun Microsystems, Inc.  All Rights Reserved.
.\"
.TH ICONV 5 "Dec 5, 2001"
.SH NAME
iconv \- code set conversion tables
.SH DESCRIPTION
.sp
.LP
The following code set conversions are supported:
.sp
.in +2
.nf
               Code Set Conversions Supported

Code           Symbol   Target Code    Symbol   Target Output

ISO 646        646      ISO 8859-1     8859     US ASCII
ISO 646de      646de    ISO 8859-1     8859     German
ISO 646da      646da    ISO 8859-1     8859     Danish
ISO 646en      646en    ISO 8859-1     8859     English ASCII
ISO 646es      646es    ISO 8859-1     8859     Spanish
ISO 646fr      646fr    ISO 8859-1     8859     French
ISO 646it      646it    ISO 8859-1     8859     Italian
ISO 646sv      646sv    ISO 8859-1     8859     Swedish
ISO 8859-1     8859     ISO 646        646      7 bit ASCII
ISO 8859-1     8859     ISO 646de      646de    German
ISO 8859-1     8859     ISO 646da      646da    Danish
ISO 8859-1     8859     ISO 646en      646en    English ASCII
ISO 8859-1     8859     ISO 646es      646es    Spanish
ISO 8859-1     8859     ISO 646fr      646fr    French
ISO 8859-1     8859     ISO 646it      646it    Italian
ISO 8859-1     8859     ISO 646sv      646sv    Swedish
ISO 8859-16    iso16    ISO 8859-2     iso2     ISO Latin 2
ISO 8859-2     iso2     ISO 8859-16    iso16    ISO Latin 10
ISO 8859-16    iso16    IBM 850        ibm850   IBM 850 code page
ISO 8859-16    iso16    IBM 870        ibm870   IBM 870 code page
ISO 8859-2     iso2     MS 1250        win2     Windows Latin 2
ISO 8859-2     iso2     MS 852         dos2     MS-DOS Latin 2
ISO 8859-2     iso2     Mazovia        maz      Mazovia
IBM 850        ibm850   ISO 8859-16    iso16    ISO Latin 10
IBM 870        ibm870   ISO 8859-16    iso16    ISO Latin 10
MS 1250        win2     DHN            dhn      Dom Handlowy Nauki
MS 852         dos2     ISO 8859-2     iso2     ISO Latin 2
MS 852         dos2     MS 1250        win2     Windows Latin 2
MS 852         dos2     Mazovia        maz      Mazovia
MS 852         dos2     DHN            dhn      Dom Handlowy Nauki
Mazovia        maz      ISO 8859-2     iso2     ISO Latin 2
Mazovia        maz      MS 1250        win2     Windows Latin 2
Mazovia        maz      MS 852         dos2     MS-DOS Latin 2
Mazovia        maz      DHN            dhn      Dom Handlowy Nauki
DHN            dhn      ISO 8859-2     iso2     ISO Latin 2
DHN            dhn      MS 1250        win2     Windows Latin 2
DHN            dhn      MS 852         dos2     MS-DOS Latin 2
DHN            dhn      Mazovia        maz      Mazovia
ISO 8859-5     iso5     KOI8-R         koi8     KOI8-R
ISO 8859-5     iso5     PC Cyrillic    alt      Alternative PC Cyrillic
ISO 8859-5     iso5     MS 1251        win5     Windows Cyrillic
ISO 8859-5     iso5     Mac Cyrillic   mac      Macintosh Cyrillic
KOI8-R         koi8     ISO 8859-5     iso5     ISO 8859-5 Cyrillic
KOI8-R         koi8     PC Cyrillic    alt      Alternative PC Cyrillic
KOI8-R         koi8     MS 1251        win5     Windows Cyrillic
KOI8-R         koi8     Mac Cyrillic   mac      Macintosh Cyrillic
PC Cyrillic    alt      ISO 8859-5     iso5     ISO 8859-5 Cyrillic
PC Cyrillic    alt      KOI8-R         koi8     KOI8-R
PC Cyrillic    alt      MS 1251        win5     Windows Cyrillic
PC Cyrillic    alt      Mac Cyrillic   mac      Macintosh Cyrillic
MS 1251        win5     ISO 8859-5     iso5     ISO 8859-5 Cyrillic
MS 1251        win5     KOI8-R         koi8     KOI8-R
MS 1251        win5     PC Cyrillic    alt      Alternative PC Cyrillic
MS 1251        win5     Mac Cyrillic   mac      Macintosh Cyrillic
Mac Cyrillic   mac      ISO 8859-5     iso5     ISO 8859-5 Cyrillic
Mac Cyrillic   mac      KOI8-R         koi8     KOI8-R
Mac Cyrillic   mac      PC Cyrillic    alt      Alternative PC Cyrillic
Mac Cyrillic   mac      MS 1251        win5     Windows Cyrillic
.fi
.in -2
.sp

.SH CONVERSIONS
.sp
.LP
The conversions are performed according to the tables contained in the manual
pages cross-referenced in the \fBIndex of Conversion Code Tables\fR below.
.sp

.sp
.TS
box;
c | c | c
l | l | l .
\fBIndex of Conversion Code Tables\fR
_
\fBCode\fR	\fBTarget Code\fR	\fBSee Manual Page\fR
_
ISO 646	ISO 8859-1	iconv_646 (5)
_
ISO 646de	ISO 8859-1	
_
ISO 646da	ISO 8859-1	
_
ISO 646en	ISO 8859-1	
_
ISO 646es	ISO 8859-1	
_
ISO 646fr	ISO 8859-1	
_
ISO 646it	ISO 8859-1	
_
ISO 646sv	ISO 8859-1	
_
ISO 8859-1	ISO 646	iconv_8859-1 (5)
_
ISO 8859-1	ISO 646de	
_
ISO 8859-1	ISO 646da	
_
ISO 8859-1	ISO 646en	
_
ISO 8859-1	ISO 646es	
_
ISO 8859-1	ISO 646fr	
_
ISO 8859-1	ISO 646it	
_
ISO 8859-1	ISO 646sv	
_
ISO 8859-2	MS 1250	iconv_8859-2 (5)
_
ISO 8859-2	MS 852	
_
ISO 8859-2	Mazovia	
_
ISO 8859-2	DHN	
_
MS 1250	ISO 8859-2	iconv_1250 (5)
_
MS 1250	MS 852	
_
MS 1250	Mazovia	
_
MS 1250	DHN	
_
MS 852	ISO 8859-2	iconv_852 (5)
_
MS 852	MS 1250	
_
MS 852	Mazovia	
_
MS 852	DHN	
_
Mazovia	ISO 8859-2	iconv_maz (5)
_
Mazovia	MS 1250	
_
Mazovia	MS 852	
_
Mazovia	DHN	
.TE

.sp

.sp
.TS
box;
c | c | c
l | l | l .
\fBIndex of Conversion Code Tables\fR
_
\fBCode\fR	\fBTarget Code\fR	\fBSee Manual Page\fR
_
DHN	ISO 8859-2	 iconv_dhn (5)
_
DHN	MS 1250	
_
DHN	MS 852	
_
DHN	Mazovia	
_
ISO 8859-5	KOI8-R	 iconv_8859-5 (5)
_
ISO 8859-5	PC Cyrillic	
_
ISO 8859-5	MS 1251	
_
ISO 8859-5	Mac Cyrillic	
_
KOI8-R	ISO 8859-5	iconv_koi8-r (5)
_
KOI8-R	PC Cyrillic	
_
KOI8-R	MS 1251	
_
KOI8-R	Mac Cyrillic	
_
PC Cyrillic	ISO 8859-5	iconv_pc_cyr (5)
_
PC Cyrillic	KOI8-R	
_
PC Cyrillic	MS 1251	
_
PC Cyrillic	Mac Cyrillic	
_
MS 1251	ISO 8859-5	iconv_1251 (5)
_
MS 1251	KOI8-R	
_
MS 1251	PC Cyrillic	
_
MS 1251	Mac Cyrillic	
_
Mac Cyrillic	ISO 8859-5	iconv_mac_cyr (5)
_
Mac Cyrillic	KOI8-R	
_
Mac Cyrillic	PC Cyrillic	
_
Mac Cyrillic	MS 1251	
.TE

.SH FILES
.sp
.ne 2
.na
\fB\fB/usr/lib/iconv/*.so\fR\fR
.ad
.sp .6
.RS 4n
conversion modules
.RE

.sp
.ne 2
.na
\fB\fB/usr/lib/iconv/*.t\fR\fR
.ad
.sp .6
.RS 4n
Conversion tables.
.RE

.sp
.ne 2
.na
\fB\fB/usr/lib/iconv/geniconvtbl/binarytables/*.bt\fR\fR
.ad
.sp .6
.RS 4n
Conversion binary tables.
.RE

.sp
.ne 2
.na
\fB\fB/usr/lib/iconv/iconv_data\fR\fR
.ad
.sp .6
.RS 4n
List of conversions supported by conversion tables.
.RE

.SH SEE ALSO
.sp
.LP
\fBiconv\fR(1), \fBiconv\fR(3C), \fBiconv_1250\fR(5), \fBiconv_1251\fR(5),
\fBiconv_646\fR(5), \fBiconv_852\fR(5), \fBiconv_8859-1\fR(5),
\fBiconv_8859-2\fR(5), \fBiconv_8859-5\fR(5), \fBiconv_dhn\fR(5),
\fBiconv_koi8-r\fR(5), \fBiconv_mac_cyr\fR(5), \fBiconv_maz\fR(5),
\fBiconv_pc_cyr\fR(5), \fBiconv_unicode\fR(5)