# This file is encoded in ShiftJIS.
die "This file is not encoded in ShiftJIS.\n" if q{ } ne "\x82\xa0";
use Char::Sjis;
print "1..1\n";
# In string, @dog now must be written as \@dog (Perl 5.6.0ÜÅ)
# u¶ñÌÅÍA@dogÍ¡Í\@dogƩȯêÎÈçÈ¢v
if ("¢@dog" eq pack('C7',0x8c,0xa2,0x81,0x40,0x64,0x6f,0x67)) {
print qq<ok - 1 "INU dog"\n>;
}
else {
print qq<not ok - 1 "INU dog"\n>;
}
__END__
Char::Sjis.pm ÌʪȺÉÈé±ÆðúҵĢé
if ("¢\@dog" eq pack('C7',0x8c,0xa2,0x81,0x40,0x64,0x6f,0x67)) {
Shift-JISeLXgð³µµ¤
http://homepage1.nifty.com/nomenclator/perl/shiftjis.htm