Strange characters on wordpress site - Not UTF8 Issue

I've imported WordPress post data onto a new site and noticed I have strange characters showing on pages and Blog posts.

It usually shows where apostrophes should be.

I've searched multiple solutions to UTF8 latin1 solutions with success. I've looked at my database and the characters are showing there too.

Topic database Wordpress encoding

Category Web


What is your database encoding? Try to switch to utf8mb4.

Alternatively, try to add one of these lines in your wp-config.php file:

define('DB_CHARSET', 'latin1');
define('DB_COLLATE', '');

or

define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');

or

define('DB_CHARSET', 'utf8mb4');
define('DB_COLLATE', '');

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.