Re: Problem with UTF-8

"luisicozgz" <[email protected]> Fri, 14 Sep 2007 07:41:30 -0000
Newsgroups gmane.text.xml.rpc.specification
Message-ID <[email protected]>
Hello,

I have in PHP(Server) the next line to create the xml file:

<?xml version="1.0" encoding="utf-8"?>

Have I with this a valid header or what must I to have?

The Java Source file is encoding in UTF-8.

The response XML-RPC:

<?xml version="1.0"?>      <-----Must appear hear encoding="utf-8"?
<methodResponse>
<params>
<param>
<value><array>
<data>
<value><struct>
<member><name>nombre</name>
<value><string>HOTEL ANTÓN</string></value>
</member>
<member><name>direccion</name>
<value><string>HOTEL ANTÓN</string></value>
</member>
<member><name>codigo_postal</name>
<value><string>50619</string></value>
</member>
<member><name>zona</name>
<value><int>1</int></value>
</member>
<member><name>poblacion</name>
<value><int>1</int></value>
</member>
</struct></value>
</data>
</array></value>
</param>
</params>
</methodResponse>




--- In [email protected], John Wilson <tug@...> wrote:
>
> 
> On 13 Sep 2007, at 15:24, luisicozgz wrote:
> 
> > Hello,
> >
> > I have discovered that I have a problem with the accents.I 
received
> > this response:
> 
> Answered on the Apache list.
> 
> Basically you have to fix the server to either use UTF-8 or emit 
a  
> header.
> 
> You can't fix it at the client end.
> 
> John Wilson
>




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/xml-rpc/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/xml-rpc/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/