You need to make sure that you read the CSV using InputStreamReaderthe proper encoding (which is the very file itself, which in this particular case, therefore ISO-8859-1).
BufferedReader reader = new BufferedReader(new InputStreamReader(input, "ISO-8859-1"));
You also need to make sure that the JDBC connection string contains a parameter characterEncodingwith the appropriate encoding (which is the one with which the table was created that you have not yet defined in the MySQL database). If it looks like Unicode encoding, you also need to add a parameter useUnicode=true.
String url = "jdbc:mysql://localhost:3306/dbname?characterEncoding=UTF-8&useUnicode=true";
The next question is likely to be: How do I determine which encoding my database table uses ?. You can do this using the command SHOW. It will contain encoding information.
SHOW CREATE DATABASE dbname;
SHOW CREATE TABLE dbname.tblname;
, , MySQL CSV Java/JDBC? LOAD DATA INFILE. CSV , MySQL .