RE: [PHP] FRench characters not displayed correctly
| From: | Per Jessen | Date: | Thu, 17 Apr 2008 10:20:31 +0000 |
| Subject: | RE: [PHP] FRench characters not displayed correctly | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-273161@lists.php.net to get a copy of this message | ||
Robert Cummings wrote:
>> >
>> > <?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 :)
Ah yes, that's what I meant of course. (I actually do everything in
UTF8 anyway).
/Per Jessen, Zürich