Saturday 2 June 2012

NuSOAP charset encoding issues

Once when I used NuSOAP, I faced problem in the display of chinese characters. They are displayed as question marks. Finally , I was able to crack it by setting the below varaible to false.
$soapClient->decode_utf8 = false;
Reference: 
http://stackoverflow.com/questions/5317858/nusoap-and-content-type
http://forum.nusphere.com/nusoap-with-utf-8-t4974.html 

No comments:

Post a Comment