Sorry for sending two mails at once.

I tried the w3.org HTML validator and I got this response:

The character encoding specified in the HTTP header (iso-8859-1) is different 
from the value in the <meta> element (utf-8). I will use the value from the 
HTTP header (iso-8859-1) for this validation.

How do I change the HTTP header encoding?
Im using PHP5 and Apache2.

Thanks
/Alexander

On Fri, 24 Feb 2006 17:57:44 +0100, alexander <[EMAIL PROTECTED]> wrote:
> Thanks for the replies.
> 
> I added it to main.inc.php and if I look at the HTML source it includes
> this line:
> 
> <meta http-equiv="content-type" content="text/html; charset=utf-8" />
> 
> Buth the browsers, both Firefox and IE doesn't seem to respect it. Does it
> get another encoding instruction in the http header?
> 
> Any help appreciated.
> /Alexander
> 
> On Fri, 24 Feb 2006 16:55:26 +0100, Leonard Bouchet
> <[EMAIL PROTECTED]> wrote:
>> 
>> On 24 févr. 06, at 10:13, Matthew Robinson wrote:
>> 
>>> On Thursday 23 February 2006 22:50, Alexander Isacson wrote:
>> 
>> [...]
>> 
>>>> The letters öäåÖÄÅ don't show up correctly, see the following
>> text:
>> 
>> [...]
>> 
>>> As a guess, you could edit the script that contens the <head> section
>>> and put in a meta tag for content-encoding
>> 
>> Just adding
>> 
>>      $rcmail_config['charset'] = 'utf-8';
>> 
>> to your main.inc.php will add the appropriate meta tag to every output 
>> file.
>> 
>> Regards,
>> 
>> -l
> -- 
> Alexander Isacson
-- 
Alexander Isacson



Reply via email to