You could add following lines in your client or server code: Properties pi = System.getProperties(); pi.put("file.encoding", "UTF-8"); System.setProperties(pi);
If this does not work try following: for the client side : call.setEncodingStyle("UTF-8"); for the Server side add following in your web.xml: <context-param> <param-name>weblogic.httpd.inputCharset./*</param-name> <param-value>UTF-8</param-value> </context-param> I have to support greek characters and this seems work. Not sure which one is working (did not get time to investigate), but I have all of the above and it works. I am using axis for client and server. Soniya -----Original Message----- From: Jens Schumann To: Axis User Sent: 1/28/2004 4:00 AM Subject: Re: Character encoding On 1/27/04 10:20 PM Michael Serero <[EMAIL PROTECTED]> wrote: > Nelson, > > Thanks for your reply. Do you have any suggestion on how to convert CP1252 > to UTF-8? > > I have tried something along the following lines: > > String myString = "The CP1252 string"; > Charset cs = Charset.forName("UTF-8"); > context.writeSafeString(new String(cs.encode(myString).array())); > > But it did not work for me. Since the character problem occurs on the server side, what is your client? If you use axis client side you shouldn't have problems, but you may better use a nightly snapshot. Jens