{"id":2576,"date":"2013-09-04T15:08:43","date_gmt":"2013-09-04T15:08:43","guid":{"rendered":"http:\/\/www.bargh.co.uk\/blog\/?p=1815"},"modified":"2013-09-04T15:08:43","modified_gmt":"2013-09-04T15:08:43","slug":"a-appearing-in-wordpress-posts-following-mysql-database-import","status":"publish","type":"post","link":"https:\/\/bargh.co.uk\/blog\/a-appearing-in-wordpress-posts-following-mysql-database-import\/","title":{"rendered":"\u00c2 appearing in WordPress posts following mysql database import"},"content":{"rendered":"<div>\n<div>\n<p>If you experience the problem of an \u00c2 appearing in seemingly random places throughout you WordPress posts following a database import you may be able to solved it like I did by commenting out the encoding line in your site&#8217;s wp-config file:<\/p>\n<p>Search for<\/p>\n<blockquote><p>define(\u2018DB_CHARSET\u2019, \u2018utf8?);<\/p><\/blockquote>\n<p>and add \/\/ to the front:<\/p>\n<blockquote><p>\/\/ define(\u2018DB_CHARSET\u2019, \u2018utf8?);<\/p><\/blockquote>\n<p>This should make the\u00a0\u00c2s disappear.<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>If you experience the problem of an \u00c2 appearing in seemingly random places throughout you WordPress posts following a database import you may be able to solved it like I did by commenting out the encoding line in your site&#8217;s wp-config file: Search for define(\u2018DB_CHARSET\u2019, \u2018utf8?); and add \/\/ to the front: \/\/ define(\u2018DB_CHARSET\u2019, \u2018utf8?); [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1296,1300],"tags":[1309,1542,1543,1739,2247,2304],"class_list":["post-2576","post","type-post","status-publish","format-standard","hentry","category-helping-hand","category-web-development","tag-a","tag-database","tag-db_charset","tag-import","tag-utf8","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2576","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=2576"}],"version-history":[{"count":0,"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2576\/revisions"}],"wp:attachment":[{"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=2576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=2576"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=2576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}