Commit | Line | Data |
5129552c |
1 | package Encode::Byte; |
2 | use Encode; |
3 | our $VERSION = do { my @r = (q$Revision: 0.96 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r }; |
4 | |
5 | use XSLoader; |
6 | XSLoader::load('Encode::Byte',$VERSION); |
7 | |
8 | 1; |
9 | __END__ |
10 | =head1 NAME |
11 | |
12 | Encode::Byte - Single Byte Encodings |
13 | |
14 | =head1 SYNOPSIS |
15 | |
16 | use Encode qw/encode decode/; |
17 | $latin1 = encode("iso-8859-1", $utf8); # loads Encode::Byte implicitly |
18 | $utf8 = decode("iso-8859-1", $latin1); # ditto |
19 | |
20 | =head1 ABSTRACT |
21 | |
22 | This module implements various single byte encodings. For most cases it uses |
23 | \x80-\xff (upper half) to map non-ASCII characters. Encodings |
24 | supported are as follows. |
25 | |
26 | Canonical Alias Description |
27 | -------------------------------------------------------------------- |
28 | iso-8859-1 latin1 |
29 | iso-8859-2 latin2 |
30 | iso-8859-3 latin3 |
31 | iso-8859-4 latin4 |
32 | iso-8859-5 latin |
33 | iso-8859-6 latin |
34 | iso-8859-7 |
35 | iso-8859-8 |
36 | iso-8859-9 latin5 |
37 | iso-8859-10 latin6 |
38 | iso-8859-11 |
39 | (iso-8859-12 is nonexistent) |
40 | iso-8859-13 latin7 |
41 | iso-8859-14 latin8 |
42 | iso-8859-15 latin9 |
43 | iso-8859-16 latin10 |
44 | |
45 | koi8-f |
46 | koi8-r |
47 | koi8-u |
48 | |
49 | viscii # ASCII + vietnamese |
50 | |
51 | cp1250 WinLatin2 |
52 | cp1251 WinCyrillic |
53 | cp1252 WinLatin1 |
54 | cp1253 WinGreek |
55 | cp1254 WinTurkiskh |
56 | cp1255 WinHebrew |
57 | cp1256 WinArabic |
58 | cp1257 WinBaltic |
59 | cp1258 WinVietnamese |
60 | # all cp* are also available as ibm-* and ms-* |
61 | |
62 | maccentraleuropean |
63 | maccroatian |
64 | macroman |
65 | maccyrillic |
66 | macromanian |
67 | macdingbats |
68 | macsami |
69 | macgreek |
70 | macthai |
71 | macicelandic |
72 | macturkish |
73 | macukraine |
74 | |
75 | =head1 DESCRIPTION |
76 | |
77 | To find how to use this module in detail, see L<Encode>. |
78 | |
79 | =head1 SEE ALSO |
80 | |
81 | L<Encode> |
82 | |
83 | =cut |