• Mon. Oct 18th, 2021

    ✓ Checkmark Character Encoding Issue In WordPress Editor


    Oct 14, 2021

    While writing a new blog post on my WordPress blog, I noticed that it is converting ‘✓’ (checkmark) to ‘?’ (question mark). I am using the classic editor (not the block one).

    I tried to enter the ✓ character in multiple ways like using the ✓ HTML entity also but as soon as I moved to the visual tab on the editor the character changed back to ?.

    I read somewhere that commenting the following lines in wp-config.php fixes this issue.

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

    In my case committing these two lines fixed the issue for this very blog post but all the older posts seem to be messed up.


    Leave a Reply

    Your email address will not be published. Required fields are marked *