ID:               22108
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Feedback
 Bug Type:         Output Control
 Operating System: windows 2000
 PHP Version:      4.2.3
 New Comment:

And why an earth would you save PHP files in any other
format than ascii?



Previous Comments:
------------------------------------------------------------------------

[2003-02-07 08:53:10] [EMAIL PROTECTED]

What is a BOM ?

Derick

------------------------------------------------------------------------

[2003-02-07 08:46:36] [EMAIL PROTECTED]

Problem:
When a php file is saved in utf-8 format with the UTF-8 BOM as the
first three bytes of the file (EF BB BF), PHP doesn't ignore these
bytes when loading and compiling the file, but instead considers them
output coming prior to the <?php. This causes incorrect display of the
page and failure of any http header output.

It does this even when the internal character format is set in php.ini
to be utf-8. 

Desired outcome:
PHP recognizes the utf-8 bom and disregards it.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=22108&edit=1

Reply via email to