ID:               41722
 Updated by:       [EMAIL PROTECTED]
 Reported By:      yergashbaev at yahoo dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         WDDX related
 Operating System: Debian Linux
 PHP Version:      5.2.3
 New Comment:

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.





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

[2007-06-18 05:46:56] yergashbaev at yahoo dot com

Description:
------------
After code was ported from php 5.1.6 to php 5.2.0-8+etch4 and the
webserver was updated to Apache 2.2, a bug traced to the 
wddx_serialize_value function appeared. The input utf-8-encoded
Russian-alphabet data is incorrectly serialized into xml which breaks
all encoding. 

The output is correct under Windows with php 5.1.4 and apache 2.0.59
inslalled. 

Tried to set different locales on the production server ('ru_RU',
'rus_RUS', 'ru_RU.UTF8', 'ru_RU.CP1251'), but none worked. 



Reproduce code:
---------------
//values logged before the function show up properly
$text = wddx_serialize_value($this->result);
//if $text is logged, the encoding is broken



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


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

Reply via email to