WordPress accent problem fix

WordPress accent problem fix

WordPress accent problem fix

If have accented characters that are not showing up correctly, you can try the following.

in wp-config.php

change

define(‘DB_CHARSET’, ‘utf8’);

to

define(‘DB_CHARSET’, ‘utf8mb4’);

 

Connecting to your WordPress database

Often the best solution might be to change the words or characters that are displayed wrong directly from the database.

You can use Heidisql program to connect to your database. The login info for your server is available in the wp-config file.

You may have to check up your domains IP address if localhost is present as DB_host.

You can change a tables table default collation to : utf8_general_ci and charset to UTF-8 Unicode (utf8mb4)

 

If you suspect a file is not showing correct characters for your language:

add <meta http-equiv=”content-type” content=”application/xhtml+xml; charset=utf-8″ />

This post is also available in: English