ID: 28969
User updated by: ba at esoft dot dk
Reported By: ba at esoft dot dk
Status: Closed
Bug Type: SOAP related
Operating System: Linux 2.6.7-gentoo-r3
PHP Version: 5.0.0RC3
Assigned To: dmitry
New Comment:
I will check it out.. sounds great!
Previous Comments:
------------------------------------------------------------------------
[2004-08-10 18:37:24] [EMAIL PROTECTED]
Fixed in CVS HEAD.
By default ext/soap espect all string data in utf-8 encoding.
Now it is possible to change internal encoding with "encoding" option.
It is acceptable both by SoapClient and SoapServer.
$SOAP = new SoapServer("test.wsdl",
array('encoding'=>'ISO-8859-1');
------------------------------------------------------------------------
[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