{"action":"opened","issue":{"url":"https://api.github.com/repos/pffy/php-cedict2mysql/issues/1","repository_url":"https://api.github.com/repos/pffy/php-cedict2mysql","labels_url":"https://api.github.com/repos/pffy/php-cedict2mysql/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/pffy/php-cedict2mysql/issues/1/comments","events_url":"https://api.github.com/repos/pffy/php-cedict2mysql/issues/1/events","html_url":"https://github.com/pffy/php-cedict2mysql/issues/1","id":284713468,"number":1,"title":"Crashing on latest cedict_ts.u8","user":{"login":"starchand","id":3713820,"avatar_url":"https://avatars3.githubusercontent.com/u/3713820?v=4","gravatar_id":"","url":"https://api.github.com/users/starchand","html_url":"https://github.com/starchand","followers_url":"https://api.github.com/users/starchand/followers","following_url":"https://api.github.com/users/starchand/following{/other_user}","gists_url":"https://api.github.com/users/starchand/gists{/gist_id}","starred_url":"https://api.github.com/users/starchand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starchand/subscriptions","organizations_url":"https://api.github.com/users/starchand/orgs","repos_url":"https://api.github.com/users/starchand/repos","events_url":"https://api.github.com/users/starchand/events{/privacy}","received_events_url":"https://api.github.com/users/starchand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-27T12:22:41Z","updated_at":"2017-12-27T12:22:41Z","closed_at":null,"author_association":"NONE","body":"Not sure if its still supported, I run this php file couple times a year but the latest CC-CEDICT seems to be causing an issue with an emoji character.\r\n\r\n```\r\n99000 / 115808 entries added.\r\n100000 / 115808 entries added.\r\n101000 / 115808 entries added.\r\n102000 / 115808 entries added.\r\n103000 / 115808 entries added.\r\nFatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\\xF0\\xAC\\xAC\\xAD' for column 's' at row 1 in /Users/martinblampied/Desktop/cedict2mysql.php:224\r\nStack trace:\r\n#0 /Users/martinblampied/Desktop/cedict2mysql.php(224): PDOStatement->execute()\r\n#1 {main}\r\n  thrown in /Users/martinblampied/Desktop/cedict2mysql.php on line 224\r\n```"}}
{"actor":{"display_login":"starchand"}}