[phpxmlrpc] Accents in phpxmlrpc

Overpeer --- overpeer at gmail.com
Mon Feb 6 15:20:38 GMT 2006


Hello.

Some of my functions return a accents vocals like 'á' or 'é' for example,
then the phpxmlrpc return a error:

*Fault: *Code: 2 Reason 'Invalid return payload: enable debugging to examine
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="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érica</string></value>   <----- Line 16
[...]


How i can view this specials characters ???

A lot of thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gnomehack.com/pipermail/phpxmlrpc/attachments/20060206/f4b6453d/attachment.htm


More information about the phpxmlrpc mailing list