We are working in a project where we have developed JSP and servlets to display arabic data from DB2 database ISO-8859-6 encoding. We would like data to be displayed correctly without user having to do any setting in his browser.
While we have succeeded to do this for a DB2 connection in a JSP, by adding 2 tages meta and page directive: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-6"> <%@ page contentType="text/html; charSet=ISO-8859-6" %>
This solution doesn't seem to work in the case of a servlet. neither does it work in a JSP when the connection is done using IBM EIP (Enterprise Information Portal)
If anyone has experienced this before, please give me your suggestions. Thank you very much in advance for your help Hanaa