Re: FRench characters not displayed correctly

From: Date: Thu, 17 Apr 2008 08:37:51 +0000
Subject: Re: FRench characters not displayed correctly
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-273148@lists.php.net to get a copy of this message
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

« previous php.general (#273148) next »