Upgrade to Encode 0.99, from Dan Kogai.
[p5sagit/p5-mst-13.2.git] / ext / Encode / KR / KR.pm
1 package Encode::KR;
2 BEGIN {
3     if (ord("A") == 193) {
4         die "Encode::KR not supported on EBCDIC\n";
5     }
6 }
7 our $VERSION = do { my @r = (q$Revision: 0.99 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
8
9 use Encode;
10 use XSLoader;
11 XSLoader::load('Encode::KR',$VERSION);
12
13 use Encode::KR::2022_KR;
14
15 1;
16 __END__
17 =head1 NAME
18
19 Encode::KR - Korean Encodings
20
21 =head1 SYNOPSIS
22
23     use Encode qw/encode decode/; 
24     $euc_kr = encode("euc-kr", $utf8);   # loads Encode::KR implicitly
25     $utf8   = decode("euc-kr", $euc_kr); # ditto
26
27 =head1 DESCRIPTION
28
29 This module implements Korean charset encodings.  Encodings supported
30 are as follows.
31
32
33   Canonical   Alias             Description
34   --------------------------------------------------------------------
35   euc-kr      /euc.*kr$/i       EUC (Extended Unix Character)
36               /kr.*euc/i
37   ksc5601                       Korean standard code set
38   cp949                         Code Page 949 
39                                 (EUC-KR + Unified Hangul Code)
40   --------------------------------------------------------------------
41   
42 To find how to use this module in detail, see L<Encode>.
43
44 =head1 BUGS
45
46 The C<Johab> (two-byte combination code) encoding is not supported.
47
48 ASCII part (0x00-0x7f) is preserved for all encodings, even though it
49 conflicts with mappings by the Unicode Consortium.  See
50
51 L<http://www.debian.or.jp/~kubota/unicode-symbols.html.en>
52
53 to find why it is implemented that way.
54
55 =head1 SEE ALSO
56
57 L<Encode>
58
59 =cut