Upgrade to Encode 0.96, from Dan Kogai.
[p5sagit/p5-mst-13.2.git] / ext / Encode / JP / JP.pm
CommitLineData
0e567a6c 1package Encode::JP;
0f3b375a 2BEGIN {
3 if (ord("A") == 193) {
4 die "Encode::JP not supported on EBCDIC\n";
5 }
6}
0e567a6c 7use Encode;
5129552c 8our $VERSION = do { my @r = (q$Revision: 0.96 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
ee981de6 9
0e567a6c 10use XSLoader;
11XSLoader::load('Encode::JP',$VERSION);
12
13use Encode::JP::JIS;
14use Encode::JP::ISO_2022_JP;
15
161;
17__END__
557e5ea9 18=head1 NAME
19
20Encode::JP - Japanese Encodings
21
22=head1 SYNOPSIS
23
1b2c56c8 24 use Encode qw/encode decode/;
2b217bf7 25 $euc_jp = encode("euc-jp", $utf8); # loads Encode::JP implicitly
ee981de6 26 $utf8 = decode("euc-jp", $euc_jp); # ditto
557e5ea9 27
28=head1 ABSTRACT
29
30This module implements Japanese charset encodings. Encodings
31supported are as follows.
32
fab31126 33 Canonical Alias Description
34 --------------------------------------------------------------------
35 euc-jp /euc.*jp$/i EUC (Extended Unix Character)
36 /jp.*euc/i
37 /ujis$/i
38 shiftjis /shift.*jis$/i Shift JIS (aka MS Kanji)
39 /sjis$/i
40 7bit-jis /^jis$/i 7bit JIS
41 iso-2022-jp ISO-2022-JP
42 (7bit JIS with all Halfwidth Kana
43 converted to Fullwidth)
44 macjapan Mac Japan (Shift JIS + Apple vendor mappings)
5129552c 45 cp932 Code Page 932 (Shift JIS + MS/IBM vendor mappings)
46 --------------------------------------------------------------------
557e5ea9 47
48=head1 DESCRIPTION
49
50To find how to use this module in detail, see L<Encode>.
51
52=head1 BUGS
53
557e5ea9 54ASCII part (0x00-0x7f) is preserved for all encodings, even though it
55conflicts with mappings by the Unicode Consortium. See
56
57F<http://www.debian.or.jp/~kubota/unicode-symbols.html.en>
58
59to find why it is implemented that way.
60
61=head1 SEE ALSO
62
63L<Encode>
64
65=cut