Debian Codegraph @

upstream/opensuse-tumbleweed/man3/Encode::Supported.3pm

raw
1 .\" -*- mode: troff; coding: utf-8 -*-
2 .\" Automatically generated by Pod::Man v6.0.2 (Pod::Simple 3.45)
3 .\"
4 .\" Standard preamble:
5 .\" ========================================================================
6 .de Sp \" Vertical space (when we can't use .PP)
7 .if t .sp .5v
8 .if n .sp
9 ..
10 .de Vb \" Begin verbatim text
11 .ft CW
12 .nf
13 .ne \\$1
14 ..
15 .de Ve \" End verbatim text
16 .ft R
17 .fi
18 ..
19 .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
20 .ie n \{\
21 . ds C` ""
22 . ds C' ""
23 'br\}
24 .el\{\
25 . ds C`
26 . ds C'
27 'br\}
28 .\"
29 .\" Escape single quotes in literal strings from groff's Unicode transform.
30 .ie \n(.g .ds Aq \(aq
31 .el .ds Aq '
32 .\"
33 .\" If the F register is >0, we'll generate index entries on stderr for
34 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
35 .\" entries marked with X<> in POD. Of course, you'll have to process the
36 .\" output yourself in some meaningful fashion.
37 .\"
38 .\" Avoid warning from groff about undefined register 'F'.
39 .de IX
40 ..
41 .nr rF 0
42 .if \n(.g .if rF .nr rF 1
43 .if (\n(rF:(\n(.g==0)) \{\
44 . if \nF \{\
45 . de IX
46 . tm Index:\\$1\t\\n%\t"\\$2"
47 ..
48 . if !\nF==2 \{\
49 . nr % 0
50 . nr F 2
51 . \}
52 . \}
53 .\}
54 .rr rF
55 .\"
56 .\" Required to disable full justification in groff 1.23.0.
57 .if n .ds AD l
58 .\" ========================================================================
59 .\"
60 .IX Title "Encode::Supported 3pm"
61 .TH Encode::Supported 3pm 2026-03-09 "perl v5.42.1" "Perl Programmers Reference Guide"
62 .\" For nroff, turn off justification. Always turn off hyphenation; it makes
63 .\" way too many mistakes in technical documents.
64 .if n .ad l
65 .nh
66 .SH NAME
67 Encode::Supported \-\- Encodings supported by Encode
68 .SH DESCRIPTION
69 .IX Header "DESCRIPTION"
70 .SS "Encoding Names"
71 .IX Subsection "Encoding Names"
72 Encoding names are case insensitive. White space in names
73 is ignored. In addition, an encoding may have aliases.
74 Each encoding has one "canonical" name. The "canonical"
75 name is chosen from the names of the encoding by picking
76 the first in the following sequence (with a few exceptions).
77 .IP \(bu 2
78 The name used by the Perl community. That includes \*(Aqutf8\*(Aq and \*(Aqascii\*(Aq.
79 Unlike aliases, canonical names directly reach the method so such
80 frequently used words like \*(Aqutf8\*(Aq don\*(Aqt need to do alias lookups.
81 .IP \(bu 2
82 The MIME name as defined in IETF RFCs. This includes all "iso\-"s.
83 .IP \(bu 2
84 The name in the IANA registry.
85 .IP \(bu 2
86 The name used by the organization that defined it.
87 .PP
88 In case \fIde jure\fR canonical names differ from that of the Encode
89 module, they are always aliased if it ever be implemented. So you can
90 safely tell if a given encoding is implemented or not just by passing
91 the canonical name.
92 .PP
93 Because of all the alias issues, and because in the general case
94 encodings have state, "Encode" uses an encoding object internally
95 once an operation is in progress.
96 .SH "Supported Encodings"
97 .IX Header "Supported Encodings"
98 As of Perl 5.8.0, at least the following encodings are recognized.
99 Note that unless otherwise specified, they are all case insensitive
100 (via alias) and all occurrence of spaces are replaced with \*(Aq\-\*(Aq.
101 In other words, "ISO 8859 1" and "iso\-8859\-1" are identical.
102 .PP
103 Encodings are categorized and implemented in several different modules
104 but you don\*(Aqt have to \f(CW\*(C`use Encode::XX\*(C'\fR to make them available for
105 most cases. Encode.pm will automatically load those modules on demand.
106 .SS "Built\-in Encodings"
107 .IX Subsection "Built-in Encodings"
108 The following encodings are always available.
109 .PP
110 .Vb 8
111 \& Canonical Aliases Comments & References
112 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
113 \& ascii US\-ascii ISO\-646\-US [ECMA]
114 \& ascii\-ctrl Special Encoding
115 \& iso\-8859\-1 latin1 [ISO]
116 \& null Special Encoding
117 \& utf8 UTF\-8 [RFC2279]
118 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
119 .Ve
120 .PP
121 \&\fInull\fR and \fIascii\-ctrl\fR are special. "null" fails for all character
122 so when you set fallback mode to PERLQQ, HTMLCREF or XMLCREF, ALL
123 CHARACTERS will fall back to character references. Ditto for
124 "ascii\-ctrl" except for control characters. For fallback modes, see
125 Encode.
126 .SS "Encode::Unicode \-\- other Unicode encodings"
127 .IX Subsection "Encode::Unicode -- other Unicode encodings"
128 Unicode coding schemes other than native utf8 are supported by
129 Encode::Unicode, which will be autoloaded on demand.
130 .PP
131 .Vb 11
132 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
133 \& UCS\-2BE UCS\-2, iso\-10646\-1 [IANA, UC]
134 \& UCS\-2LE [UC]
135 \& UTF\-16 [UC]
136 \& UTF\-16BE [UC]
137 \& UTF\-16LE [UC]
138 \& UTF\-32 [UC]
139 \& UTF\-32BE UCS\-4 [UC]
140 \& UTF\-32LE [UC]
141 \& UTF\-7 [RFC2152]
142 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
143 .Ve
144 .PP
145 To find how (UCS\-2|UTF\-(16|32))(LE|BE)? differ from one another,
146 see Encode::Unicode.
147 .PP
148 UTF\-7 is a special encoding which "re\-encodes" UTF\-16BE into a 7\-bit
149 encoding. It is implemented separately by Encode::Unicode::UTF7.
150 .SS "Encode::Byte \-\- Extended ASCII"
151 .IX Subsection "Encode::Byte -- Extended ASCII"
152 Encode::Byte implements most single\-byte encodings except for
153 Symbols and EBCDIC. The following encodings are based on single\-byte
154 encodings implemented as extended ASCII. Most of them map
155 \&\ex80\-\exff (upper half) to non\-ASCII characters.
156 .IP "ISO\-8859 and corresponding vendor mappings" 2
157 .IX Item "ISO-8859 and corresponding vendor mappings"
158 Since there are so many, they are presented in table format with
159 languages and corresponding encoding names by vendors. Note that
160 the table is sorted in order of ISO\-8859 and the corresponding vendor
161 mappings are slightly different from that of ISO. See
162 <http://czyborra.com/charsets/iso8859.html> for details.
163 .Sp
164 .Vb 10
165 \& Lang/Regions ISO/Other Std. DOS Windows Macintosh Others
166 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
167 \& N. America (ASCII) cp437 AdobeStandardEncoding
168 \& cp863 (DOSCanadaF)
169 \& W. Europe iso\-8859\-1 cp850 cp1252 MacRoman nextstep
170 \& hp\-roman8
171 \& cp860 (DOSPortuguese)
172 \& Cntrl. Europe iso\-8859\-2 cp852 cp1250 MacCentralEurRoman
173 \& MacCroatian
174 \& MacRomanian
175 \& MacRumanian
176 \& Latin3[1] iso\-8859\-3
177 \& Latin4[2] iso\-8859\-4
178 \& Cyrillics iso\-8859\-5 cp855 cp1251 MacCyrillic
179 \& (See also next section) cp866 MacUkrainian
180 \& Arabic iso\-8859\-6 cp864 cp1256 MacArabic
181 \& cp1006 MacFarsi
182 \& Greek iso\-8859\-7 cp737 cp1253 MacGreek
183 \& cp869 (DOSGreek2)
184 \& Hebrew iso\-8859\-8 cp862 cp1255 MacHebrew
185 \& Turkish iso\-8859\-9 cp857 cp1254 MacTurkish
186 \& Nordics iso\-8859\-10 cp865
187 \& cp861 MacIcelandic
188 \& MacSami
189 \& Thai iso\-8859\-11[3] cp874 MacThai
190 \& (iso\-8859\-12 is nonexistent. Reserved for Indics?)
191 \& Baltics iso\-8859\-13 cp775 cp1257
192 \& Celtics iso\-8859\-14
193 \& Latin9 [4] iso\-8859\-15
194 \& Latin10 iso\-8859\-16
195 \& Vietnamese viscii cp1258 MacVietnamese
196 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
197 \&
198 \& [1] Esperanto, Maltese, and Turkish. Turkish is now on 8859\-9.
199 \& [2] Baltics. Now on 8859\-10, except for Latvian.
200 \& [3] TIS 620 + Non\-Breaking Space (0xA0 / U+00A0)
201 \& [4] Nicknamed Latin0; the Euro sign as well as French and Finnish
202 \& letters that are missing from 8859\-1 were added.
203 .Ve
204 .Sp
205 All cp* are also available as ibm\-*, ms\-*, and windows\-* . See also
206 <http://czyborra.com/charsets/codepages.html>.
207 .Sp
208 Macintosh encodings don\*(Aqt seem to be registered in such entities as
209 IANA. "Canonical" names in Encode are based upon Apple\*(Aqs Tech Note
210 1150. See <http://developer.apple.com/technotes/tn/tn1150.html>
211 for details.
212 .IP "KOI8 \- De Facto Standard for the Cyrillic world" 2
213 .IX Item "KOI8 - De Facto Standard for the Cyrillic world"
214 Though ISO\-8859 does have ISO\-8859\-5, the KOI8 series is far more
215 popular in the Net. Encode comes with the following KOI charsets.
216 For gory details, see <http://czyborra.com/charsets/cyrillic.html>
217 .Sp
218 .Vb 5
219 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
220 \& koi8\-f
221 \& koi8\-r cp878 [RFC1489]
222 \& koi8\-u [RFC2319]
223 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
224 .Ve
225 .SS "gsm0338 \- Hentai Latin 1"
226 .IX Subsection "gsm0338 - Hentai Latin 1"
227 GSM0338 is for GSM handsets. Though it shares alphanumerals with
228 ASCII, control character ranges and other parts are mapped very
229 differently, mainly to store Greek characters. There are also escape
230 sequences (starting with 0x1B) to cover e.g. the Euro sign.
231 .PP
232 This was once handled by Encode::Bytes but because of all those
233 unusual specifications, Encode 2.20 has relocated the support to
234 Encode::GSM0338. See Encode::GSM0338 for details.
235 .IP "gsm0338 support before 2.19" 2
236 .IX Item "gsm0338 support before 2.19"
237 Some special cases like a trailing 0x00 byte or a lone 0x1B byte are not
238 well\-defined and \fBdecode()\fR will return an empty string for them.
239 One possible workaround is
240 .Sp
241 .Vb 3
242 \& $gsm =~ s/\ex00\ez/\ex00\ex00/;
243 \& $uni = decode("gsm0338", $gsm);
244 \& $uni .= "\exA0" if $gsm =~ /\ex1B\ez/;
245 .Ve
246 .Sp
247 Note that the Encode implementation of GSM0338 does not implement the
248 reuse of Latin capital letters as Greek capital letters (for example,
249 the 0x5A is U+005A (LATIN CAPITAL LETTER Z), not U+0396 (GREEK CAPITAL
250 LETTER ZETA).
251 .Sp
252 The GSM0338 is also covered in Encode::Byte even though it is not
253 an "extended ASCII" encoding.
254 .SS "CJK: Chinese, Japanese, Korean (Multibyte)"
255 .IX Subsection "CJK: Chinese, Japanese, Korean (Multibyte)"
256 Note that Vietnamese is listed above. Also read "Encoding vs Charset"
257 below. Also note that these are implemented in distinct modules by
258 countries, due to the size concerns (simplified Chinese is mapped
259 to \*(AqCN\*(Aq, continental China, while traditional Chinese is mapped to
260 \&\*(AqTW\*(Aq, Taiwan). Please refer to their respective documentation pages.
261 .IP "Encode::CN \-\- Continental China" 2
262 .IX Item "Encode::CN -- Continental China"
263 .Vb 9
264 \& Standard DOS/Win Macintosh Comment/Reference
265 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
266 \& euc\-cn [1] MacChineseSimp
267 \& (gbk) cp936 [2]
268 \& gb12345\-raw { GB12345 without CES }
269 \& gb2312\-raw { GB2312 without CES }
270 \& hz
271 \& iso\-ir\-165
272 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
273 \&
274 \& [1] GB2312 is aliased to this. See L<Microsoft\-related naming mess>
275 \& [2] gbk is aliased to this. See L<Microsoft\-related naming mess>
276 .Ve
277 .IP "Encode::JP \-\- Japan" 2
278 .IX Item "Encode::JP -- Japan"
279 .Vb 11
280 \& Standard DOS/Win Macintosh Comment/Reference
281 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
282 \& euc\-jp
283 \& shiftjis cp932 macJapanese
284 \& 7bit\-jis
285 \& iso\-2022\-jp [RFC1468]
286 \& iso\-2022\-jp\-1 [RFC2237]
287 \& jis0201\-raw { JIS X 0201 (roman + halfwidth kana) without CES }
288 \& jis0208\-raw { JIS X 0208 (Kanji + fullwidth kana) without CES }
289 \& jis0212\-raw { JIS X 0212 (Extended Kanji) without CES }
290 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
291 .Ve
292 .IP "Encode::KR \-\- Korea" 2
293 .IX Item "Encode::KR -- Korea"
294 .Vb 8
295 \& Standard DOS/Win Macintosh Comment/Reference
296 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
297 \& euc\-kr MacKorean [RFC1557]
298 \& cp949 [1]
299 \& iso\-2022\-kr [RFC1557]
300 \& johab [KS X 1001:1998, Annex 3]
301 \& ksc5601\-raw { KSC5601 without CES }
302 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
303 \&
304 \& [1] ks_c_5601\-1987, (x\-)?windows\-949, and uhc are aliased to this.
305 \& See below.
306 .Ve
307 .IP "Encode::TW \-\- Taiwan" 2
308 .IX Item "Encode::TW -- Taiwan"
309 .Vb 5
310 \& Standard DOS/Win Macintosh Comment/Reference
311 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
312 \& big5\-eten cp950 MacChineseTrad {big5 aliased to big5\-eten}
313 \& big5\-hkscs
314 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
315 .Ve
316 .IP "Encode::HanExtra \-\- More Chinese via CPAN" 2
317 .IX Item "Encode::HanExtra -- More Chinese via CPAN"
318 Due to the size concerns, additional Chinese encodings below are
319 distributed separately on CPAN, under the name Encode::HanExtra.
320 .Sp
321 .Vb 8
322 \& Standard DOS/Win Macintosh Comment/Reference
323 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
324 \& big5ext CMEX\*(Aqs Big5e Extension
325 \& big5plus CMEX\*(Aqs Big5+ Extension
326 \& cccii Chinese Character Code for Information Interchange
327 \& euc\-tw EUC (Extended Unix Character)
328 \& gb18030 GBK with Traditional Characters
329 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
330 .Ve
331 .IP "Encode::JIS2K \-\- JIS X 0213 encodings via CPAN" 2
332 .IX Item "Encode::JIS2K -- JIS X 0213 encodings via CPAN"
333 Due to size concerns, additional Japanese encodings below are
334 distributed separately on CPAN, under the name Encode::JIS2K.
335 .Sp
336 .Vb 8
337 \& Standard DOS/Win Macintosh Comment/Reference
338 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
339 \& euc\-jisx0213
340 \& shiftjisx0123
341 \& iso\-2022\-jp\-3
342 \& jis0213\-1\-raw
343 \& jis0213\-2\-raw
344 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
345 .Ve
346 .SS "Miscellaneous encodings"
347 .IX Subsection "Miscellaneous encodings"
348 .IP Encode::EBCDIC 2
349 .IX Item "Encode::EBCDIC"
350 See perlebcdic for details.
351 .Sp
352 .Vb 8
353 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
354 \& cp37
355 \& cp500
356 \& cp875
357 \& cp1026
358 \& cp1047
359 \& posix\-bc
360 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
361 .Ve
362 .IP Encode::Symbol 2
363 .IX Item "Encode::Symbol"
364 For symbols and dingbats.
365 .Sp
366 .Vb 7
367 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
368 \& symbol
369 \& dingbats
370 \& MacDingbats
371 \& AdobeZdingbat
372 \& AdobeSymbol
373 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
374 .Ve
375 .IP Encode::MIME::Header 2
376 .IX Item "Encode::MIME::Header"
377 Strictly speaking, MIME header encoding documented in RFC 2047 is more
378 of encapsulation than encoding. However, their support in modern
379 world is imperative so they are supported.
380 .Sp
381 .Vb 5
382 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
383 \& MIME\-Header [RFC2047]
384 \& MIME\-B [RFC2047]
385 \& MIME\-Q [RFC2047]
386 \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
387 .Ve
388 .IP Encode::Guess 2
389 .IX Item "Encode::Guess"
390 This one is not a name of encoding but a utility that lets you pick up
391 the most appropriate encoding for a data out of given \fIsuspects\fR. See
392 Encode::Guess for details.
393 .SH "Unsupported encodings"
394 .IX Header "Unsupported encodings"
395 The following encodings are not supported as yet; some because they
396 are rarely used, some because of technical difficulties. They may
397 be supported by external modules via CPAN in the future, however.
398 .IP "ISO\-2022\-JP\-2 [RFC1554]" 2
399 .IX Item "ISO-2022-JP-2 [RFC1554]"
400 Not very popular yet. Needs Unicode Database or equivalent to
401 implement \fBencode()\fR (because it includes JIS X 0208/0212, KSC5601, and
402 GB2312 simultaneously, whose code points in Unicode overlap. So you
403 need to lookup the database to determine to what character set a given
404 Unicode character should belong).
405 .IP "ISO\-2022\-CN [RFC1922]" 2
406 .IX Item "ISO-2022-CN [RFC1922]"
407 Not very popular. Needs CNS 11643\-1 and \-2 which are not available in
408 this module. CNS 11643 is supported (via euc\-tw) in Encode::HanExtra.
409 Audrey Tang may add support for this encoding in her module in future.
410 .IP "Various HP\-UX encodings" 2
411 .IX Item "Various HP-UX encodings"
412 The following are unsupported due to the lack of mapping data.
413 .Sp
414 .Vb 2
415 \& \*(Aq8\*(Aq \- arabic8, greek8, hebrew8, kana8, thai8, and turkish8
416 \& \*(Aq15\*(Aq \- japanese15, korean15, and roi15
417 .Ve
418 .IP "Cyrillic encoding ISO\-IR\-111" 2
419 .IX Item "Cyrillic encoding ISO-IR-111"
420 Anton Tagunov doubts its usefulness.
421 .IP "ISO\-8859\-8\-1 [Hebrew]" 2
422 .IX Item "ISO-8859-8-1 [Hebrew]"
423 None of the Encode team knows Hebrew enough (ISO\-8859\-8, cp1255 and
424 MacHebrew are supported because and just because there were mappings
425 available at <http://www.unicode.org/>). Contributions welcome.
426 .IP "ISIRI 3342, Iran System, ISIRI 2900 [Farsi]" 2
427 .IX Item "ISIRI 3342, Iran System, ISIRI 2900 [Farsi]"
428 Ditto.
429 .IP "Thai encoding TCVN" 2
430 .IX Item "Thai encoding TCVN"
431 Ditto.
432 .IP "Vietnamese encodings VPS" 2
433 .IX Item "Vietnamese encodings VPS"
434 Though Jungshik Shin has reported that Mozilla supports this encoding,
435 it was too late before 5.8.0 for us to add it. In the future, it
436 may be available via a separate module. See
437 <http://lxr.mozilla.org/seamonkey/source/intl/uconv/ucvlatin/vps.uf>
438 and
439 <http://lxr.mozilla.org/seamonkey/source/intl/uconv/ucvlatin/vps.ut>
440 if you are interested in helping us.
441 .IP "Various Mac encodings" 2
442 .IX Item "Various Mac encodings"
443 The following are unsupported due to the lack of mapping data.
444 .Sp
445 .Vb 5
446 \& MacArmenian, MacBengali, MacBurmese, MacEthiopic
447 \& MacExtArabic, MacGeorgian, MacKannada, MacKhmer
448 \& MacLaotian, MacMalayalam, MacMongolian, MacOriya
449 \& MacSinhalese, MacTamil, MacTelugu, MacTibetan
450 \& MacVietnamese
451 .Ve
452 .Sp
453 The rest which are already available are based upon the vendor mappings
454 at <http://www.unicode.org/Public/MAPPINGS/VENDORS/APPLE/> .
455 .IP "(Mac) Indic encodings" 2
456 .IX Item "(Mac) Indic encodings"
457 The maps for the following are available at <http://www.unicode.org/>
458 but remain unsupported because those encodings need an algorithmical
459 approach, currently unsupported by \fIenc2xs\fR:
460 .Sp
461 .Vb 3
462 \& MacDevanagari
463 \& MacGurmukhi
464 \& MacGujarati
465 .Ve
466 .Sp
467 For details, please see \f(CW\*(C`Unicode mapping issues and notes:\*(C'\fR at
468 <http://www.unicode.org/Public/MAPPINGS/VENDORS/APPLE/DEVANAGA.TXT> .
469 .Sp
470 I believe this issue is prevalent not only for Mac Indics but also in
471 other Indic encodings, but the above were the only Indic encodings
472 maps that I could find at <http://www.unicode.org/> .
473 .SH "Encoding vs. Charset \-\- terminology"
474 .IX Header "Encoding vs. Charset -- terminology"
475 We are used to using the term (character) \fIencoding\fR and \fIcharacter
476 set\fR interchangeably. But just as confusing the terms byte and
477 character is dangerous and the terms should be differentiated when
478 needed, we need to differentiate \fIencoding\fR and \fIcharacter set\fR.
479 .PP
480 To understand that, here is a description of how we make computers
481 grok our characters.
482 .IP \(bu 2
483 First we start with which characters to include. We call this
484 collection of characters \fIcharacter repertoire\fR.
485 .IP \(bu 2
486 Then we have to give each character a unique ID so your computer can
487 tell the difference between \*(Aqa\*(Aq and \*(AqA\*(Aq. This itemized character
488 repertoire is now a \fIcharacter set\fR.
489 .IP \(bu 2
490 If your computer can grow the character set without further
491 processing, you can go ahead and use it. This is called a \fIcoded
492 character set\fR (CCS) or \fIraw character encoding\fR. ASCII is used this
493 way for most cases.
494 .IP \(bu 2
495 But in many cases, especially multi\-byte CJK encodings, you have to
496 tweak a little more. Your network connection may not accept any data
497 with the Most Significant Bit set, and your computer may not be able to
498 tell if a given byte is a whole character or just half of it. So you
499 have to \fIencode\fR the character set to use it.
500 .Sp
501 A \fIcharacter encoding scheme\fR (CES) determines how to encode a given
502 character set, or a set of multiple character sets. 7bit ISO\-2022 is
503 an example of a CES. You switch between character sets via \fIescape
504 sequences\fR.
505 .PP
506 Technically, or mathematically, speaking, a character set encoded in
507 such a CES that maps character by character may form a CCS. EUC is such
508 an example. The CES of EUC is as follows:
509 .IP \(bu 2
510 Map ASCII unchanged.
511 .IP \(bu 2
512 Map such a character set that consists of 94 or 96 powered by N
513 members by adding 0x80 to each byte.
514 .IP \(bu 2
515 You can also use 0x8e and 0x8f to indicate that the following sequence of
516 characters belongs to yet another character set. To each following byte
517 is added the value 0x80.
518 .PP
519 By carefully looking at the encoded byte sequence, you can find that the
520 byte sequence conforms a unique number. In that sense, EUC is a CCS
521 generated by a CES above from up to four CCS (complicated?). UTF\-8
522 falls into this category. See "UTF\-8" in perlUnicode to find out how
523 UTF\-8 maps Unicode to a byte sequence.
524 .PP
525 You may also have found out by now why 7bit ISO\-2022 cannot comprise
526 a CCS. If you look at a byte sequence \ex21\ex21, you can\*(Aqt tell if
527 it is two !\*(Aqs or IDEOGRAPHIC SPACE. EUC maps the latter to \exA1\exA1
528 so you have no trouble differentiating between "!!". and "\ \ ".
529 .SH "Encoding Classification (by Anton Tagunov and Dan Kogai)"
530 .IX Header "Encoding Classification (by Anton Tagunov and Dan Kogai)"
531 This section tries to classify the supported encodings by their
532 applicability for information exchange over the Internet and to
533 choose the most suitable aliases to name them in the context of
534 such communication.
535 .IP \(bu 2
536 To (en|de)code encodings marked by \f(CW\*(C`(**)\*(C'\fR, you need
537 \&\f(CW\*(C`Encode::HanExtra\*(C'\fR, available from CPAN.
538 .PP
539 Encoding names
540 .PP
541 .Vb 3
542 \& US\-ASCII UTF\-8 ISO\-8859\-* KOI8\-R
543 \& Shift_JIS EUC\-JP ISO\-2022\-JP ISO\-2022\-JP\-1
544 \& EUC\-KR Big5 GB2312
545 .Ve
546 .PP
547 are registered with IANA as preferred MIME names and may
548 be used over the Internet.
549 .PP
550 \&\f(CW\*(C`Shift_JIS\*(C'\fR has been officialized by JIS X 0208:1997.
551 "Microsoft\-related naming mess" gives details.
552 .PP
553 \&\f(CW\*(C`GB2312\*(C'\fR is the IANA name for \f(CW\*(C`EUC\-CN\*(C'\fR.
554 See "Microsoft\-related naming mess" for details.
555 .PP
556 \&\f(CW\*(C`GB_2312\-80\*(C'\fR \fIraw\fR encoding is available as \f(CW\*(C`gb2312\-raw\*(C'\fR
557 with Encode. See Encode::CN for details.
558 .PP
559 .Vb 2
560 \& EUC\-CN
561 \& KOI8\-U [RFC2319]
562 .Ve
563 .PP
564 have not been registered with IANA (as of March 2002) but
565 seem to be supported by major web browsers.
566 The IANA name for \f(CW\*(C`EUC\-CN\*(C'\fR is \f(CW\*(C`GB2312\*(C'\fR.
567 .PP
568 .Vb 1
569 \& KS_C_5601\-1987
570 .Ve
571 .PP
572 is heavily misused.
573 See "Microsoft\-related naming mess" for details.
574 .PP
575 \&\f(CW\*(C`KS_C_5601\-1987\*(C'\fR \fIraw\fR encoding is available as \f(CW\*(C`kcs5601\-raw\*(C'\fR
576 with Encode. See Encode::KR for details.
577 .PP
578 .Vb 1
579 \& UTF\-16 UTF\-16BE UTF\-16LE
580 .Ve
581 .PP
582 are IANA\-registered \f(CW\*(C`charset\*(C'\fRs. See [RFC 2781] for details.
583 Jungshik Shin reports that UTF\-16 with a BOM is well accepted
584 by MS IE 5/6 and NS 4/6. Beware however that
585 .IP \(bu 2
586 \&\f(CW\*(C`UTF\-16\*(C'\fR support in any software you\*(Aqre going to be
587 using/interoperating with has probably been less tested
588 then \f(CW\*(C`UTF\-8\*(C'\fR support
589 .IP \(bu 2
590 \&\f(CW\*(C`UTF\-8\*(C'\fR coded data seamlessly passes traditional
591 command piping (\f(CW\*(C`cat\*(C'\fR, \f(CW\*(C`more\*(C'\fR, etc.) while \f(CW\*(C`UTF\-16\*(C'\fR coded
592 data is likely to cause confusion (with its zero bytes,
593 for example)
594 .IP \(bu 2
595 it is beyond the power of words to describe the way HTML browsers
596 encode non\-\f(CW\*(C`ASCII\*(C'\fR form data. To get a general impression, visit
597 <http://www.alanflavell.org.uk/charset/form\-i18n.html>.
598 While encoding of form data has stabilized for \f(CW\*(C`UTF\-8\*(C'\fR encoded pages
599 (at least IE 5/6, NS 6, and Opera 6 behave consistently), be sure to
600 expect fun (and cross\-browser discrepancies) with \f(CW\*(C`UTF\-16\*(C'\fR encoded
601 pages!
602 .PP
603 The rule of thumb is to use \f(CW\*(C`UTF\-8\*(C'\fR unless you know what
604 you\*(Aqre doing and unless you really benefit from using \f(CW\*(C`UTF\-16\*(C'\fR.
605 .PP
606 .Vb 5
607 \& ISO\-IR\-165 [RFC1345]
608 \& VISCII
609 \& GB 12345
610 \& GB 18030 (**) (see links below)
611 \& EUC\-TW (**)
612 .Ve
613 .PP
614 are totally valid encodings but not registered at IANA.
615 The names under which they are listed here are probably the
616 most widely\-known names for these encodings and are recommended
617 names.
618 .PP
619 .Vb 1
620 \& BIG5PLUS (**)
621 .Ve
622 .PP
623 is a proprietary name.
624 .SS "Microsoft\-related naming mess"
625 .IX Subsection "Microsoft-related naming mess"
626 Microsoft products misuse the following names:
627 .IP KS_C_5601\-1987 2
628 .IX Item "KS_C_5601-1987"
629 Microsoft extension to \f(CW\*(C`EUC\-KR\*(C'\fR.
630 .Sp
631 Proper names: \f(CW\*(C`CP949\*(C'\fR, \f(CW\*(C`UHC\*(C'\fR, \f(CW\*(C`x\-windows\-949\*(C'\fR (as used by Mozilla).
632 .Sp
633 See <http://lists.w3.org/Archives/Public/ietf\-charsets/2001AprJun/0033.html>
634 for details.
635 .Sp
636 Encode aliases \f(CW\*(C`KS_C_5601\-1987\*(C'\fR to \f(CW\*(C`cp949\*(C'\fR to reflect this common
637 misusage. \fIRaw\fR \f(CW\*(C`KS_C_5601\-1987\*(C'\fR encoding is available as
638 \&\f(CW\*(C`kcs5601\-raw\*(C'\fR.
639 .Sp
640 See Encode::KR for details.
641 .IP GB2312 2
642 .IX Item "GB2312"
643 Microsoft extension to \f(CW\*(C`EUC\-CN\*(C'\fR.
644 .Sp
645 Proper names: \f(CW\*(C`CP936\*(C'\fR, \f(CW\*(C`GBK\*(C'\fR.
646 .Sp
647 \&\f(CW\*(C`GB2312\*(C'\fR has been registered in the \f(CW\*(C`EUC\-CN\*(C'\fR meaning at
648 IANA. This has partially repaired the situation: Microsoft\*(Aqs
649 \&\f(CW\*(C`GB2312\*(C'\fR has become a superset of the official \f(CW\*(C`GB2312\*(C'\fR.
650 .Sp
651 Encode aliases \f(CW\*(C`GB2312\*(C'\fR to \f(CW\*(C`euc\-cn\*(C'\fR in full agreement with
652 IANA registration. \f(CW\*(C`cp936\*(C'\fR is supported separately.
653 \&\fIRaw\fR \f(CW\*(C`GB_2312\-80\*(C'\fR encoding is available as \f(CW\*(C`gb2312\-raw\*(C'\fR.
654 .Sp
655 See Encode::CN for details.
656 .IP Big5 2
657 .IX Item "Big5"
658 Microsoft extension to \f(CW\*(C`Big5\*(C'\fR.
659 .Sp
660 Proper name: \f(CW\*(C`CP950\*(C'\fR.
661 .Sp
662 Encode separately supports \f(CW\*(C`Big5\*(C'\fR and \f(CW\*(C`cp950\*(C'\fR.
663 .IP Shift_JIS 2
664 .IX Item "Shift_JIS"
665 Microsoft\*(Aqs understanding of \f(CW\*(C`Shift_JIS\*(C'\fR.
666 .Sp
667 JIS has not endorsed the full Microsoft standard however.
668 The official \f(CW\*(C`Shift_JIS\*(C'\fR includes only JIS X 0201 and JIS X 0208
669 character sets, while Microsoft has always used \f(CW\*(C`Shift_JIS\*(C'\fR
670 to encode a wider character repertoire. See \f(CW\*(C`IANA\*(C'\fR registration for
671 \&\f(CW\*(C`Windows\-31J\*(C'\fR.
672 .Sp
673 As a historical predecessor, Microsoft\*(Aqs variant
674 probably has more rights for the name, though it may be objected
675 that Microsoft shouldn\*(Aqt have used JIS as part of the name
676 in the first place.
677 .Sp
678 Unambiguous name: \f(CW\*(C`CP932\*(C'\fR. \f(CW\*(C`IANA\*(C'\fR name (also used by Mozilla, and
679 provided as an alias by Encode): \f(CW\*(C`Windows\-31J\*(C'\fR.
680 .Sp
681 Encode separately supports \f(CW\*(C`Shift_JIS\*(C'\fR and \f(CW\*(C`cp932\*(C'\fR.
682 .SH Glossary
683 .IX Header "Glossary"
684 .IP "character repertoire" 2
685 .IX Item "character repertoire"
686 A collection of unique characters. A \fIcharacter\fR set in the strictest
687 sense. At this stage, characters are not numbered.
688 .IP "coded character set (CCS)" 2
689 .IX Item "coded character set (CCS)"
690 A character set that is mapped in a way computers can use directly.
691 Many character encodings, including EUC, fall in this category.
692 .IP "character encoding scheme (CES)" 2
693 .IX Item "character encoding scheme (CES)"
694 An algorithm to map a character set to a byte sequence. You don\*(Aqt
695 have to be able to tell which character set a given byte sequence
696 belongs. 7\-bit ISO\-2022 is a CES but it cannot be a CCS. EUC is an
697 example of being both a CCS and CES.
698 .IP "charset (in MIME context)" 2
699 .IX Item "charset (in MIME context)"
700 has long been used in the meaning of \f(CW\*(C`encoding\*(C'\fR, CES.
701 .Sp
702 While the word combination \f(CW\*(C`character set\*(C'\fR has lost this meaning
703 in MIME context since [RFC 2130], the \f(CW\*(C`charset\*(C'\fR abbreviation has
704 retained it. This is how [RFC 2277] and [RFC 2278] bless \f(CW\*(C`charset\*(C'\fR:
705 .Sp
706 .Vb 7
707 \& This document uses the term "charset" to mean a set of rules for
708 \& mapping from a sequence of octets to a sequence of characters, such
709 \& as the combination of a coded character set and a character encoding
710 \& scheme; this is also what is used as an identifier in MIME "charset="
711 \& parameters, and registered in the IANA charset registry ... (Note
712 \& that this is NOT a term used by other standards bodies, such as ISO).
713 \& [RFC 2277]
714 .Ve
715 .IP EUC 2
716 .IX Item "EUC"
717 Extended Unix Character. See ISO\-2022.
718 .IP ISO\-2022 2
719 .IX Item "ISO-2022"
720 A CES that was carefully designed to coexist with ASCII. There are a 7
721 bit version and an 8 bit version.
722 .Sp
723 The 7 bit version switches character set via escape sequence so it
724 cannot form a CCS. Since this is more difficult to handle in programs
725 than the 8 bit version, the 7 bit version is not very popular except for
726 iso\-2022\-jp, the \fIde facto\fR standard CES for e\-mails.
727 .Sp
728 The 8 bit version can form a CCS. EUC and ISO\-8859 are two examples
729 thereof. Pre\-5.6 perl could use them as string literals.
730 .IP UCS 2
731 .IX Item "UCS"
732 Short for \fIUniversal Character Set\fR. When you say just UCS, it means
733 \&\fIUnicode\fR.
734 .IP UCS\-2 2
735 .IX Item "UCS-2"
736 ISO/IEC 10646 encoding form: Universal Character Set coded in two
737 octets.
738 .IP Unicode 2
739 .IX Item "Unicode"
740 A character set that aims to include all character repertoires of the
741 world. Many character sets in various national as well as industrial
742 standards have become, in a way, just subsets of Unicode.
743 .IP UTF 2
744 .IX Item "UTF"
745 Short for \fIUnicode Transformation Format\fR. Determines how to map a
746 Unicode character into a byte sequence.
747 .IP UTF\-16 2
748 .IX Item "UTF-16"
749 A UTF in 16\-bit encoding. Can either be in big endian or little
750 endian. The big endian version is called UTF\-16BE (equal to UCS\-2 +
751 surrogate support) and the little endian version is called UTF\-16LE.
752 .SH "See Also"
753 .IX Header "See Also"
754 Encode,
755 Encode::Byte,
756 Encode::CN, Encode::JP, Encode::KR, Encode::TW,
757 Encode::EBCDIC, Encode::Symbol
758 Encode::MIME::Header, Encode::Guess
759 .SH References
760 .IX Header "References"
761 .IP ECMA 2
762 .IX Item "ECMA"
763 European Computer Manufacturers Association
764 <http://www.ecma.ch>
765 .RS 2
766 .ie n .IP "ECMA\-035 (eq ""ISO\-2022"")" 2
767 .el .IP "ECMA\-035 (eq \f(CWISO\-2022\fR)" 2
768 .IX Item "ECMA-035 (eq ISO-2022)"
769 <http://www.ecma.ch/ecma1/STAND/ECMA\-035.HTM>
770 .Sp
771 The specification of ISO\-2022 is available from the link above.
772 .RE
773 .RS 2
774 .RE
775 .IP IANA 2
776 .IX Item "IANA"
777 Internet Assigned Numbers Authority
778 <http://www.iana.org/>
779 .RS 2
780 .IP "Assigned Charset Names by IANA" 2
781 .IX Item "Assigned Charset Names by IANA"
782 <http://www.iana.org/assignments/character\-sets>
783 .Sp
784 Most of the \f(CW\*(C`canonical names\*(C'\fR in Encode derive from this list
785 so you can directly apply the string you have extracted from MIME
786 header of mails and web pages.
787 .RE
788 .RS 2
789 .RE
790 .IP ISO 2
791 .IX Item "ISO"
792 International Organization for Standardization
793 <http://www.iso.ch/>
794 .IP RFC 2
795 .IX Item "RFC"
796 Request For Comments \-\- need I say more?
797 <http://www.rfc\-editor.org/>, <http://www.ietf.org/rfc.html>,
798 <http://www.faqs.org/rfcs/>
799 .IP UC 2
800 .IX Item "UC"
801 Unicode Consortium
802 <http://www.unicode.org/>
803 .RS 2
804 .IP "Unicode Glossary" 2
805 .IX Item "Unicode Glossary"
806 <http://www.unicode.org/glossary/>
807 .Sp
808 The glossary of this document is based upon this site.
809 .RE
810 .RS 2
811 .RE
812 .SS "Other Notable Sites"
813 .IX Subsection "Other Notable Sites"
814 .IP czyborra.com 2
815 .IX Item "czyborra.com"
816 <http://czyborra.com/>
817 .Sp
818 Contains a lot of useful information, especially gory details of ISO
819 vs. vendor mappings.
820 .IP CJK.inf 2
821 .IX Item "CJK.inf"
822 <http://examples.oreilly.com/cjkvinfo/doc/cjk.inf>
823 .Sp
824 Somewhat obsolete (last update in 1996), but still useful. Also try
825 .Sp
826 <ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/pdf/GB18030_Summary.pdf>
827 .Sp
828 You will find brief info on \f(CW\*(C`EUC\-CN\*(C'\fR, \f(CW\*(C`GBK\*(C'\fR and mostly on \f(CW\*(C`GB 18030\*(C'\fR.
829 .IP "Jungshik Shin\*(Aqs Hangul FAQ" 2
830 .IX Item "Jungshik Shin's Hangul FAQ"
831 <http://jshin.net/faq>
832 .Sp
833 And especially its subject 8.
834 .Sp
835 <http://jshin.net/faq/qa8.html>
836 .Sp
837 A comprehensive overview of the Korean (\f(CW\*(C`KS *\*(C'\fR) standards.
838 .IP "debian.org: ""Introduction to i18n""" 2
839 .IX Item "debian.org: ""Introduction to i18n"""
840 A brief description for most of the mentioned CJK encodings is
841 contained in
842 <http://www.debian.org/doc/manuals/intro\-i18n/ch\-codes.en.html>
843 .SS "Offline sources"
844 .IX Subsection "Offline sources"
845 .ie n .IP """CJKV Information Processing"" by Ken Lunde" 2
846 .el .IP "\f(CWCJKV Information Processing\fR by Ken Lunde" 2
847 .IX Item "CJKV Information Processing by Ken Lunde"
848 CJKV Information Processing
849 1999 O\*(AqReilly & Associates, ISBN : 1\-56592\-224\-7
850 .Sp
851 The modern successor of \f(CW\*(C`CJK.inf\*(C'\fR.
852 .Sp
853 Features a comprehensive coverage of CJKV character sets and
854 encodings along with many other issues faced by anyone trying
855 to better support CJKV languages/scripts in all the areas of
856 information processing.
857 .Sp
858 To purchase this book, visit
859 <http://oreilly.com/catalog/9780596514471/>
860 or your favourite bookstore.