RE: [PEAR-DEV] SOAP character encoding bug
| From: | Pierre-Alain Joye | Date: | Sat, 11 May 2002 17:02:48 +0000 |
| Subject: | RE: [PEAR-DEV] SOAP character encoding bug | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-6047@lists.php.net to get a copy of this message | ||
> If the xml document's encoding is UTF-8, the degree sign (in latin1
> 0xb0) must be represented as 0xc2 0xb0. If your xml is that in the
> userinfo below, it is indeed invalid. Try using utf8_encode().
You are right :), as "we" see in interop test files. I misunderstood the
soap_value class.
Maybe it s in the todo list to take care automaticly about the encoding
method, but actually the decode method does not take care about it.
It s up to the user to know the encoding method of the service.
pa