Hej
Nu gik det jo så fint med mit cronproblem (tak til Jes), så her har jeg et
andet. Jeg har installeret apache2 og mailman. Mailman leverer sine ting i
iso-8859-1, apache synes det skal være UTF-8. Se f.eks. her (med headere
gemt, hentet via wget):
HTTP/1.1 200 OK
Date: Sun, 19 Mar 2006 20:08:01 GMT
Server: Apache/2.0.54 (Ubuntu) PHP/5.0.5-2ubuntu1.2
Last-Modified: Wed, 22 Feb 2006 21:21:58 GMT
ETag: "5208fa-434-b7c8e980"
Accept-Ranges: bytes
Content-Length: 1076
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<title>The Test Archives</title>
<META NAME="robots" CONTENT="noindex,follow">
<META http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
Så, apaches headers sider utf-8, mailman siger iso-8859-1.
Jeg ville egentlig gerne have apache til at bruge mailmans meta http-equiv
tag...
Hints? Jeg er ikke den store apache haj, og har ikke rigtigt oplevet den her
slags problemer før...
Et alternativ kunne være at få mailman til at konvertere alt til utf8, men
jeg forestiller mig at det er nemmere at få Apache til at fatte mailman?
På forhånd tak for hjælpen.
Mads
--
Mads Bondo Dydensborg mads@dydensborg.dk
http://www.madsdydensborg.dk/
Of course the people don't want war. But after all, it's the leaders of the
country who determine the policy, and it's always a simple matter to drag
the
people along whether it's a democracy, a fascist dictatorship, or a
parliament, or a communist dictatorship. Voice or no voice, the people can
always be brought to the bidding of the leaders. That is easy. All you have
to do is tell them they are being attacked, and denounce the pacifists for
lack of patriotism, and exposing the country to greater danger.
- Herman Goering at the Nuremberg trials