Bug #13873 Updated: wddx_*() functions only handle ascii

From: Date: Sat, 10 Nov 2001 09:25:04 +0000
Subject: Bug #13873 Updated: wddx_*() functions only handle ascii
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-69945@lists.php.net to get a copy of this message
ID: 13873 Updated by: sniper Reported By: johan@ekenberg.se Old Status: Open Status: Feedback Bug Type: WDDX related Operating System: Linux PHP Version: 4.0.6 New Comment: Propably your locales again. Anyway, what does this output: <?php echo wddx_serialize_value("xyzåäö"); ?> Previous Comments: ------------------------------------------------------------------------ [2001-11-01 04:26:15] johan@ekenberg.se 1. Linux distribution is Slackware 4.0 which is a libc 5 dist. Running kernel 2.2.19 2. configure --with-xml --enable-wddx ------------------------------------------------------------------------ [2001-10-31 19:28:36] sniper@php.net What are your: - linux distribution - configure line for PHP --Jani ------------------------------------------------------------------------ [2001-10-31 05:41:33] johan@ekenberg.se No, it still doesn't work here. I got the latest (oct 31) snap from snaps.php.net: # ./configure --with-xml --enable-wddx # make # ./php wddx_test.php X-Powered-By: PHP/4.2.0-dev Content-type: text/html xyz??? wddx_test.php contains the one-liner submitted in my original report: print wddx_deserialize(wddx_serialize_value("xyzåäö")); /Johan ------------------------------------------------------------------------ [2001-10-30 18:15:32] sniper@php.net Works fine for me with latest CVS. Try a snapshot from http://snaps.php.net/ --Jani ------------------------------------------------------------------------ [2001-10-30 11:01:23] johan@ekenberg.se It seems that the wddx_*() functions only handle US-ASCII, although I see a referense to ISO-8859-1 and UTF-8 in the source: print wddx_deserialize(wddx_serialize_value("xyzåäö")); produces: xyz??? ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13873&edit=1

« previous php.dev (#69945) next »