package Encode::JP;
BEGIN {
    if (ord("A") == 193) {
	die "Encode::JP not supported on EBCDIC\n";
    }
}
use Encode;
our $VERSION = '0.02';
use XSLoader;
XSLoader::load('Encode::JP',$VERSION);

use Encode::JP::JIS;
use Encode::JP::ISO_2022_JP;

1;
__END__
=head1 NAME

Encode::JP - Japanese Encodings

=head1 SYNOPSIS

    use Encode 'encode';
    $euc_jp = encode("euc-jp", $utf8);   # loads Encode::JP implicitly
    $utf8   = encode("euc-jp", $euc_jp); # ditto

=head1 ABSTRACT

This module implements Japanese charset encodings.  Encodings
supported are as follows.

  euc-jp        EUC (Extended Unix Character)
  shiftjis      Shift JIS (aka MS Kanji)
  7bit-jis      7bit JIS
  iso-2022-jp   ISO-2022-JP (7bit JIS with all X201 converted to X208)
  macjapan      Mac Japan (Shift JIS + Apple vendor mappings)
  cp932         Code Page 932 (Shift JIS + Microsoft vendor mappings)

=head1 DESCRIPTION

To find how to use this module in detail, see L<Encode>.

=head1 BUGS

JIS X0212-1990 is not supported.

ASCII part (0x00-0x7f) is preserved for all encodings, even though it
conflicts with mappings by the Unicode Consortium.  See

F<http://www.debian.or.jp/~kubota/unicode-symbols.html.en>

to find why it is implemented that way.

=head1 SEE ALSO

L<Encode>

=cut
