Re: FRench characters not displayed correctly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2008-04-17 at 09:47 +0200, Angelo Zanetti wrote:
> Hi all.
> 
> We have taken over a site and a problem we have is that French special
> characters aren't displaying correctly, they are displaying a weird square
> block.
> 
> I have checked the content type and it's as follows: 
> 
> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
> 
> I also notice that the "charset=iso-8859-1" is missing in the above meta
> tag, could this be affecting the characters?

You certainly wouldn't want both utf-8 and iso-8859-1 declared at the
same time. It sounds like what you want is iso-8859-1 and NOT utf-8.
Check the encoding of either your files or your database content. Also
check what headers PHP is sending to the browser. If you're using
Firefox you can check the page info to see what charset it thinks it
received.

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux