Using chardet to detect bad encoding in a MySQL db with JDBC Using chardet to detect bad encoding in a MySQL db with JDBC mysql mysql

Using chardet to detect bad encoding in a MySQL db with JDBC


Once I had a similar problem. See this answer. Setting the encoding inside the connection string may help.


Note that the Table Charset and the Connection CHarset and the Default Database Encoding are all same UTF-8. I had one instance in which Datbases default was UTF-8 , but the table coloumns was still Latin so i had some problem. Please see if thats the case.