php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42651 UTF BOM creates problems
Submitted: 2007-09-13 08:12 UTC Modified: 2007-09-13 09:23 UTC
From: phpexpert at prologon dot ch Assigned:
Status: Not a bug Package: Session related
PHP Version: 5CVS-2007-09-13 (snap) OS: all
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: phpexpert at prologon dot ch
New email:
PHP Version: OS:

 

 [2007-09-13 08:12 UTC] phpexpert at prologon dot ch
Description:
------------
PHP sends UTF BOM to the Browser. 
This creates problems eg. when using sessions.

Supressing BOM in source-files is a poor workaround because Editors need BOM to identify the Coding that is used.

Reproduce code:
---------------
no code

Expected result:
----------------
Suggestion:
Identify BOM information ind Source-Files and prevent ist being sent to the Browser.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-09-13 09:23 UTC] jani@php.net
See bug #22108

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Aug 15 16:00:03 2025 UTC