Specifying the correct character set

To send characters from a JSP file to a web browser, you must use the correct encoding. Always specify the correct content-type and character set for all of your JSP pages.

If your JSP page returns content to a standard HTML browser, ensure that the correct character set is defined:

<%@ page contentType="text/html; charset=utf-8" %>

The contentType and charset directives let the browser know how the returned HTML page is encoded. UTF-8 is the recommended standard character set if it is available for your target client browser. For more information, consult the Release Notes or the vendor of your target client browser.



Crystal Decisions
http://www.crystaldecisions.com/
Support services
http://support.crystaldecisions.com/