Commit | Line | Data |
0e567a6c |
1 | package Encode::KR; |
071db25d |
2 | BEGIN { |
3 | if (ord("A") == 193) { |
4 | die "Encode::KR not supported on EBCDIC\n"; |
5 | } |
6 | } |
64ffdd5e |
7 | our $VERSION = do { my @r = (q$Revision: 0.99 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r }; |
c0d88b76 |
8 | |
9 | use Encode; |
0e567a6c |
10 | use XSLoader; |
11 | XSLoader::load('Encode::KR',$VERSION); |
12 | |
64ffdd5e |
13 | use Encode::KR::2022_KR; |
14 | |
0e567a6c |
15 | 1; |
16 | __END__ |
b2729934 |
17 | =head1 NAME |
0e567a6c |
18 | |
b2729934 |
19 | Encode::KR - Korean Encodings |
0e567a6c |
20 | |
b2729934 |
21 | =head1 SYNOPSIS |
22 | |
1b2c56c8 |
23 | use Encode qw/encode decode/; |
2b217bf7 |
24 | $euc_kr = encode("euc-kr", $utf8); # loads Encode::KR implicitly |
ee981de6 |
25 | $utf8 = decode("euc-kr", $euc_kr); # ditto |
b2729934 |
26 | |
27 | =head1 DESCRIPTION |
28 | |
29 | This module implements Korean charset encodings. Encodings supported |
30 | are as follows. |
31 | |
fab31126 |
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) |
5129552c |
40 | -------------------------------------------------------------------- |
b2729934 |
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 | |
a63c962f |
51 | L<http://www.debian.or.jp/~kubota/unicode-symbols.html.en> |
b2729934 |
52 | |
53 | to find why it is implemented that way. |
54 | |
55 | =head1 SEE ALSO |
56 | |
57 | L<Encode> |
58 | |
59 | =cut |