RE: [PHP] FRench characters not displayed correctly

From: Date: Thu, 17 Apr 2008 10:04:10 +0000
Subject: RE: [PHP] FRench characters not displayed correctly
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-273160@lists.php.net to get a copy of this message
On Thu, 2008-04-17 at 11:39 +0200, Per Jessen wrote: > Robert Cummings wrote: > > > No, that's what kind of content the server is willing to accept from > > various sources such as POST. You want the following somewhere near > > the beginning of your script: > > > > <?php > > header( 'Content-type: text/html; charset=iso-8859-1' ); > > ?> > > I think that is better done with the default_charset setting in php.ini. I don't. But then I have several projects and some use utf-8 (preferred) and some use iso-8859-1 (not preferred). I prefer it in the virtual host config personally :) Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP

« previous php.general (#273160) next »