Start a conversation

How to remove Strange characters ’ and  in WordPress posts

WordPress is an open source web software also called as CMS which is developed and designed in PHP with MySQL database support which can be used to create a beautiful website or blog. The core of WordPress is built by hundreds of community volunteers. It supports thousands of plugins and themes available to transform your site into almost anything you can imagine. WordPress is easy to customize and you can design a blog according to your need. Due to the community of different members upgrade is a common thing in WordPress and sometimes after a WordPress upgrade we started (start) to get all kinds of weird symbols in our posts, including  and ’. It is not a big problem just a character encoding mismatch problem.

The Solution over this is as follows:

You just have to comment out two lines in your wp-config.php file which is found in your main blog directory.

These lines are as follow:
define(‘DB_CHARSET’, ‘utf8?);
define(‘DB_COLLATE’, ”);

Comment them out like this:
//define(‘DB_CHARSET’, ‘utf8?);
//define(‘DB_COLLATE’, ”);

Character encoding mismatch problem is fixed now. WordPress can be used by many online organizations and bloggers to create an interactive website or blog. cPanel hosting works best to host a WordPress site with all user requirements according to his business (by a user according to his business requirements).

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Diya Ahmed

  2. Posted

Comments