{"action":"created","issue":{"url":"https://api.github.com/repos/jukben/unicode/issues/1","repository_url":"https://api.github.com/repos/jukben/unicode","labels_url":"https://api.github.com/repos/jukben/unicode/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jukben/unicode/issues/1/comments","events_url":"https://api.github.com/repos/jukben/unicode/issues/1/events","html_url":"https://github.com/jukben/unicode/issues/1","id":315115355,"number":1,"title":"Problem with decoding complex emoji","user":{"login":"chandlerroth","id":894178,"avatar_url":"https://avatars3.githubusercontent.com/u/894178?v=4","gravatar_id":"","url":"https://api.github.com/users/chandlerroth","html_url":"https://github.com/chandlerroth","followers_url":"https://api.github.com/users/chandlerroth/followers","following_url":"https://api.github.com/users/chandlerroth/following{/other_user}","gists_url":"https://api.github.com/users/chandlerroth/gists{/gist_id}","starred_url":"https://api.github.com/users/chandlerroth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chandlerroth/subscriptions","organizations_url":"https://api.github.com/users/chandlerroth/orgs","repos_url":"https://api.github.com/users/chandlerroth/repos","events_url":"https://api.github.com/users/chandlerroth/events{/privacy}","received_events_url":"https://api.github.com/users/chandlerroth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-17T15:34:40Z","updated_at":"2018-04-26T20:26:37Z","closed_at":null,"author_association":"NONE","body":"I plan writing the functionality for this, and pushing up a PR. Just wanted to log it as a problem. \r\n\r\nEmoji like 👨‍👩‍👧‍👦get split into four parts, making the output inaccurate for `.chars` and `.charAt()`;\r\n\r\nHere's the test, which I would expect to pass:\r\n\r\n```\r\nit('converts complex emoji', () => {\r\n  expect(unicode('👨‍👩‍👧‍👦').chars).toEqual(['👨‍👩‍👧‍👦']);\r\n});\r\n```\r\n\r\nInstead it fails, and creates an array with seven characters: [\"👨\", \"‍\", \"👩\", \"‍\", \"👧\", \"‍\", \"👦\"]\r\n\r\nNeed to work on a solution for this."},"comment":{"url":"https://api.github.com/repos/jukben/unicode/issues/comments/384777987","html_url":"https://github.com/jukben/unicode/issues/1#issuecomment-384777987","issue_url":"https://api.github.com/repos/jukben/unicode/issues/1","id":384777987,"user":{"login":"jukben","id":8135252,"avatar_url":"https://avatars3.githubusercontent.com/u/8135252?v=4","gravatar_id":"","url":"https://api.github.com/users/jukben","html_url":"https://github.com/jukben","followers_url":"https://api.github.com/users/jukben/followers","following_url":"https://api.github.com/users/jukben/following{/other_user}","gists_url":"https://api.github.com/users/jukben/gists{/gist_id}","starred_url":"https://api.github.com/users/jukben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jukben/subscriptions","organizations_url":"https://api.github.com/users/jukben/orgs","repos_url":"https://api.github.com/users/jukben/repos","events_url":"https://api.github.com/users/jukben/events{/privacy}","received_events_url":"https://api.github.com/users/jukben/received_events","type":"User","site_admin":false},"created_at":"2018-04-26T20:26:37Z","updated_at":"2018-04-26T20:26:37Z","author_association":"OWNER","body":"Hi! Yeah, those emojis are defined in Emoji 4.0, this library can handle only 3.0.\r\n\r\nI would appreciate your PR, that would be awesome. ❤️"}}
{"actor":{"display_login":"jukben"}}