This SQL has failed.
SQL is
INSERT INTO
`migration_loose_terms`
(`source`,`field`,`term`,`lastaccess`)
VALUES
('services.media','keywords','spermatozoïde','2012-04-25 12:00:00')
Because it contains a weird (ï) character.
What function do you use in php/mysql to weed out the nonascii characters to be stripped or to make that word somehow into mysql?
If you want to strip the non ASCII characters you can use the following code :
otherwise, have you tried to wrap the word in question with mysql_real_escape_string ?