# # $Id: CJKConstants.pm,v 2.2 2006/06/03 20:28:48 dankogai Exp $ # package Encode::CJKConstants; use strict; use warnings; our $RCSID = q$Id: CJKConstants.pm,v 2.2 2006/06/03 20:28:48 dankogai Exp $; our $VERSION = do { my @r = ( q$Revision: 2.2 $ =~ /\d+/g ); sprintf "%d." . "%02d" x $#r, @r }; use Carp; require Exporter; our @ISA = qw(Exporter); our @EXPORT = qw(); our @EXPORT_OK = qw(%CHARCODE %ESC %RE); our %EXPORT_TAGS = ( 'all' => [ @EXPORT_OK, @EXPORT ] ); my %_0208 = ( 1978 => '\e\$\@', 1983 => '\e\$B', 1990 => '\e&\@\e\$B', ); our %CHARCODE = ( UNDEF_EUC => "\xa2\xae", # �� in EUC UNDEF_SJIS => "\x81\xac", # �� in SJIS UNDEF_JIS => "\xa2\xf7", # �� -- used in unicode UNDEF_UNICODE => "\x20\x20", # �� -- used in unicode ); our %ESC = ( GB_2312 => "\e\$A", JIS_0208 => "\e\$B", JIS_0212 => "\e\$(D", KSC_5601 => "\e\$(C", ASC => "\e\(B", KANA => "\e\(I", '2022_KR' => "\e\$)C", ); our %RE = ( ASCII => '[\x00-\x7f]', BIN => '[\x00-\x06\x7f\xff]', EUC_0212 => '\x8f[\xa1-\xfe][\xa1-\xfe]', EUC_C => '[\xa1-\xfe][\xa1-\xfe]', EUC_KANA => '\x8e[\xa1-\xdf]', JIS_0208 => "$_0208{1978}|$_0208{1983}|$_0208{1990}", JIS_0212 => "\e" . '\$\(D', ISO_ASC => "\e" . '\([BJ]', JIS_KANA => "\e" . '\(I', '2022_KR' => "\e" . '\$\)C', SJIS_C => '[\x81-\x9f\xe0-\xfc][\x40-\x7e\x80-\xfc]', SJIS_KANA => '[\xa1-\xdf]', UTF8 => '[\xc0-\xdf][\x80-\xbf]|[\xe0-\xef][\x80-\xbf][\x80-\xbf]' ); 1; =head1 NAME Encode::CJKConstants.pm -- Internally used by Encode::??::ISO_2022_* =cut
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
CN | Folder | 0755 |
|
|
JP | Folder | 0755 |
|
|
KR | Folder | 0755 |
|
|
MIME | Folder | 0755 |
|
|
Unicode | Folder | 0755 |
|
|
Alias.pm | File | 11.9 KB | 0644 |
|
Byte.pm | File | 2.37 KB | 0644 |
|
CJKConstants.pm | File | 1.64 KB | 0644 |
|
CN.pm | File | 1.99 KB | 0644 |
|
Config.pm | File | 5.92 KB | 0644 |
|
EBCDIC.pm | File | 865 B | 0644 |
|
Encoder.pm | File | 6.17 KB | 0644 |
|
Encoding.pm | File | 8.88 KB | 0644 |
|
GSM0338.pm | File | 11.52 KB | 0644 |
|
Guess.pm | File | 9.85 KB | 0644 |
|
JP.pm | File | 2.62 KB | 0644 |
|
KR.pm | File | 1.91 KB | 0644 |
|
PerlIO.pod | File | 5.92 KB | 0644 |
|
Supported.pod | File | 28.06 KB | 0644 |
|
Symbol.pm | File | 847 B | 0644 |
|
TW.pm | File | 2.24 KB | 0644 |
|
Unicode.pm | File | 8.75 KB | 0644 |
|