Sun Java System Web Server 7.0 Update 2 Developer's Guide to Java Web Applications

JSP Internationalization Issues

This section covers internationalization as it applies to the JSPs.

JSP Character Encoding

A JSP page uses a character encoding. For valid encodings to use, see http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html.

The encoding can be described explicitly using the pageEncoding attribute of the page directive. The character encoding defaults to the encoding indicated in the contentType attribute of the page directive, if it is given.