I've got a SQL operation with the word "şalom" which contains a non-ASCII character. And the statement ( which I posted below ) runs totally fine:
UPDATE `myTable1` SET `description`='The topic for this learning plan starts with the \"ÅŸ\" ( sh ) letter which is a non-ASCII char. ', `topic`='ÅŸalom'' WHERE `RecID` = '1308'"
however, right after this statement, I have to run another one to put the word "şalom" in another table but that one FAILS. The reported error is follows:
INSERT INTO `myTable2` (`TOPIC_Name`, `TOPIC_AddedOn`) VALUES ('[Åÿalom]', '2018-04-12').
LAST SQL ERROR:
HY000, 1366, Incorrect string value: '\xC5\xFFalom...' for column 'Topic_Name' at row 1
We've checked the table structures and the field structures and saw that they are identical and designed to accept utf-8.
We cannot figure out why one statement passes but the other one chokes. Any ideas?