#35946 [NEW]: PHP reads the UTF-8 BOM and ruins the site!

From: Date: Mon, 09 Jan 2006 15:20:21 +0000
Subject: #35946 [NEW]: PHP reads the UTF-8 BOM and ruins the site!
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-91687@lists.php.net to get a copy of this message
From:             oops at mytrashmail dot com
Operating system: *
PHP version:      5.0.5
PHP Bug Type:     Filesystem function related
Bug description:  PHP reads the UTF-8 BOM and ruins the site!

Description:
------------
There are already 2 bug reports about this, but you keep closing them, so
I can't comment in either of them and I have new information to add to
both. So I hope this bug report would be central place for both from now
on.

http://bugs.php.net/bug.php?id=33198 (which has
examples of the problem)
shouldn't have been closed as PHP v5.0.5 was where I've experienced this
problem for the first time! I've worked up to v5.0.3 without any
problems.

But as soon as I upgraded to v5.0.5 in one site or started from fresh in
v5.0.5 in another (same host), I kept randomally get those ??????.
Then again, that guy claimed his host did something to either v5.0.5 or to
Apache and it solved it, so it should be fixable somehow! But how
exactly...?

As for http://bugs.php.net/bug.php?id=22108 ,
well, my host does use
enable-zend-multibyte (which is why this post shouldn't have been closed
either).

Please take this bug more seriously, as it (randomally, but still)
disables whole sites if they don't use English!

Thanks!


-- 
Edit bug report at http://bugs.php.net/?id=35946&edit=1
-- 
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35946&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35946&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35946&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=35946&r=fixedcvs
Fixed in release:             http://bugs.php.net/fix.php?id=35946&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=35946&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=35946&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=35946&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=35946&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=35946&r=notwrong
Not enough info:              http://bugs.php.net/fix.php?id=35946&r=notenoughinfo
Submitted twice:              http://bugs.php.net/fix.php?id=35946&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=35946&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=35946&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=35946&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=35946&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=35946&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=35946&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=35946&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=35946&r=mysqlcfg


Thread (5 messages)

« previous php.bugs (#91687) next »