SolveItproblems

SolveITProblems is a project of QFormat.net intellectual club

SolveITProblems это проект интеллектуального клуба QFormat.net

среда, 13 июля 2011 г.

JDBC MySQL Unicode Problem

Hi, If you feel problems with inserting and updating unicode symbols into the table you should check the Character Set and Collation it must be utf8 and utf8_general_ci. After that you should look at your connection string it must look like this

"jdbc:mysql://localhost/basename?user=root&password=password?characterSetResults=UTF-8&characterEncoding=UTF-8&useUnicode=yes"

 it must work fine...

Комментариев нет:

Отправка комментария