Re: PHP 5.3 SoapClient Stripping HTML special characters

From: Date: Fri, 19 Aug 2011 15:33:43 +0000
Subject: Re: PHP 5.3 SoapClient Stripping HTML special characters
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-30686@lists.php.net to get a copy of this message
On 19 August 2011 16:16, James Crow <james@ultratans.com> wrote: > Hi all, > > I am using the SOAP client to retrieve data from a web server. One field > in the returned object is a text string that may contain embedded carriage > returns. If I look at the raw packets they appear as '&#13;' in the string. > When I get the string in the SoapClient the carriage return has been > stripped. So far I have been unable to find a setting that will leave this > embedded character in place. > > Can someone point me in the right direction? > > Thanks, > James Can you supply a WSDL URL for the service? I can quickly verify what you are seeing. Can you tell us how you perceive the missing character? If you are echoing it to a browser, then there will be no visual line break as that is not a HTML character. But if you wrap the output in <pre>...</pre> tags, you should see it just fine. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

« previous php.windows (#30686) next »