RE: FRench characters not displayed correctly

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

 



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


-- 
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