title: NuSOAP and content type
body: <p>Can't figure out how to make NuSOAP use UTF-8 for a content type. it keeps spitting out "ISO-8859-1". here's the relevant code bits that I've tried:</p>
  
  <pre><code>$soapclient=new soapclient($url1,'wsdl');
  $soapclient-&gt;http_encoding='utf-8';
  $soapclient-&gt;defencoding='utf-8';
  
  if($soapclient-&gt;fault){
      $retdata=$soapclient-&gt;fault;
  }else{
      if($soapclient-&gt;getError()){
          $retdata=$soapclient-&gt;getError();
      }else{
                      $params=array($xmldata);
                      $retdata=$soapclient-&gt;call($doit,$params,$url1,$url2);
      }
  } 
  </code></pre>
  
  <p>here's the request:</p>
  
  <pre><code>POST xxxxxxxxxxxx HTTP/1.0
  Host: xxxxxxxxxxxxx
  User-Agent: NuSOAP/0.9.5 (1.123)
  Content-Type: text/xml; charset=ISO-8859-1
  SOAPAction: "xxxxxxxxxxxxxxxxx"
  Content-Length: 1629
  </code></pre>
  
  <p>I've even gone into nusoap.php and changed a couple of lines that had the ISO hard-coded in. What am I missing?</p>