Search This Blog

Wednesday, April 20, 2016

hindi characters going as question mark while using java and mysql

change the database string to
url=jdbc:mysql://localhost:3306/PT?useUnicode=true&characterEncoding=UTF-8
to enable unicode character support.

change table character set also
image

No comments:

Post a Comment