Previous Topic: Configure Registration Services To Use The Appropriate FCC Files

Next Topic: CA SSO/WAC Integration

Change the Character Encoding in The JSPs

By default, the JSPs are encoded in ISO-8859-1 encoding. You can modify the encoding for these pages by changing the following files:

inc_header.jsp

This file is included by the JSPs that include character encoding.

dmserrorpage.jsp

This file is used to display error messages.

To change the character encoding

  1. Navigate to the pages directory where Registration Services is installed—for example:
  2. Open inc_header.jsp in a text editor.
  3. Change the encoding for JSPs in the following statement:

    <%! String charset = "ISO-8859-1"; %>

    For example, to specify UTF-8 encoding, modify the statement, as follows:

    <%! String charset = "UTF-8"; %>

  4. Change the encoding for HTML pages in the following statement:

    <%@ page contentType="text/html;charset=ISO-8859-1" %>

    For example, to specify UTF-8 encoding, modify the statement, as follows:

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

  5. Save inc_header.jsp.
  6. Open dmserrorpage.jsp.
  7. Repeat steps 3-4.
  8. Save dmserrorpage.jsp.