4 die "Encode::JP not supported on EBCDIC\n";
8 our $VERSION = do { my @r = (q$Revision: 0.96 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
11 XSLoader::load('Encode::JP',$VERSION);
14 use Encode::JP::ISO_2022_JP;
20 Encode::JP - Japanese Encodings
24 use Encode qw/encode decode/;
25 $euc_jp = encode("euc-jp", $utf8); # loads Encode::JP implicitly
26 $utf8 = decode("euc-jp", $euc_jp); # ditto
30 This module implements Japanese charset encodings. Encodings
31 supported are as follows.
33 Canonical Alias Description
34 --------------------------------------------------------------------
35 euc-jp /euc.*jp$/i EUC (Extended Unix Character)
38 shiftjis /shift.*jis$/i Shift JIS (aka MS Kanji)
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)
45 cp932 Code Page 932 (Shift JIS + MS/IBM vendor mappings)
46 --------------------------------------------------------------------
50 To find how to use this module in detail, see L<Encode>.
54 ASCII part (0x00-0x7f) is preserved for all encodings, even though it
55 conflicts with mappings by the Unicode Consortium. See
57 F<http://www.debian.or.jp/~kubota/unicode-symbols.html.en>
59 to find why it is implemented that way.