|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-06-25 18:06 UTC] tony2001@php.net
[2007-07-03 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 14:00:01 2025 UTC |
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