RE: [PHP] French characters not displayed correctly

From: Date: Thu, 17 Apr 2008 08:46:50 +0000
Subject: RE: [PHP] French characters not displayed correctly
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-273149@lists.php.net to get a copy of this message
Angelo Zanetti wrote: > I have also found that we can do this: > > <html lang="fr"> > > But I am interested in finding out if the doctype declaration is a > contributing factor. Neither will affect the character set used when rendering the page. The meta http-equiv="Content-Type" in a page is ignored by the browser if an http header with a Content-Type has already been sent. If you bring up the page in Firefox, and hit Ctrl-I, I'll bet it says the page is being displayed in ISO-8859-1 (well, not UTF8 at least). I would check the default_charset setting in php.ini. /Per Jessen, Zürich

« previous php.general (#273149) next »