#33198 [Opn->Asn]: Leading UTF-8 byte order mark yields different character encodings in output
| From: | sniper@php.net | Date: | Tue, 26 Jul 2005 18:46:46 +0000 |
| Subject: | #33198 [Opn->Asn]: 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-82486@lists.php.net to get a copy of this message | ||
ID: 33198
Updated by: sniper@php.net
Reported By: Bjorn dot Wiberg at its dot uu dot se
-Status: Open
+Status: Assigned
Bug Type: mbstring related
Operating System: *
PHP Version: 5CVS-2005-06-21
-Assigned To:
+Assigned To: moriyoshi
Previous Comments:
------------------------------------------------------------------------
[2005-06-27 09:33:50] Bjorn dot Wiberg at its dot uu dot se
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
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
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