# This file is encoded in Char::GBK.
die "This file is not encoded in Char::GBK.\n" if q{ } ne "\x82\xa0";
use Char::GBK;
print "1..1\n";
# Unrecognized character \x82
# uF¯³êÈ¢¶ \x82v
if (join('',"Î\", "ÈñÅࢢ¯Ç") eq join('',pack('C6',0x91,0xce,0x89,0x9e,0x95,0x5c),"ÈñÅࢢ¯Ç")) {
print qq<ok - 1 "TAIOUHYO","NANDEMOIIKEDO"\n>;
}
else {
print qq<not ok - 1 "TAIOUHYO","NANDEMOIIKEDO"\n>;
}
__END__
Char::GBK.pm ÌʪȺÉÈé±ÆðúҵĢé
if (join('',"Î\\", "ÈñÅࢢ¯Ç") eq join('',pack('C6',0x91,0xce,0x89,0x9e,0x95,0x5c),"ÈñÅࢢ¯Ç")) {
Shift-JISeLXgð³µµ¤
http://homepage1.nifty.com/nomenclator/perl/shiftjis.htm