The following is my plan to patch:
sub decode_numbered_entity ($) {
my ($num) = @_;
return ""
if ($num >= 0 && $num <= 31) || ($num >= 127 && $num <= 159) ||
($num >= 255 && !util::islang('ja'));
return ""
if $num >=127 && util::islang('ja');
sprintf ("%c",$num);
}
It wouldn't be affect for Japanese environment, and would adopt with
iso-8859-* characters.
I tested with it, and seemd good for the test suites.
--
NOKUBI Takatsugu
E-mail: knok(_at_)daionet(_dot_)gr(_dot_)jp
knok(_at_)namazu(_dot_)org / knok(_at_)debian(_dot_)org
_______________________________________________
Namazu-users-en mailing list
Namazu-users-en(_at_)namazu(_dot_)org
http://www.namazu.org/cgi-bin/mailman/listinfo/namazu-users-en