I'm using Apache and mod_webapp to go to Tomcat 4.0.1, which generates xml,
and then using a filter transforms that using an xml stylesheet into html.
My problem is that when the style sheet has Japanese in it, the characters
get corrupted when it's passed back to Apache. If I write the
Figured it out. The problem was that you have to set the content type
(including the charset) before you actually call response.getWriter().
Otherwise, the print writer defaults to the default character encoding for
the platform.
Evan
-Original Message-
From: Evan Child [mailto:[EMAIL
What browser are you using to submit the form?
Before you start getting parameters, you need to do a
request.setCharacterEncoding(UTF-8);
I couldn't understand from below if you're already doing that. Assuming that
you ultimately want the characters to end up in a utf-8 encoding.
If the
() ;
}
-Original Message-
From: Lee Chin Khiong [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 6:23 PM
To: 'Tomcat Users List'
Subject: RE: Foreing Character encoding from jsp form (Character
Encoding doesn't work)
Yes, can I have it too. Thanks.
-Original Message-
From: Evan Child
Put the fully qualified name of the servlet into the servlet-class element
under servlet
ex.
servlet-classdataview.servlet.Select/servlet-class
That is the correct way to do it.
Evan
-Original Message-
From: James Adams [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 26, 2001