Having problem to get correct display in tomcat 4.1.30 + mysql 4.1.2a.
for none-english character input.
I have done these:
1.declaring the jsp page meta data as utf-8:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2. declaring the jsp page property utf-8:
<%@ page language="java" pageEncoding="UTF-8" %>
3. using spring framework Servlet filter to enforce UTF-8 request and
response encoding
4. declare JDBC drive connection as UTF-8:
jdbc:mysql://localhost:3306/roller?user=roller&password=roller&autoRecon\
nect=true&useUnicode=true&characterEncoding=utf-8
5. setup mysql encoding in my.ini:
[mysqld]
default-character-set=utf8
all these should solve the Unicode problem, yes, it should, but it
doesn't. did I missing something here?