> Hi Oliver,
>
[quoted text clipped - 3 lines]
> But on mysql same problem is comming up.
> The approach worked on Oracle is not working on mysql.
Can you use a seperate tool (e.g. mysqladmin) to check whether the data
is correctly stored in the table? That is, is the data getting corrupted
when you store it, or when you retrieve it? Have you set the encoding on the
tables?
- Oliver
Dhananjay - 10 May 2006 07:02 GMT
Hi oliver,
Thanks for ur kind help .
Now I solved the problem by following approach:
I have used a filter that set character encoding like this
request.setCharacterEncoding("Cp1252");
and our jsp contains the tag :
<@page pageEncoding="windows-1252">
<@page contentType="text/html; charset='windows-1252">
I am using jboss manage connection and mysql-ds.xml setting for mysql
is as follows:
jdbcurlformysql?useUnicode=true&characterEncoding=utf8&charactetrResultSets=utf8
Regards,
Dhananjay
Dhananjay - 10 May 2006 07:03 GMT
Hi oliver,
Thanks for ur kind help .
Now I solved the problem by following approach:
I have used a filter that set character encoding like this
request.setCharacterEncoding("Cp1252");
and our jsp contains the tag :
<@page pageEncoding="windows-1252">
<@page contentType="text/html; charset='windows-1252">
I am using jboss manage connection and mysql-ds.xml setting for mysql
is as follows:
jdbcurlformysql?useUnicode=true&characterEncoding=utf8&charactetrResultSets=utf8
One more thing:
My database level encoding is utf8 as well as table level encoding.
Regards,
Dhananjay