#28969 [Opn->Asn]: Wrong data encoding of special characters
| From: | dmitry@php.net | Date: | Tue, 06 Jul 2004 07:54:28 +0000 |
| Subject: | #28969 [Opn->Asn]: Wrong data encoding of special characters | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-61758@lists.php.net to get a copy of this message | ||
ID: 28969
Updated by: dmitry@php.net
Reported By: ba at esoft dot dk
-Status: Open
+Status: Assigned
Bug Type: SOAP related
Operating System: Linux 2.6.7-gentoo-r3
PHP Version: 5.0.0RC3
-Assigned To:
+Assigned To: dmitry
Previous Comments:
------------------------------------------------------------------------
[2004-06-30 09:38:43] ba at esoft dot dk
Description:
------------
I'm using SOAP webservices and need to send special characters (danish
letters in my case) in the data, it seems these letters break the SOAP
parser.
Previously we have used NuSOAP for webservices, and here special
letters are encoded / decoded transparantly.
Reproduce code:
---------------
class testWebservice {
function test() {
return "æøå";
}
}
$SOAP = new SoapServer("test.wsdl");
$SOAP->setClass("testWebservice");
$SOAP->handle();
Expected result:
----------------
The returned string "æøå"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28969&edit=1