#49528 [Opn->Asn]: UTF-16 strings prefixed by BOMs wrondly converted
| From: | jani@php.net | Date: | Sat, 12 Sep 2009 12:20:26 +0000 |
| Subject: | #49528 [Opn->Asn]: UTF-16 strings prefixed by BOMs wrondly converted | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-142272@lists.php.net to get a copy of this message | ||
ID: 49528
Updated by: jani@php.net
Reported By: moriyoshi@php.net
-Status: Open
+Status: Assigned
Bug Type: mbstring related
Operating System: *
PHP Version: 5.3SVN-2009-09-11 (SVN)
Assigned To: moriyoshi
Previous Comments:
------------------------------------------------------------------------
[2009-09-11 21:07:41] moriyoshi@php.net
I left this open because patch is not merged to 5.2 yet.
------------------------------------------------------------------------
[2009-09-11 14:34:30] jani@php.net
Fixed -> closed (?) (or did you leave this open just for fun?)
------------------------------------------------------------------------
[2009-09-11 08:22:20] svn@php.net
Automatic comment from SVN on behalf of moriyoshi
Revision: http://svn.php.net/viewvc/?view=revision&revision=288260
Log: - Fix bug #49528 (UTF-16 strings prefixed by BOM wrongly
converted).
------------------------------------------------------------------------
[2009-09-11 08:21:16] jani@php.net
Moriyoshi propably added this report as reminder for himself.
------------------------------------------------------------------------
[2009-09-11 08:18:38] sjoerd@php.net
It can be argued that the BOM character U+FEFF should never be
converted, as it is no real character.
I don't think it is the task of mb_convert_encoding to detect the byte
order and interpret the BOM.
------------------------------------------------------------------------
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/49528
--
Edit this bug report at http://bugs.php.net/?id=49528&edit=1