I have a small Java method that inserts short messages to a MySQL Database. the table\'s default Collation is utf8_unicode_ci and the java code is:
private v
Set UTF-8 in your code. See this;
Connection con = DriverManager.getConnection("jdbc:mysql://localhost/embeddedChat?useUnicode=true&characterEncoding=utf8");