return utf-8 (farsi) string from nuSOAP webservice return utf-8 (farsi) string from nuSOAP webservice php php

return utf-8 (farsi) string from nuSOAP webservice


i fixed it myself :)

use this for Server code :

$server->soap_defencoding = 'UTF-8';$server->decode_utf8 = false;$server->encode_utf8 = true;

and for Client code :

$client->soap_defencoding = 'UTF-8';$client->decode_utf8 = false;