Re: [PHP4BETA] cvs: /php4/ext/wddx wddx.c

From: Date: Tue, 04 Apr 2000 15:55:53 +0000
Subject: Re: [PHP4BETA] cvs: /php4/ext/wddx wddx.c
References: 1 2 3 4  Groups: php.version4 
Request: Send a blank email to php-version4+get-13101@lists.php.net to get a copy of this message
On Tue, Apr 04, 2000 at 10:54:12AM -0500, Andrei Zmievski wrote: > On Tue, 04 Apr 2000, Thies C . Arntzen wrote: > > On Tue, Apr 04, 2000 at 10:49:33AM -0500, Andrei Zmievski wrote: > > > On Tue, 04 Apr 2000, Thies C . Arntzen wrote: > > > > thies Tue Apr 4 08:47:42 2000 EDT > > > > > > > > Modified files: > > > > /php4/ext/wddx wddx.c > > > > Log: > > > > @- WDDX now defaults to ISO-8859-1. (Thies) > > > > # andrei, plz have a look at my changes - seems to work for me! > > > > > > I think this could be done simpler by providing an argument to > > > XML_ParserCreate, e.g. XML_ParserCreate("ISO-8859-1"). > > > > doing that already - that's not enough:( > > > > i need to go now - last thing: > > > > ./wddx.c:372: warning: `hash_type' might be used uninitialized in this function > > Not enough? Seems to work for me with just that single change to > XML_ParserCreate(). try: <?php $var = array("a" => "kuß","muß" => 1); var_dump($var); $packet = wddx_serialize_value($var); var_dump($packet); $unpacked = wddx_deserialize($packet); var_dump($unpacked); ?> that one would *not* work for me without the utf8_decode() - i stole that bit from ext/xml.c tc > > -Andrei > * Only 19,999 lines of C++ to my next ski trip... * > -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.version4 (#13101) next »