Re: SOAP character encoding bug
| From: | Shane Caraveo | Date: | Sat, 11 May 2002 18:41:16 +0000 |
| Subject: | Re: SOAP character encoding bug | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-6050@lists.php.net to get a copy of this message | ||
thinking about it more, I've half convinced myself that the library should do the conversion automaticly. Anyone have any thoughts on this? Stig, what does the xml-rpc library do about this?
Shane
Pierre-Alain Joye wrote:
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