Mention the new syslog try-harder feature.
[p5sagit/p5-mst-13.2.git] / ext / Encode / t / CJKalias.t
CommitLineData
fab31126 1use strict;
fab31126 2use Encode::CN;
3use Encode::JP;
4use Encode::KR;
5use Encode::TW;
6
7print "# alias test\n";
8
a634c170 9my %a2c;
10
11BEGIN {
12 %a2c = qw(
13 ja_JP.euc euc-jp
14 x-euc-jp euc-jp
15 zh_CN.euc euc-cn
16 x-euc-cn euc-cn
17 ko_KR.euc euc-kr
18 x-euc-kr euc-kr
19 ujis euc-jp
20 Shift_JIS shiftjis
21 x-sjis shiftjis
22 jis 7bit-jis
23 big-5 big5
24 zh_TW.Big5 big5
25 big5-hk big5-hkscs
26 );
27}
28
29use Test::More tests => scalar keys %a2c;
fab31126 30
31foreach my $a (keys %a2c){
32 my $e = Encode::find_encoding($a);
1b2c56c8 33 is($e->name, $a2c{$a});
fab31126 34}
35