[Axis2] Different behaviour Windows and Unix

2006-08-18 Thread Javier V

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]



RE: [Axis2] Different behaviour Windows and Unix

2006-08-18 Thread Martin Gainty

Buenos Dias Javier..

look at Regional options
Languages
Display Languages/Details
  Add Input Language Spanish many options for Spanish be sure to choose 
your Country
  Keyboard be careful here you will need an IME Keyboard for Spanish 
select  Spanish
The biggest problem I see is the keyboard as most of the retailers here dont 
offer IME keyboards


Buena Suerte!
Martin --

__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official 
business of Sender. This transmission is of a confidential nature and Sender 
does not endorse distribution to any party other than intended recipient. 
Sender does not necessarily endorse content contained within this 
transmission.








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]



Re: [Axis2] Different behaviour Windows and Unix

2006-08-18 Thread robert lazarski

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]