Posted by Andy Hassall on 06/01/05 15:58
On Wed, 01 Jun 2005 09:54:46 -0000, Marcos <mjs_ops@gmx.net> wrote:
>I have one chat in javascript with php4, developed in ISO8859-1 and I
>found problems with encoding using the Opera Navigator. In the I.E the
>encoding is detected correctly but in the Opera the encoding is not
>detected correctly, I need select manually the encoding ISO8859-1 so that
>the accents appear certain.
>
>My pages already have the meta for ISO (<meta http-equiv="Content-Type"
>content="text/html; charset=ISO-8859-1" />)
Don't send a <meta> HTTP header equivalent when you can send the real header
instead.
<?php header("Content-type: text/html; charset=iso-8859-1"); ?>
--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
[Back to original message]
|