To specify a specific charset, do the following [note this example will use Shift_JIS (Japanese) and MYSQL]:
Set the charset in your .jsp page:
<%@page contentType="text/html;charset=Shift_JIS"%>
Adjust your driver's URL
<dbconnection
id="edict"
name = "jdbc:mysql://localhost/edict?useUnicode=true&characterEncoding=Shift_JIS"
isJndi = "false"
conClass = "org.gjt.mm.mysql.Driver"
username = "whoever"
password = "whatever"
/>
Note: to use UTF-8 with MYSQL, you need to use:
jdbc:mysql://localhost/edict?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&mysqlEncoding=utf8
Add a filter to web.xml
<filter>
<filter-name>Set Character Encoding</filter-name>
<filter-class>org.dbforms.util.external.SetCharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>Shift_JIS</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>Set Character Encoding</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>