{"id":6107195,"date":"2015-05-08T02:31:41","date_gmt":"2015-05-08T02:31:41","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/utf8-options\/"},"modified":"2016-08-24T15:41:15","modified_gmt":"2016-08-24T15:41:15","slug":"utf8-options","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/utf8-options\/","title":{"rendered":"UTF8 Options?"},"content":{"rendered":"<p>I&#8217;ve been experimenting with this plugin lately, so far it&#8217;s awesome!<\/p>\n<p>However, I noticed some issues with certain characters having encoding issues while pushing content to a production site.  For now I made a quick fix in class-sitepush-core.php:<\/p>\n<p>Change Line 59:<br \/>\n\tprivate $dump_options = &#8220;&#8211;opt &#8211;verbose&#8221;;<br \/>\nto<br \/>\n\tprivate $dump_options = &#8220;&#8211;opt &#8211;verbose &#8211;default-character-set=utf8&#8221;;<\/p>\n<p>So far that seems to be fixing all the issues I noticed.  I&#8217;m running a bi-lingual site, but I seemed to be having issues with certain long dashes and quotes etc.  (Might be because of pasted user content from Word or something, not sure.)  <\/p>\n<p>Posting this here in case it&#8217;s helpful for anyone else, or if there&#8217;s a configurable option somewhere that I missed for UTF8 support.<\/p>\n<p>Cheers!<\/p>\n<p>https:\/\/wordpress.org\/plugins\/sitepush\/<\/p>\n","protected":false},"template":"","class_list":["post-6107195","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6107195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6107195\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6107195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}