I have to import data from csv files containing names with accented characters (french and italian). The text files are BBEdit documents whose character encoding is UTF-8, converted from csv files generated by Excel. I have created an AppleScript that takes care of all this. The backend DB is MySql 5.0.67 with InnoDB tables and UTF-8 encoding. Servoy 4.0/Eclipse is set to use UTF-8 encoding wherever possible. However all the accented characters are misinterpreted in the import phase and substituted with others. The capital E with a grave accent (È) becomes √à, the lowercase a with a grave accent (à) is transformed in ?†.
I have written a function that takes care of this, and after the import is finished restores the correct values. But is there a way to avoid all this and import accented characters without substitution?