4 die "Encode::JP not supported on EBCDIC\n";
8 our $VERSION = do { my @r = (q$Revision: 0.90 $ =~ /\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
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 euc-jp EUC (Extended Unix Character)
34 shiftjis Shift JIS (aka MS Kanji)
36 iso-2022-jp ISO-2022-JP (7bit JIS with all X201 converted to X208)
37 macjapan Mac Japan (Shift JIS + Apple vendor mappings)
38 cp932 Code Page 932 (Shift JIS + Microsoft vendor mappings)
42 To find how to use this module in detail, see L<Encode>.
46 JISX0212-1990 -> utf8 conversion does not work
47 (the reverse does, however. encengine|compile bug?)
49 ASCII part (0x00-0x7f) is preserved for all encodings, even though it
50 conflicts with mappings by the Unicode Consortium. See
52 F<http://www.debian.or.jp/~kubota/unicode-symbols.html.en>
54 to find why it is implemented that way.