How we can add unicode Text in MySQL using JAVA and reading it using JAVA
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First, the character set of your MySQL
VARCHARcolumn should be UTF-8.Then, you should just be able to use
Statement.setString()without worry:Things to be careful of:
That’s all I can think of at the moment.