Accents in phpxmlrpc

Overpeer --- <[email protected]> Mon, 6 Feb 2006 16:20:38 +0100
Newsgroups gmane.comp.php.xml-rpc
Message-ID <[email protected]>
--===============2100007432==
Content-Type: multipart/alternative; 
	boundary="----=_Part_16891_6168851.1139239238872"

------=_Part_16891_6168851.1139239238872
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hello.

Some of my functions return a accents vocals like '=E1' or '=E9' for exampl=
e,
then the phpxmlrpc return a error:

*Fault: *Code: 2 Reason 'Invalid return payload: enable debugging to examin=
e
incoming payload (XML error: not well-formed (invalid token) at line 16)'

The invalid token apperas always, when a accent vocal is in the return
string, like this:

<?xml version=3D"1.0"?>
<methodResponse>
   <params>
   <param>
<value>
  <array>
    <data>
<value>
  <struct>
    <member>
      <name>FECHA</name>
      <value><dateTime.iso8601>20060206T15:17:40</dateTime.iso8601></value>
    </member>
    <member>
      <name>TIPO</name>
      <value><string>Incidencia gen=E9rica</string></value>   <----- Line 1=
6
[...]


How i can view this specials characters ???

A lot of thanks.

------=_Part_16891_6168851.1139239238872
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hello.<br>
<br>
Some of my functions return a accents vocals like '=E1' or '=E9' for exampl=
e, then the phpxmlrpc return a error:<br>
<br>
<font color=3D"red" face=3D"arial" size=3D"2"><b>Fault: </b></font><font co=
lor=3D"black" face=3D"arial" size=3D"2">Code:
2 Reason 'Invalid return payload: enable debugging to examine incoming
payload (XML error: not well-formed (invalid token) at line 16)'<br>
<br>
The invalid token apperas always, when a accent vocal is in the return stri=
ng, like this:<br>
<br>
&lt;?xml version=3D&quot;1.0&quot;?&gt;<br>
&lt;methodResponse&gt;<br>
&nbsp;&nbsp; &lt;params&gt;<br>
&nbsp;&nbsp; &lt;param&gt;<br>
&lt;value&gt;<br>
&nbsp; &lt;array&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;data&gt;<br>
&lt;value&gt;<br>
&nbsp; &lt;struct&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;member&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;name&gt;FECHA&lt;/name&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;value&gt;&lt;dateTime.iso8601&gt;2006020=
6T15:17:40&lt;/dateTime.iso8601&gt;&lt;/value&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/member&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;member&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;name&gt;TIPO&lt;/name&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;value&gt;&lt;string&gt;Incidencia
gen=E9rica&lt;/string&gt;&lt;/value&gt;&nbsp;&nbsp; &lt;----- Line 16<br>
[...]<br>
<br>
<br>
How i can view this specials characters ???<br>
<br>
A lot of thanks.<br>
</font>

------=_Part_16891_6168851.1139239238872--

--===============2100007432==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
phpxmlrpc mailing list
[email protected]
http://lists.usefulinc.com/cgi-bin/mailman/listinfo/phpxmlrpc

--===============2100007432==--