Using foreign language character sets

For static HTML pages

If a data source for your Web DataWindow uses foreign characters with accent marks, you might need to change the character set for the generated Web page to display the characters properly. This is also necessary if you expect to update the data with foreign character text. You can use the HTML editor to edit the <META> tags in the <HEAD> section of the generated page. The following example uses the utf8 character set instead of the default iso-8859-1 character set:

<META content="text/html; charset=utf-8" http-equiv="Content-Type">

NoteChanging the character set in EAServer You can also change the character set used by your component in EAServer by setting the com.sybase.jaguar.component.code.set property for the component. By default, the component uses the server’s codeset.

For JSP pages

For JSP pages, you assign the character set for the response object in a page directive:

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

For the JSP request object, you must assign the character set in a server-side setCharacterEncoding call:

<% request.setCharacterEncoding   (contentType="text/html; charset=UTF-8"); %>