I was able to reproduce this behavior using português chars lie ã é
etc  . I was going to try and see if I could fix it but didn't get
time yet. Could you try with the latest sources:

options.setProperty(org.apache.axis2.Constants.Configuration.CHARACTER_SET_ENCODING,
"UTF-16");

And change UTF-16 to something like pt_BR.ISO-8859-1 or UTF-8,pt_BR ,
etc - for your locale ?

HTH,
Robert
http://www.braziloutsource.com

On 8/18/06, Javier V <[EMAIL PROTECTED]> wrote:
Hi.

I'm using JDK 1.4.2_12, Axi2 1.0 and Tomcat 4.1.31.

I've done a web service in Java and to test it I've done a client java class
with axis2 too.

My surprise is that when I invoke the service with my testclient in Windows,
all is ok. However, when I install ALL in Unix and I call the testclient in
Unix
there is something different with the extended characters, 'Ñ' in my case.
Let's me explain.

The testclient invokes the web service with the string "PEÑISCOLA".

With the SOAPMonitor, in Windows, that word is converted to "PEÃ'ISCOLA"
that
is the conversion of the letter 'Ñ' in WIN1252 (windows encoding default) to
UTF-8 (how axis2 sends the message, I suppose).

However in Unix, that word is not converted to anything, and the SOAPMonitor
shows "PEÑISCOLA", as the original, perhaps because unix encoding default is
equal
to the encoding how axis2 sends the message. Am I wrong?

I've tried to set in Unix the variable CATALINA_OPTS to
-D=file.encoding=CP1252
but I think it's doesn´t work.

Regards

Javier

_________________________________________________________________
Horóscopo, tarot, numerología... Escucha lo que te dicen los astros.
http://astrocentro.msn.es/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to