In looking at the character set handling for the Jakarta JSP compiler
it seems to me there are really three character sets that need be known
to the JSP compiler:

1.  The character set of the *.jsp file.  Usually this is ISO-8859-1
    (ASCII) but might reasonably be EBCDIC on EBCDIC systems.
    This really should be chosen by a hint from the container.

2.  The character set of the generated *.java file.
    I would suggest that UTF8 is the most reasonable choice here.

3.  The character set of the response written by the compiled servlet.
    This should be up to the author of the JSP page, as reflected in
    the current contentType attribute.

Opinions?

--
Preston L. Bannister
http://members.home.com/preston
[EMAIL PROTECTED]

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to