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

Re: php5 and UTF BOM header



Hi.

supermega, 11.08.2007 14:42:
> On 11 Sie, 09:50, Mathias Brodala <i...@noctus.net> wrote:
>> Use an editor which allows you to omit the BOM, it's optional for UTF-8 anyways.
>> As long as you send the correct Content-Type header, the output won't be any
>> different.
>>
> 
> I know this solition and I use it for now, but it's against the UTF
> standard.

Nope. As I said, the BOM is optional for UTF-8. It is not for UTF-16 and UTF-32.

> Isn't it a bug? http://bugs.php.net/bug.php?id=22108
> Maybe php5 in debian isn't compiled with "--enable-zend-multibyte".

It is here. But you can always recompile PHP yourself if you miss an extension.


Regards, Mathias

-- 
debian/rules

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: