ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patil, Sudhir \(GE Infrastructure\)" <Sudhir.Pat...@ge.com>
Subject RE: International String
Date Thu, 12 May 2005 07:35:19 GMT
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:veetai@yahoo.com]
Sent: Thursday, May 12, 2005 12:42 PM
To: xmlrpc-user@ws.apache.org
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 

Mime
View raw message