|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15800 german characters cannot be stored
Submitted: 2002-02-28 19:25 UTC Modified: 2002-08-08 10:47 UTC
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:2 (100.0%)
From: thomas dot rauh at feig-partner dot de Assigned:
Status: Not a bug Package: WDDX related
PHP Version: 4.1.1 OS: Win2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
17 + 6 = ?
Subscribe to this entry?

 [2002-02-28 19:25 UTC] thomas dot rauh at feig-partner dot de
german characters cannot be stored
by wddx_serialize_vars

To make it easier for you to reproduce
the bug i write a little step-by-step

1) Setting the correct local zone

2) Writing some test-data with german characters

3) Pushing the test-data into wddx_serialize_vars
on a Win2000 Server. Results on Win2000:
?<char code='FFFFFFD6'/>??<char code='FFFFFFF6'/><char code='FFFFFFFC'/>

Results on Linux (correct values):

4) Reading the values back (from the saved wddx package)
? ??  

It seams like that only some locale characters (???) are recognized on an Win2000 Server. With the same script
and the same data, there are no problems on an Linux

Happy Debugging :-)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-20 18:10 UTC] bs_php at infeer dot com
Using PHP 4.1.2 and can confirme the error.
It's very inconsisten!
At first I wasn't using setlocale() and all seamed fine. But after I called setlocale() the wddx serialize failed all the time!

Multiple calls of setlocale() produce 2 different results that alternate. After every Apache restart the results changes sort of randomly! If setlocale() is commented out, the the last result remains (even after apache is restarted). 

It seams as if setlocale() is writting something wrong to the apache conf. 

Don't know if a reboot would help, but if not my wddx serializetion would stay broken :( 

I recommend not to us it!!!

Following code was used to test :
  $in = "??????";
  $ser = wddx_serialize_value($in);
  $des = wddx_deserialize($ser);
  echo "<pre>";
  echo htmlspecialchars($ser) . "\n";
  echo "</pre>";
 [2002-04-21 05:00 UTC] bs_php at infeer dot com
Reboot did not solve the problem!
 [2002-04-21 06:19 UTC] bs_php at infeer dot com
See bug #16718
 [2002-08-08 10:47 UTC]
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

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.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 14 08:01:29 2024 UTC