hi there,

i had a problem with the german umlaute(����) , which at this time is
removed but not solved yet.

my provider updated his server from solaris 2.6 to solaris 2.7 (as i
understood him right)
in this course the environment for servlets change to
ASCII  and en_US.
with this systemparameters i wasn't able to read text from a file and
write to another file without destroying the umlaute.

i tried:
public class servletname extends HttpServlet {
  //Globale Variablen initialisieren
  Locale myLocale; //global bekannt machen
  public void init(ServletConfig config) throws ServletException {
    myLocale = new Locale("de", "DE");
    Locale.setDefault(Locale.GERMANY);
    super.init(config);
  ...
}

and nearly every encoding set for the InputStreamReader, all without any
success.
finally my provider changed the system environment to

ISO-8859_1  and  de_DE

and it works.

i made the same configuration in the servlet but again without success.

can anyone tell me why this configuration workes when it's made in the
at the base system but works not if made in the servlet?

i am dying to know what it is.

bye michel


-------------------------------------------------------
thinking information software gmbh
we make information work for you
-------------------------------------------------------
Michael Amend       direct tel: +49 (0) 80 81 / 95 99 44
Siemensstrasse 4  fax:  +49 (0) 80 81 / 95 99 40
D-84405 Dorfen    email: [EMAIL PROTECTED]
-------------------------------------------------------

___________________________________________________________________________
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