Re: problem with german special char 'ß' in wddx (expat r elated)!
| From: | Andrei Zmievski | Date: | Tue, 04 Apr 2000 13:27:53 +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-13086@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?
I'll try to take a look at it before tomorrow. If not, it's going to
have to wait a few days.
-Andrei
Any sufficiently advanced Operating System
is indistinguishable from Linux.
- Jim Dennis