problem with storing kannada text to mysql db

hi all,

i am storing kannada text to mysql db from JTextField

while retrieving it showing ?.

when i type kannada text Directly in mysql db and

if i fetch the data from mysql db to jtextfield it showing kannada text.

but when i type in jtextfield and store to mysql, while retrieving it

showing ?.

and i also tried to convert the kannada text in to utf-8 formate while storing but it did'n't work.

String kanVal = new String(tfStateNameKan.getText(), "UTF-8");

please help to solve this problem

and i also mention utf-8 formate in url jdbc:mysql://localhost:3306/kantest?useUnicode=true&;characterEncoding=utf8"

is it correct?

thanks in advance

daya

[738 byte] By [dayanandabva] at [2007-10-1 12:33:29]
# 1
> String kanVal = new String(tfStateNameKan.getText(),> "UTF-8");A string is always unicode internally./Kaj
kajbja at 2007-7-10 14:52:05 > top of Java-index,Desktop,I18N...
# 2
hello,thanks for replaying,could u tell me what need to be done.please help to solve this problem.thanksdaya
dayanandabva at 2007-7-10 14:52:05 > top of Java-index,Desktop,I18N...