MySQL Importing UTF8 – Latin1 issue
by Rekha[ Edit ] 2010-01-28 13:11:31
When migrating from older databases to new version of MySQL. If the old database at some point had used latin1 charset and it was not properly upgraded – you will see strange characters due to latin1 – UTF8 charset issues.
A simple hack is to open the import file and add the line
/*!40101 SET NAMES latin1 */;
Note: you replace the line that says utf8.