skip to Main Content

unable to store hindi text in mysql using java – Plesk

I am geting data stored as ¥à¤¨à¥ à¤à¤°à¤¨à¥ in mysql . It works fine in localhost but in remote mysql (in plesk) it is not working. i have used the following: request.setCharacterEncoding("UTF-8"); response.setCharacterEncoding("UTF-8"); in servlet and con=DriverManager.getConnection("jdbc:mysql://localhost:3306/projectkkm?useUnicode=yes&characterEncoding=UTF-8","root",""); in database connection…

VIEW QUESTION
Back To Top
Search