I am having some issues with character encoding on imported posts from an old Wordpress install. I am getting black diamonds with question marks on some of the posts I have imported to a new install. The issue only seems to exist in post excerpts, when I click to view the full post, the missing characters are not there and when I click "edit post" they are not visible in the backend either. I have found several topics regarding this issue, but none of the solutions have worked for me so far.
The new install is using
define('DB_CHARSET', 'utf8mb4'); in
wp-config.php whereas the old site(where I imported the posts from) is using
I'm not sure what character is even having trouble being encoded. I think it's just an
nbsp; but there are other places with
nbsp; that are not showing as question marks, so I'm stumped. Any quick remedy for this issue?
Things I have tried:
- Commenting out
define('DB_COLLATE', '');(This created even more question marks)
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">to
- Setting back to
define('DB_CHARSET', 'utf8');in the