Re: Mailman & "Charactères Français" (resolved with patch)
[email protected] Wed, 4 Jun 2003 10:57:52 -0500
| Newsgroups | gmane.comp.search.namazu.user |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]>:
> 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