Re: Charset declaration in HTML

From: Leif Halvard Silli <xn--mlform-iua_at_xn--mlform-iua.no>
Date: Wed, 11 Jul 2012 14:52:42 +0200

Philippe Verdy, Wed, 11 Jul 2012 14:15:39 +0200:
> 2012/7/11 Jean-François Colson <jf_at_colson.eu>
>> If your document only contains
>>
>> <?php
>> header("location:http://unicode.org");
>> ?>
>>
>> but you save it with a BOM, the BOM will be sent and you’ll get an
>> error message like
>>
>> Warning: Cannot modify header information - headers already sent by
>> (output started at /customers/0/1/f/colson.eu/httpd.www/test.php:1)
>> in /customers/0/1/f/colson.eu/httpd.www/test.php on line 2
>>
>> (tested with Firefox 13.0 and Google Chrome 20.0.1132.47 on Ubuntu 12.04.)
>
> Most probably a bug to signal to PHP.

Don't know if it would help to try version 5.4, which was released this
year:[1] "Since version 5.4, PHP has native support for Unicode or
multibyte strings, allowing strings as well as class-, method-, and
function-names to contain non-ASCII characters.[26][27]"

[1] http://en.wikipedia.org/wiki/PHP

-- 
Leif H Silli
Received on Wed Jul 11 2012 - 07:54:05 CDT

This archive was generated by hypermail 2.2.0 : Wed Jul 11 2012 - 07:54:05 CDT