This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add note about scope in strict docs
[perl5.git] / cpan / Encode / Byte / Byte.pm
CommitLineData
5129552c 1package Encode::Byte;
656ebd29
RGS
2use strict;
3use warnings;
5129552c 4use Encode;
b2deda17 5our $VERSION = do { my @r = ( q$Revision: 2.4 $ =~ /\d+/g ); sprintf "%d." . "%02d" x $#r, @r };
5129552c
JH
6
7use XSLoader;
d1256cb1 8XSLoader::load( __PACKAGE__, $VERSION );
5129552c
JH
9
101;
11__END__
67d7b5ef 12
5129552c
JH
13=head1 NAME
14
15Encode::Byte - Single Byte Encodings
16
17=head1 SYNOPSIS
18
19 use Encode qw/encode decode/;
0ab8f81e 20 $greek = encode("iso-8859-7", $utf8); # loads Encode::Byte implicitly
a999c27c 21 $utf8 = decode("iso-8859-7", $greek); # ditto
5129552c
JH
22
23=head1 ABSTRACT
24
25This module implements various single byte encodings. For most cases it uses
26\x80-\xff (upper half) to map non-ASCII characters. Encodings
27supported are as follows.
28
a999c27c 29 Canonical Alias Description
5129552c 30 --------------------------------------------------------------------
67d7b5ef
JH
31 # ISO 8859 series
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]
36 iso-8859-5 [ISO]
37 iso-8859-6 [ISO]
38 iso-8859-7 [ISO]
39 iso-8859-8 [ISO]
40 iso-8859-9 latin5 [ISO]
41 iso-8859-10 latin6 [ISO]
5129552c
JH
42 iso-8859-11
43 (iso-8859-12 is nonexistent)
67d7b5ef
JH
44 iso-8859-13 latin7 [ISO]
45 iso-8859-14 latin8 [ISO]
46 iso-8859-15 latin9 [ISO]
47 iso-8859-16 latin10 [ISO]
48
49 # Cyrillic
50 koi8-f
a999c27c 51 koi8-r cp878 [RFC1489]
67d7b5ef
JH
52 koi8-u [RFC2319]
53
54 # Vietnamese
55 viscii
151b5d36 56
67d7b5ef 57 # all cp* are also available as ibm-*, ms-*, and windows-*
b2deda17 58 # also see L<http://msdn.microsoft.com/en-us/library/aa752010%28VS.85%29.aspx>
a999c27c
JH
59
60 cp424
61 cp437
62 cp737
63 cp775
64 cp850
65 cp852
66 cp855
67 cp856
68 cp857
69 cp860
70 cp861
71 cp862
72 cp863
73 cp864
74 cp865
75 cp866
76 cp869
77 cp874
78 cp1006
67d7b5ef
JH
79 cp1250 WinLatin2
80 cp1251 WinCyrillic
81 cp1252 WinLatin1
82 cp1253 WinGreek
0ab8f81e 83 cp1254 WinTurkish
67d7b5ef
JH
84 cp1255 WinHebrew
85 cp1256 WinArabic
86 cp1257 WinBaltic
87 cp1258 WinVietnamese
88
89 # Macintosh
90 # Also see L<http://developer.apple.com/technotes/tn/tn1150.html>
a999c27c
JH
91 MacArabic
92 MacCentralEurRoman
93 MacCroatian
94 MacCyrillic
95 MacFarsi
96 MacGreek
97 MacHebrew
98 MacIcelandic
99 MacRoman
100 MacRomanian
101 MacRumanian
102 MacSami
103 MacThai
104 MacTurkish
105 MacUkrainian
67d7b5ef
JH
106
107 # More vendor encodings
a999c27c 108 AdobeStandardEncoding
67d7b5ef 109 nextstep
67d7b5ef 110 hp-roman8
5129552c
JH
111
112=head1 DESCRIPTION
113
114To find how to use this module in detail, see L<Encode>.
115
116=head1 SEE ALSO
117
118L<Encode>
119
120=cut