[dev] [cvs] commit: horde/docs CHANGES framework/Serialize Serialize.php package.xml framework/Serialize/docs/examples json.php framework/Serialize/tests json.phput

Jan Schneider jan at horde.org
Mon Oct 24 02:14:12 PDT 2005


Zitat von Chuck Hagenbuch <chuck at horde.org>:

> chuck       2005-10-23 18:49:22 PDT
>
>  Modified files:
>    docs                 CHANGES
>    Serialize            Serialize.php package.xml
>  Added files:
>    Serialize/docs/examples json.php
>    Serialize/tests      json.phput
>  Log:
>  [cjh] Add SERIALIZE_JSON mode with code from PEAR's Services_JSON.
>
>  The unicode tests don't currently pass. Jan, any chance you could take
>  a look at these?

Where do you have the tests from? The serialized values are wrong, but 
the expected values are even more wrong.

"é" for example is actual feff00e9 in utf-16 if this is really the 
desired encoding. The expected value are utf-8 encoded though. An the 
actual result is feffffe9, which is wrong in any case.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list