I use a script to import data from Excel to mysql. For a long time I have had problems with strange characters such as ù which must be ù or ý which must be ý and so on. At the moment I replace every single character that I found with the correct one but this is not an efficient way, is there a generic solution to this problem?
These look like UTF-8 characters. Could it be that your Excel file uses a UTF-8 character encoding while your database uses a ISO-8859-1 character encoding? If that's the case, you would need either to change the encoding of your Excel file or of your database, or you would need to change your script so that it does the conversion. (If your script is in PHP, you can use the function iconv() for that purpose.)
There is a program I used a while ago (windows based) that does the transfer and it was pretty easy. If you are talking about a script, you can use a function called iconv to convert characters from and to. Peace,
It seems that your Excel file is in UTF-8 while your MySQL database is probably in ISO-8859-1. If you do iconv() UTF-8 --> ISO-8859-1 on your Excel data prior to importing it in MySQL, does it solve the problem?