Arun Thomas wrote:
>
> Govind,
>
> Maybe my posting confused two issues.... One of my issues had to do with
> ResourceBundles. I hadn't been able to find any documentation in the
> JavaDocs
> which specified the encoding used for property resource bundles - it
> appears,
> from the info that Vyacheslav Pedak recently posted, that I didn't read it
> well enough....
>
> The second issue, however, was specific to JSP engines.... I was trying to
> understand how the engines can determine the encoding used for storing the
> JSPs.
> In the case of JSPs, I think the it would becoming incredibly difficult to
> use
> if every non ISO-8859-1 character had to be unicode escaped.... Do JSP
> engines
> use a default encoding for reading in JSP pages in order to interpret and
> compile
> them into servlets?
JSP 1.1 says this:
2.7.4 Delivering Localized Content
The JSP 1.1 specification assumes that JSP pages that will deliver
content in a given character encoding will be written in that character
encoding. In particular, the contentType attribute of the page directive
describes both the character encoding of the JSP page and the character
encoding of the resulting stream.
Hans
--
Hans Bergsten [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets