# This file is encoded in Char::UHC.
die "This file is not encoded in Char::UHC.\n" if q{あ} ne "\x82\xa0";
use Char::UHC;
print "1..1\n";
# Bareword found where operator expected
# 「裸の語が演算子があってほしい位置に見つかった」
if ("
" eq sprintf('
',pack('C6',0x91,0xce,0x89,0x9e,0x95,0x5c))) {
print qq"\n>;
}
else {
print qq"\n>;
}
__END__
Char::UHC.pm の処理結果が以下になることを期待している
if ("
" eq sprintf('
',pack('C6',0x91,0xce,0x89,0x9e,0x95,0x5c))) {
Shift-JISテキストを正しく扱う
http://homepage1.nifty.com/nomenclator/perl/shiftjis.htm