#22108 [NEW]: php doesn't ignore the utf-8 BOM
From: bugzilla at jellycan dot com Date: Fri, 07 Feb 2003 14:46:36 +0000 Subject: #22108 [NEW]: php doesn't ignore the utf-8 BOM Groups: php.bugs Request: Send a blank email to php-bugs+get-32384@lists.php.net to get a copy of this message
From: bugzilla@jellycan.com Operating system: windows 2000 PHP version: 4.2.3 PHP Bug Type: Output Control Bug description: php doesn't ignore the utf-8 BOM 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 bug report at http://bugs.php.net/?id=22108&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22108&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22108&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22108&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22108&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22108&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22108&r=support Expected behavior: http://bugs.php.net/fix.php?id=22108&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22108&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22108&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22108&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22108&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22108&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22108&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22108&r=gnused
Thread (47 messages)
- #22108 [Opn->Fbk]: php doesn't ignore the utf-8 BOM
- #22108 [Fbk]: php doesn't ignore the utf-8 BOM
- #22108 [Fbk]: php doesn't ignore the utf-8 BOM
- #22108 [Fbk->Bgs]: php doesn't ignore the utf-8 BOM
- #22108 [Bgs->Opn]: php doesn't ignore the utf-8 BOM
- #22108 [Opn]: php doesn't ignore the utf-8 BOM
- #22108 [Opn]: php doesn't ignore the utf-8 BOM
- #22108 [Opn]: php doesn't ignore the utf-8 BOM
- #22108 [Opn->Bgs]: php doesn't ignore the utf-8 BOM
- #22108 [Bgs->Opn]: php doesn't ignore the utf-8 BOM
- #22108 [Opn]: php doesn't ignore the utf-8 BOM
- #22108 [Opn]: php doesn't ignore the utf-8 BOM
- #22108 [Com]: php doesn't ignore the utf-8 BOM
- #22108 [Opn]: php doesn't ignore the utf-8 BOM
- #22108 [Com]: php doesn't ignore the utf-8 BOM
- #22108 [Com]: php doesn't ignore the utf-8 BOM
- #22108 [Opn->WFx]: php doesn't ignore the utf-8 BOM
- #22108 [WFx->Asn]: php doesn't ignore the utf-8 BOM
- #22108 [Asn]: php doesn't ignore the utf-8 BOM
- #22108 [Asn]: php doesn't ignore the utf-8 BOM
- #22108 [Asn]: php doesn't ignore the utf-8 BOM
- #22108 [Asn]: php doesn't ignore the utf-8 BOM
- #22108 [Com]: php doesn't ignore the utf-8 BOM
- #22108 [Com]: php doesn't ignore the utf-8 BOM
- #22108 [Com]: php doesn't ignore the utf-8 BOM
- #22108 [Com]: php doesn't ignore the utf-8 BOM
- #22108 [Com]: php doesn't ignore the utf-8 BOM
- #22108 [Com]: php doesn't ignore the utf-8 BOM
- #22108 [Asn]: php doesn't ignore the utf-8 BOM
- #22108 [Com]: php doesn't ignore the utf-8 BOM
- #22108 [Com]: php doesn't ignore the utf-8 BOM
- #22108 [Com]: php doesn't ignore the utf-8 BOM
- #22108 [Com]: php doesn't ignore the utf-8 BOM
- #22108 [Com]: php doesn't ignore the utf-8 BOM
- #22108 [Com]: php doesn't ignore the utf-8 BOM
- #22108 [Com]: php doesn't ignore the utf-8 BOM
- #22108 [Asn]: php doesn't ignore the utf-8 BOM
- #22108 [Com]: php doesn't ignore the utf-8 BOM
- #22108 [Com]: php doesn't ignore the utf-8 BOM
- #22108 [Com]: php doesn't ignore the utf-8 BOM
- #22108 [Asn->WFx]: php doesn't ignore the utf-8 BOM
- Req #22108 [Com]: php doesn't ignore the utf-8 BOM
- Req #22108 [Com]: php doesn't ignore the utf-8 BOM
- Req #22108 [Com]: php doesn't ignore the utf-8 BOM
- Req #22108 [Com]: php doesn't ignore the utf-8 BOM
- Req #22108 [Com]: php doesn't ignore the utf-8 BOM
| « previous | php.bugs (#32384) | next » |
|---|