When I enter some Turkish characters (e.g. ������������) in an Input Field and SUBMIT the form, I get rubbish characters. (the field is not related with DB, just simple JAva Bean field).
I use the following lines on top of my JSP page:
<%@ page language="java" contentType="text/html; charset=ISO-8859-9" pageEncoding="ISO-8859-9"%>
<META http-equiv='Content-Type' CONTENT='text/html; charset=ISO-8859-9'>
I am able to solve the problem on WAS by setting the JVM option:
-Dclient.encoding.override=ISO-8859-9
However, in Tomcat 5.0 I cannot fix it. I also tried:
<% try {
request.setCharacterEncoding("ISO-8859-9");
} catch (Exception e) {
System.out.println(e.getMessage());
}%>
Please help!