Re: PEAR::SOAP codepage
| From: | Ivan Voras | Date: | Thu, 26 Aug 2004 21:24:07 +0000 |
| Subject: | Re: PEAR::SOAP codepage | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-14316@lists.php.net to get a copy of this message | ||
Al Baker wrote:
PEAR SOAP should use utf-8 by default, I think.Sadly, at least for generating WSDL, it doesn't. Hmmmm. Is utf-8 "default" for XML if codepage is not explicitely given?
On Wed, 2004-08-25 at 18:57 +0200, Ivan Voras wrote:I noticed that the SOAP package, at least when used as Server, and at least when generating WSDL document, doesn't specify a codepage for the generated XML document. Is there a way to tell PEAR::SOAP to set a specific codepage in the "<?xml version="1.0"?>" tag? Or better yet, give it the codepage I'm using, and have it recode my strings to utf-8 using iconv()? :)