| To: | namazu-users-en@namazu.org |
|---|---|
| Subject: | Re: Mailman & "Charactères Français" (resolved with patch) |
| From: | dchartrand@scclab.com |
| Date: | Wed, 4 Jun 2003 10:57:52 -0500 |
| Reply-to: | namazu-users-en@namazu.org |
| Message-id: | <1054742272.3ede17002ac47@scclab.com> |
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@ki.nu>:
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
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Mailman & "Charactères Français", dchartrand |
|---|---|
| Next by Date: | running namazu from a cgi script, garg |
| Previous by Thread: | Re: Mailman & "Charactères Français", dchartrand |
| Next by Thread: | Re: Mailman & "Charactères Français" (resolved with patch), Makoto Fujiwara |
| Indexes: | [Date] [Thread] [Top] [All Lists] |