problem with german special char 'ß' in wddx (expat r elated)!
| From: | thies at digicol dot de | Date: | Tue, 04 Apr 2000 11:47:06 +0000 |
| Subject: | problem with german special char 'ß' in wddx (expat r elated)! | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-13076@lists.php.net to get a copy of this message | ||
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?
regards,
tc
--
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