5 our $VERSION = do { my @r = ( q$Revision: 2.2 $ =~ /\d+/g ); sprintf "%d." . "%02d" x $#r, @r };
8 XSLoader::load( __PACKAGE__, $VERSION );
15 Encode::Byte - Single Byte Encodings
19 use Encode qw/encode decode/;
20 $greek = encode("iso-8859-7", $utf8); # loads Encode::Byte implicitly
21 $utf8 = decode("iso-8859-7", $greek); # ditto
25 This module implements various single byte encodings. For most cases it uses
26 \x80-\xff (upper half) to map non-ASCII characters. Encodings
27 supported are as follows.
29 Canonical Alias Description
30 --------------------------------------------------------------------
32 (iso-8859-1 is in built-in)
33 iso-8859-2 latin2 [ISO]
34 iso-8859-3 latin3 [ISO]
35 iso-8859-4 latin4 [ISO]
40 iso-8859-9 latin5 [ISO]
41 iso-8859-10 latin6 [ISO]
43 (iso-8859-12 is nonexistent)
44 iso-8859-13 latin7 [ISO]
45 iso-8859-14 latin8 [ISO]
46 iso-8859-15 latin9 [ISO]
47 iso-8859-16 latin10 [ISO]
51 koi8-r cp878 [RFC1489]
57 # all cp* are also available as ibm-*, ms-*, and windows-*
58 # also see L<http://msdn.microsoft.com/workshop/author/dhtml/reference/charsets/charset4.asp>
90 # Also see L<http://developer.apple.com/technotes/tn/tn1150.html>
107 # More vendor encodings
108 AdobeStandardEncoding
110 gsm0338 # used in GSM handsets
115 To find how to use this module in detail, see L<Encode>.