{"action":"created","issue":{"url":"https://api.github.com/repos/pfefferle/wordpress-semantic-linkbacks/issues/71","repository_url":"https://api.github.com/repos/pfefferle/wordpress-semantic-linkbacks","labels_url":"https://api.github.com/repos/pfefferle/wordpress-semantic-linkbacks/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/pfefferle/wordpress-semantic-linkbacks/issues/71/comments","events_url":"https://api.github.com/repos/pfefferle/wordpress-semantic-linkbacks/issues/71/events","html_url":"https://github.com/pfefferle/wordpress-semantic-linkbacks/issues/71","id":188944065,"number":71,"title":"unhappy with unicode content (e.g. reacji)","user":{"login":"snarfed","id":778068,"avatar_url":"https://avatars.githubusercontent.com/u/778068?v=3","gravatar_id":"","url":"https://api.github.com/users/snarfed","html_url":"https://github.com/snarfed","followers_url":"https://api.github.com/users/snarfed/followers","following_url":"https://api.github.com/users/snarfed/following{/other_user}","gists_url":"https://api.github.com/users/snarfed/gists{/gist_id}","starred_url":"https://api.github.com/users/snarfed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snarfed/subscriptions","organizations_url":"https://api.github.com/users/snarfed/orgs","repos_url":"https://api.github.com/users/snarfed/repos","events_url":"https://api.github.com/users/snarfed/events{/privacy}","received_events_url":"https://api.github.com/users/snarfed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":29,"created_at":"2016-11-13T00:45:47Z","updated_at":"2016-11-16T20:22:19Z","closed_at":null,"body":"unicode chars in content like reacji have worked for me before, e.g. https://snarfed.org/2016-08-27_18491#comment-2600432 , but they're now rendered as _This Article was mentioned on brid-gy.appspot.com_, e.g. https://snarfed.org/2016-11-09_22762#comment-2601735 .\r\n\r\ni've tried a few different versions, including current stable release and git head here.\r\n\r\ni've tracked it down to [this `wp_update_comment` call](https://github.com/pfefferle/wordpress-semantic-linkbacks/blob/794a10db8c1aa5ade620edfc7974da512d47e272/includes/class-linkbacks-handler.php#L153). `$commentdata['comment_content']` has the right unicode content, e.g. 😢, but the `wp_update_comment` call returns 0 instead of 1, [which the docs say means it failed.](https://codex.wordpress.org/Function_Reference/wp_update_comment#Return_Values)\r\n\r\ni can post comments manually with that same character, and they render ok, so i don't think it's wordpress's or mysql's fault. i've reproduced on wordpress 4.6.1 on both freebsd (mysql 14.14 5.6.23) and mac os x (mysql 14.14 5.7.14).\r\n\r\nthanks in advance!"},"comment":{"url":"https://api.github.com/repos/pfefferle/wordpress-semantic-linkbacks/issues/comments/261060482","html_url":"https://github.com/pfefferle/wordpress-semantic-linkbacks/issues/71#issuecomment-261060482","issue_url":"https://api.github.com/repos/pfefferle/wordpress-semantic-linkbacks/issues/71","id":261060482,"user":{"login":"dshanske","id":7278204,"avatar_url":"https://avatars.githubusercontent.com/u/7278204?v=3","gravatar_id":"","url":"https://api.github.com/users/dshanske","html_url":"https://github.com/dshanske","followers_url":"https://api.github.com/users/dshanske/followers","following_url":"https://api.github.com/users/dshanske/following{/other_user}","gists_url":"https://api.github.com/users/dshanske/gists{/gist_id}","starred_url":"https://api.github.com/users/dshanske/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dshanske/subscriptions","organizations_url":"https://api.github.com/users/dshanske/orgs","repos_url":"https://api.github.com/users/dshanske/repos","events_url":"https://api.github.com/users/dshanske/events{/privacy}","received_events_url":"https://api.github.com/users/dshanske/received_events","type":"User","site_admin":false},"created_at":"2016-11-16T20:22:19Z","updated_at":"2016-11-16T20:22:19Z","body":"I was just hoping in the course of focusing on them, the answer might become evident."}}
{"actor":{"display_login":"dshanske"}}