You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by fumitada <fu...@earthlink.net> on 2001/01/19 21:35:39 UTC

Character Encoding with Soap.

Hi all.

Finally I coded server side & client promram and both worked.

Now I got a question.

How can I encode characters if parameter in request sent to server is
Japanese ? The code is below..
I've tried to type Japanese without encoding or whatever, yeah right I
got errors. Japanese characters messed up XML elements and didn't work.

anybody knows How I can encode non-English characters ?

#--------- 
Vector params = new Vector(); 
params.addElement( new Parameter( "foo", String.class, "JAPANESE CHAR",
null ) );
where "JAPANESE CHAR" is replaced with real Japanese char.
-----------#

Thank you.

Fumitada Hattori.