Convert latin1 characters on a UTF8 table into UTF8

From what you describe, it seems you have UTF-8 data that was originally stored as Latin-1 and then not converted correctly to UTF-8. The data is recoverable; you’ll need a MySQL function like

convert(cast(convert(name using  latin1) as binary) using utf8)

It’s possible that you may need to omit the inner conversion, depending on how the data was altered during the encoding conversion.

Leave a Comment