Namazu-users-en(old)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mailman & "Charactères Français" (resolved with patch)



I solved my problem. Changed $num >=127 to 256.

/usr/share/namazu/filter/html.pl

# Decode a numberd entity. Exclude an invalid number.
sub decode_numbered_entity ($) {
    my ($num) = @_;
    return ""
        if $num >= 0 && $num <= 8 ||  $num >= 11 && $num <= 31 || $num >=256;
    sprintf ("%c",$num);
}

I'll keep you posted if this severley breaks something. But for now this seems
to work.

Quoting Makoto Fujiwara <makoto@xxxxx>:

> Hi, I may be totally off topic, but what is your ENVIRONMENT 
> values ?
> I have mknmz with (tcsh)
>   env LANG=C mknmz -a -O O your_mail
> HTML results show "troisième" as it is, but with