#42312 [Opn->Fbk]: BOM mark interpreted as output

From: Date: Thu, 16 Aug 2007 06:25:19 +0000
Subject: #42312 [Opn->Fbk]: BOM mark interpreted as output
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-116147@lists.php.net to get a copy of this message
 ID:               42312
 Updated by:       jani@php.net
 Reported By:      draconpern at hotmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         I18N and L10N related
 Operating System: FreeBSD
 PHP Version:      5.2.3
 New Comment:

And using --enable-zend-multibyte does not work for you?



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

[2007-08-15 19:49:52] draconpern at hotmail dot com

All the other bugs suggested ignoring/discarding the output which is
incorrect.  The correct action should be to read the script, and save
the BOM.  Do the header processing, and then output the BOM as part of
the output content.

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

[2007-08-15 15:40:45] jani@php.net

And how isn't this exactly same what bug #22247 is about?
Or bug #22108 ? 

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

[2007-08-15 14:59:34] draconpern at hotmail dot com

Description:
------------
BOM marks on utf files are interpreted as output.  So any php script
that has to output before any file content has problems.  This is not a
duplicate of bug #22247.  Instead, BOM should be passed through to
output, but not interpreted as output.

Expected result:
----------------
Any php file with BOM.



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


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


Thread (6 messages)

« previous php.bugs (#116147) next »