We are currently migrating a legacy application from an old server to a new server. We're running into an issue where utf-8 encoded data was stored in a latin1 table.
On our old server, we had PHP 5.2 running, and this outputted the data as "Don’t", but the browser interpreted the data as "Don't" (we have content-type tag set to UTF-8). However, on our new server with PHP 5.4, it utf-8 encodes before outputted to the browser, causing the browser to interpret it as "Don’t".
Is there a way of correcting the data in the tables? If it helps, we still have access to our old server.