I was trying to determine an error in a java program that loads MySQL tables every night.
Error in the log was java.sql.SQLException: Incorrect string value: '\xEF\xBF\xBD\xEF\xBF\xBD...' for column 'manager' at row 1.
Finally determined there was a new name in the data (loading from a flat file) - FRANÇOIS - and it was the cedilla that was giving the error. Program still loaded everything, just left that field blank.
When I ran a SHOW FULL COLUMNS FOR tablename
, it was latin1_swedish_ci
. I know very little about collation, charsets.
What should I change the collation to in order for it to accept this?