ID:               40554
 Updated by:       [EMAIL PROTECTED]
 Reported By:      vijijvs at yahoo dot co dot in
-Status:           Open
+Status:           Bogus
 Bug Type:         DOM XML related
 Operating System: Mandrake linux
 PHP Version:      4.3.9
 New Comment:

We can't fix something that was released years ago.


Previous Comments:
------------------------------------------------------------------------

[2007-02-22 11:30:50] vijijvs at yahoo dot co dot in

Any workaround for this?

------------------------------------------------------------------------

[2007-02-22 11:25:09] vijijvs at yahoo dot co dot in

Wants to fix with this version itself.

Updating to latest version leads to problem in our environment and it
is quite risk.

------------------------------------------------------------------------

[2007-02-20 10:48:51] [EMAIL PROTECTED]

Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.



------------------------------------------------------------------------

[2007-02-20 10:42:27] vijijvs at yahoo dot co dot in

Description:
------------
When "/home/viji/Endroit de protection de caractères spéciaux" is
passed as argument to DomElement->set_attribute() function, the french
letters è and é get converted into 貥 and 飩. 

Php version im using is 4.3.9 and Apache 1.33.


Note:
=====

Tried by using utf8_encode() and utf8_decode() before setting value for
the attribute.

Reproduce code:
---------------
DomElement->set_attribute(Name, "/home/viji/Endroit de protection de
caractères spéciaux");

Expected result:
----------------
<Location><Path Name="/home/viji/Endroit de protection de caractères
spéciaux" /></Location>

Actual result:
--------------
<Location><Path Name="/home/viji/Endroit de protection de
caract&#x8CA5;s sp&#x98E9;aux" /></Location>


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=40554&edit=1

Reply via email to