Package: dwww Version: 1.10.5 Followup-For: Bug #403180 Tags: patch The following minor patch would take care of this bug.
----------------------------------------------------------------------
--- /usr/sbin/dwww-convert~ 2006-05-30 14:22:51.000000000 -0500
+++ /usr/sbin/dwww-convert 2007-08-07 20:35:41.000000000 -0500
@@ -475,9 +475,7 @@
}
my $mime_charset=undef;
+# Do not set mime type for html docs. Either they have a header or we can
+# mostly trust the server and browsers to guess correctly.
+if ($mime_type =~ /^text\// and $mime_type !~ /^text\/html/) {
-if ($mime_type =~ /^text\//) {
$mime_charset="ISO-8859-1";
if ($file =~ /(^\/usr\/share\/doc\/[^\/]+\/)([^\/]+)$/o) {
if (($2 eq "changelog.Debian.gz") || ($2 eq "copyright") ||
----------------------------------------------------------------------
--
Rodrigo Gallardo
GPG-Fingerprint: 7C81 E60C 442E 8FBC D975 2F49 0199 8318 ADC9 BC28
signature.asc
Description: Digital signature

