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>
<?xml version=3D"1.0"?><br>
<methodResponse><br>
<params><br>
<param><br>
<value><br>
<array><br>
<data><br>
<value><br>
<struct><br>
<member><br>
<name>FECHA</name><br>
<value><dateTime.iso8601>2006020=
6T15:17:40</dateTime.iso8601></value><br>
</member><br>
<member><br>
<name>TIPO</name><br>
<value><string>Incidencia
gen=E9rica</string></value> <----- 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==--