Hello,
In file XmlWriter.java
// Write the character in our encoding.
write(new String(String.valueOf(c).getBytes(enc)));
Should this line be changed to ``write(c);'' because
XmlWriter.write(int) encode encoded string
from XmlWriter.write(Byte[])?
Did I misunderstand?
Regards,
Vee Satayamas
--- "Patil, Sudhir (GE Infrastructure)"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> Just setEncoding("UTF-8") doesn't support multibyte
> characters. You need to recompile source with
> fallowing changes.
>
> file XmlRpc.java function parse add line below.
> parser.parse(new InputSource( new
> InputStreamReader(is,getencoding()) ) );
>
> in XmlWriter.java function init
> there is check to block characters greater than 0xff
> like c>0xff remove it
>
> Regards,
> Sudhir
>
>
> -----Original Message-----
> From: Vee Satayamas [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 12, 2005 12:42 PM
> To: [email protected]
> Subject: International String
>
>
> Hello,
>
> I want to use Apache XML-RPC to send
> and receive international string by
> using UTF-8
>
> My code:
>
> XmlRpc.setEncoding("UTF-8");
> XmlRpcClient proxy = new
> XmlRpcClient("http://chopin.cpe.ku.ac.th:8000");
>
> Vector params = new Vector();
> params.addElement("�-�"สอ�s");
> System.out.println((String)proxy.execute("echo",
> params));
>
> My server is python xmlrpclib and
> I use Apache XML-RPC ( cvs trunk )
> as client.
>
> This system works correctly with English string
> but for Thai string, it doesn't work.
>
> What should I do?
>
> Thank you,
> Vee Satayamas
>
> My Weblog: http://www.exteen.com/veer
> My Homepage: http://vee.pompoko35.com/
>
> Please avoid sending me Word or PowerPoint
> attachments.
> See
>
http://www.fsf.org/philosophy/no-word-attachments.html
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
My Weblog: http://www.exteen.com/veer
My Homepage: http://vee.pompoko35.com/
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
__________________________________
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail