#26509 [Opn->Bgs]: wrong conversion utf8_encode of & symbol
| From: | derick@php.net | Date: | Wed, 03 Dec 2003 16:16:03 +0000 |
| Subject: | #26509 [Opn->Bgs]: wrong conversion utf8_encode of & symbol | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-51624@lists.php.net to get a copy of this message | ||
ID: 26509
Updated by: derick@php.net
Reported By: fgarcia at uef dot es
-Status: Open
+Status: Bogus
Bug Type: XML related
Operating System: Windows 2000
PHP Version: 4.3.4
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Uh? It should not do that... the current behavior is fine.
Previous Comments:
------------------------------------------------------------------------
[2003-12-03 11:10:29] fgarcia at uef dot es
Description:
------------
The string "example & string"
is traslated by utf8_encode as "example & string"
(no change)
When opening xml file with IExplorer or dom functions you get an error
on '&' symbol
The correct traslation must be: "example & string"
Reproduce code:
---------------
utf8_encode("example & string")
Expected result:
----------------
"example & string"
Actual result:
--------------
"example & string"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26509&edit=1