|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40080 wddx_deserialize has unicode bug
Submitted: 2007-01-09 18:38 UTC Modified: 2008-07-24 01:00 UTC
Avg. Score:5.0 ± 0.0
Reproduced:5 of 5 (100.0%)
Same Version:1 (20.0%)
Same OS:0 (0.0%)
From: tim at whiteinteractive dot com Assigned:
Status: No Feedback Package: WDDX related
PHP Version: 4.4.4 OS: Redhat & OS X
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: tim at whiteinteractive dot com
New email:
PHP Version: OS:


 [2007-01-09 18:38 UTC] tim at whiteinteractive dot com
wddx_deseralize seems to convert utf8 character sequences wrongly from <char> nodes. Just the leading byte seems to be off, the subsequent one[s] are correct.

Tested on both 4.3.11 (Redhat) and 4.4.5RC1 (OS X)

Please see my test page below.

P.S. Sorry for duplicate post (#40052) I decided the category was wrong.

Reproduce code:
Interactive example:

and source:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-01-09 19:44 UTC] tim at whiteinteractive dot com
It looks like wddx_deserialize converts any single <char> node with code point above decimal 192 wrongly!

and source:
 [2007-07-11 13:08 UTC]
See also bug #38900
 [2008-07-24 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Sep 17 05:03:37 2021 UTC