John, there is no encoding attribute in my documents. they are all UTF-8,
and, since it is default encoding, I do not have this attribute,but that is
in_my_documents. You see, I have no idea where it takes this encoding (see
the sample below)

<?xml version="1.0" encoding="ISO-8859-1"?> //I Do not know, where it came
from! My jsp page is UTF-8 too... io taglib is set attr utf-8

<methodResponse><params><param><value>
//Here starts MY document, there is no encoding attribute
&lt;?xml version="1.0"?&gt;

   blah blah blah

there is a method setEncoding() in apache xml-rpc. Could you provide any
code sample? Since Iam not so strong in abstract classes (this method is at
abstract XmlRpc.java) I just do not know yet how to implement it in XmlRpc
Handler... If it is possible to do somehow...

Thank you for help!
Phil.


----- Original Message -----
From: "John Wilson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 10, 2002 1:25 AM
Subject: Re: xml-rpc & encoding


> Philipp Chudinov wrote:
> [snip]
>
>
> > And I feel the same... server to use xerces... well, there is a
> > Xindice working as server (if I understand what happens properly),
> > and it use Xerces.
>
> However you *must* either remove the encoding="ISO-8859-1" from the XML
> declaration or change it to encoding="UTF-8". Otherwise Xerxes will behave
> like MinML.
>
> John Wilson
> The Wilson Partnership
> http://www.wilson.co.uk
>

Reply via email to