I recently moved my WordPress-based site from DreamHost VPS to a Linode VPS running Debian + LEMP. After getting the site up again, I noticed many erroneous characters in posts; characters like " and - were being replaced with gibberish.
After doing some looking, it seemed clear that the issue was something related to character encoding.
I found a guide that suggested editing
wp-config.php and commenting out the lines:
define('DB_CHARSET', 'utf8'); and
I did this and it fixed the problem, but I'm wondering if that was the best way to go about it. Thank you for any advice.