|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-06-11 14:49 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 03:00:01 2025 UTC |
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");