Hi,

I have on solaris with apache and jserv a servlet that uses a socket
connection to retrieve some data. If I run the socket reader class manually
all the special characters (such as �) are correctly passed.
When the servlet uses the same class all special characters are coded to the
'?' charachter (ASCII 063).
Moreover on the test environment all works fine!! I've looked at the system
properties and the only differences are:

where it doesn't works:

user.timezone=
file.encoding=646
os.version=5.8
java.vm.info=build Solaris_JDK_1.2.2_06, native th...

vs. where it works

user.timezone=Europe/Paris
file.encoding=8859_1
os.version=5.6
java.vm.info=build JDK-1.2.2-001, green threads, s...

So I forced the encoding to 8859_1 in the InputStreamReader, but without
success. I use jre1.2.2.

Has anyone already had such effects? Any hints?

Thank you,

ernesto.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to