php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22247 The UTF BOM is sent out
Submitted: 2003-02-17 07:03 UTC Modified: 2003-02-17 07:43 UTC
Votes:1
Avg. Score:2.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: muranyia at iqc dot hu Assigned:
Status: Not a bug Package: Output Control
PHP Version: 4.2.3 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
4 + 43 = ?
Subscribe to this entry?

 
 [2003-02-17 07:03 UTC] muranyia at iqc dot hu
When an UTF BOM (Byte Order Mark) is saved in a script, it is not recogised by PHP, instead it is interpreted as text, and it is sent out with the output (and prevents the user from issuing Header() commands, btw.)
Info on UTF BOM: http://www.unicode.org/unicode/faq/utf_bom.html#22

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-17 07:43 UTC] moriyoshi@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PHP.

dupe of bug #22108
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Jul 21 14:01:25 2019 UTC