Re: problem with german special char 'ß' in wddx (expat r elated)!
| From: | Andrei Zmievski | Date: | Tue, 04 Apr 2000 14:48:12 +0000 |
| Subject: | Re: problem with german special char 'ß' in wddx (expat r elated)! | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-13089@lists.php.net to get a copy of this message | ||
On Tue, 04 Apr 2000, Thies C . Arntzen wrote:
>
> hi andrei,
>
> script:
>
> <?php
> $var = "kuß";
> var_dump($var);
> $packet = wddx_serialize_value($var);
> var_dump($packet);
> $unpacked = wddx_deserialize($packet);
> var_dump($unpacked);
> ?>
>
> produces:
>
> X-Powered-By: PHP/4.0RC2-dev
> Content-type: text/html
>
> string(3) "kuß"
> string(81) "<wddxPacket
> version='1.0'><header/><data><string>kuß</string></data></wddxPacket>"
> string(12) "kuß</string>"
>
> note the </string> ath the end of out deserialized variable!
>
> so it seems that german special char ß has a special meaning in
> expat - but how should we treat it different?
Yes, it does appear to be related to how expat handles it. I'm not sure
what we'd want to do.
-Andrei
* Unix is user friendly, it is just chooses its users selectively. *