Sumit_gupta wrote:

> We are using Japanese Sun Solaris for the server. The webserver is Apache 1.
> 3.9 and Jserv 1.1.
>
> For the following statement
>
> System.getProperty("file.encoding") in a normal Java application I get the
> result as
>
> EucJP
>
> Now if we run the same statement in a Servlet on the same machine we get the
> result as
>
> ISO8859-1
>
> Could you please throw some light on this.

  You should configure your Apache JServ for using EucJP. For example
for JVM 1.1.8 I have setted in jserv.properties

wrapper.env=LANG=ru_RU.KOI8_R

  it means russian locale and koi8-r encoding.

  Eugen Kuleshov.

___________________________________________________________________________
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