[Namazu-users-en] Re: [Fwd: Bad description of query result]

NOKUBI Takatsugu knok at daionet.gr.jp
Wed Aug 31 17:43:26 JST 2005


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.gr.jp
	knok at namazu.org / knok at debian.org


More information about the Namazu-users-en mailing list