ID:               41647
 User updated by:  giannisptr at yahoo dot gr
 Reported By:      giannisptr at yahoo dot gr
 Status:           Open
 Bug Type:         *Unicode Issues
 Operating System: Win XP
 PHP Version:      5.2.3
 New Comment:

test


Previous Comments:
------------------------------------------------------------------------

[2007-06-11 09:40:01] giannisptr at yahoo dot gr

Description:
------------
I implement a web site that invokes a web service (using nusoap.php).
The web service queries a table from an sql server 2000 database and
returns a string with the records returned.
The problem is that althou english characters appear correctly into the
string, the greek characters are all replayed by '?'.
When used iconv and mb_convert_encoding neither greek nor english
characters apper correctly. 
Is the any solution to this problem???

Reproduce code:
---------------
//call web service
$retstr= $client->call('GetRecords',$param);

//returned string
print $retstr;

//using iconv
print iconv("UCS-2","UTF-8",$retstr);

//using mb_convert_encoding
print mb_convert_encoding($retstr,"UTF-8","UCS-2");



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=41647&edit=1

Reply via email to