#33198 [Bgs->Opn]: Leading UTF-8 byte order mark yields different character encodings in output
| From: | Bjorn dot Wiberg at its dot uu dot se | Date: | Mon, 27 Jun 2005 07:33:51 +0000 |
| Subject: | #33198 [Bgs->Opn]: Leading UTF-8 byte order mark yields different character encodings in output | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-81064@lists.php.net to get a copy of this message | ||
ID: 33198
User updated by: Bjorn dot Wiberg at its dot uu dot se
Reported By: Bjorn dot Wiberg at its dot uu dot se
-Status: Bogus
+Status: Open
Bug Type: mbstring related
Operating System: IBM AIX 5.2.0.0 ML5
PHP Version: 5.0.4 and 5.1.0-dev (php5-200506211030)
New Comment:
Hi again!
Sorry, but this is not connected to mod_cgi in any way. We're not using
PHP through mod_cgi, but as a handler. Apache does not have a problem
serving the page -- instead it seems that the error only occurs when
the file is being processed by the PHP handler.
Best regards,
Björn
Previous Comments:
------------------------------------------------------------------------
[2005-06-27 00:59:30] tony2001@php.net
Check out this Apache bug:
http://issues.apache.org/bugzilla/show_bug.cgi?id=16687
------------------------------------------------------------------------
[2005-06-21 17:28:22] Bjorn dot Wiberg at its dot uu dot se
Hi again!
I just tried the 2005-06-21 10:30 snapshot, but the problem persists.
Best regards,
Björn
------------------------------------------------------------------------
[2005-06-19 00:50:45] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-06-16 14:44:03] Bjorn dot Wiberg at its dot uu dot se
Hi!
Please try the following:
http://www.anst.uu.se/bwiberg/php/utf8_bug.phtml
...exhibits the bug randomly just like *.php. When in error, the output
looks like this:
http://www.anst.uu.se/bwiberg/php/utf8_bug_result3.txt
http://www.anst.uu.se/bwiberg/php/utf8_bug.html
...does not exhibit the bug; output does not get re-encoded in any way,
i.e. UTF-8 characters remain UTF-8:
http://www.anst.uu.se/bwiberg/php/utf8_bug_result4.txt
It appears that something happens to the output (sometimes) when PHP
parses the file.
Best regards,
Björn
------------------------------------------------------------------------
[2005-06-15 21:10:50] tony2001@php.net
And if you change *.php to *.<something_else> it still b0rks?
Why do you think it's PHPs fault?
From what I can see, there is no PHP functions involved at all.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/33198
--
Edit this bug report at http://bugs.php.net/?id=33198&edit=1