{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/beeman/micro-unfurl/pulls/4","id":197714312,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3NzE0MzEy","html_url":"https://github.com/beeman/micro-unfurl/pull/4","diff_url":"https://github.com/beeman/micro-unfurl/pull/4.diff","patch_url":"https://github.com/beeman/micro-unfurl/pull/4.patch","issue_url":"https://api.github.com/repos/beeman/micro-unfurl/issues/4","number":4,"state":"closed","locked":false,"title":"Updated unfurl.js version for handling multibyte encoding","user":{"login":"jacktuck","id":8209433,"node_id":"MDQ6VXNlcjgyMDk0MzM=","avatar_url":"https://avatars1.githubusercontent.com/u/8209433?v=4","gravatar_id":"","url":"https://api.github.com/users/jacktuck","html_url":"https://github.com/jacktuck","followers_url":"https://api.github.com/users/jacktuck/followers","following_url":"https://api.github.com/users/jacktuck/following{/other_user}","gists_url":"https://api.github.com/users/jacktuck/gists{/gist_id}","starred_url":"https://api.github.com/users/jacktuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacktuck/subscriptions","organizations_url":"https://api.github.com/users/jacktuck/orgs","repos_url":"https://api.github.com/users/jacktuck/repos","events_url":"https://api.github.com/users/jacktuck/events{/privacy}","received_events_url":"https://api.github.com/users/jacktuck/received_events","type":"User","site_admin":false},"body":"So turns out there was an issue within unfurl.js too with multibyte encodings (such as gb2312 in this case of http://qq.com).\r\n\r\nIf you try `unfurl('http://qq.com')` you will see that if the response's encoding is a multibyte the characters are distorted in 1.1.6 but should now be fixed in 1.1.7.\r\n\r\n![image](https://user-images.githubusercontent.com/8209433/41973142-09fa8290-7a0c-11e8-876d-f7849226a39f.png)\r\n\r\nI have a now service i've just deployed running the new beta release 1.1.7 and i'll keep it running in case anyone wants to test before this is merged. The service is at `https://micro-unfurl-fsecbdmqfo.now.sh`, so you can test with `curl https://micro-unfurl-fsecbdmqfo.now.sh/?url=http://qq.com`","created_at":"2018-06-27T12:23:07Z","updated_at":"2018-06-27T13:28:18Z","closed_at":"2018-06-27T13:28:18Z","merged_at":"2018-06-27T13:28:18Z","merge_commit_sha":"e34400d15bbcdb916e55f723b9a8bb827146d180","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/beeman/micro-unfurl/pulls/4/commits","review_comments_url":"https://api.github.com/repos/beeman/micro-unfurl/pulls/4/comments","review_comment_url":"https://api.github.com/repos/beeman/micro-unfurl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/beeman/micro-unfurl/issues/4/comments","statuses_url":"https://api.github.com/repos/beeman/micro-unfurl/statuses/e34400d15bbcdb916e55f723b9a8bb827146d180","head":{"label":"jacktuck:update_unfurl_package_version","ref":"update_unfurl_package_version","sha":"e34400d15bbcdb916e55f723b9a8bb827146d180","user":{"login":"jacktuck","id":8209433,"node_id":"MDQ6VXNlcjgyMDk0MzM=","avatar_url":"https://avatars1.githubusercontent.com/u/8209433?v=4","gravatar_id":"","url":"https://api.github.com/users/jacktuck","html_url":"https://github.com/jacktuck","followers_url":"https://api.github.com/users/jacktuck/followers","following_url":"https://api.github.com/users/jacktuck/following{/other_user}","gists_url":"https://api.github.com/users/jacktuck/gists{/gist_id}","starred_url":"https://api.github.com/users/jacktuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacktuck/subscriptions","organizations_url":"https://api.github.com/users/jacktuck/orgs","repos_url":"https://api.github.com/users/jacktuck/repos","events_url":"https://api.github.com/users/jacktuck/events{/privacy}","received_events_url":"https://api.github.com/users/jacktuck/received_events","type":"User","site_admin":false},"repo":{"id":122364201,"node_id":"MDEwOlJlcG9zaXRvcnkxMjIzNjQyMDE=","name":"micro-unfurl","full_name":"jacktuck/micro-unfurl","owner":{"login":"jacktuck","id":8209433,"node_id":"MDQ6VXNlcjgyMDk0MzM=","avatar_url":"https://avatars1.githubusercontent.com/u/8209433?v=4","gravatar_id":"","url":"https://api.github.com/users/jacktuck","html_url":"https://github.com/jacktuck","followers_url":"https://api.github.com/users/jacktuck/followers","following_url":"https://api.github.com/users/jacktuck/following{/other_user}","gists_url":"https://api.github.com/users/jacktuck/gists{/gist_id}","starred_url":"https://api.github.com/users/jacktuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacktuck/subscriptions","organizations_url":"https://api.github.com/users/jacktuck/orgs","repos_url":"https://api.github.com/users/jacktuck/repos","events_url":"https://api.github.com/users/jacktuck/events{/privacy}","received_events_url":"https://api.github.com/users/jacktuck/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jacktuck/micro-unfurl","description":"Small microservice that unfurls a URL and returns the OpenGraph meta data","fork":true,"url":"https://api.github.com/repos/jacktuck/micro-unfurl","forks_url":"https://api.github.com/repos/jacktuck/micro-unfurl/forks","keys_url":"https://api.github.com/repos/jacktuck/micro-unfurl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jacktuck/micro-unfurl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jacktuck/micro-unfurl/teams","hooks_url":"https://api.github.com/repos/jacktuck/micro-unfurl/hooks","issue_events_url":"https://api.github.com/repos/jacktuck/micro-unfurl/issues/events{/number}","events_url":"https://api.github.com/repos/jacktuck/micro-unfurl/events","assignees_url":"https://api.github.com/repos/jacktuck/micro-unfurl/assignees{/user}","branches_url":"https://api.github.com/repos/jacktuck/micro-unfurl/branches{/branch}","tags_url":"https://api.github.com/repos/jacktuck/micro-unfurl/tags","blobs_url":"https://api.github.com/repos/jacktuck/micro-unfurl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jacktuck/micro-unfurl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jacktuck/micro-unfurl/git/refs{/sha}","trees_url":"https://api.github.com/repos/jacktuck/micro-unfurl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jacktuck/micro-unfurl/statuses/{sha}","languages_url":"https://api.github.com/repos/jacktuck/micro-unfurl/languages","stargazers_url":"https://api.github.com/repos/jacktuck/micro-unfurl/stargazers","contributors_url":"https://api.github.com/repos/jacktuck/micro-unfurl/contributors","subscribers_url":"https://api.github.com/repos/jacktuck/micro-unfurl/subscribers","subscription_url":"https://api.github.com/repos/jacktuck/micro-unfurl/subscription","commits_url":"https://api.github.com/repos/jacktuck/micro-unfurl/commits{/sha}","git_commits_url":"https://api.github.com/repos/jacktuck/micro-unfurl/git/commits{/sha}","comments_url":"https://api.github.com/repos/jacktuck/micro-unfurl/comments{/number}","issue_comment_url":"https://api.github.com/repos/jacktuck/micro-unfurl/issues/comments{/number}","contents_url":"https://api.github.com/repos/jacktuck/micro-unfurl/contents/{+path}","compare_url":"https://api.github.com/repos/jacktuck/micro-unfurl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jacktuck/micro-unfurl/merges","archive_url":"https://api.github.com/repos/jacktuck/micro-unfurl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jacktuck/micro-unfurl/downloads","issues_url":"https://api.github.com/repos/jacktuck/micro-unfurl/issues{/number}","pulls_url":"https://api.github.com/repos/jacktuck/micro-unfurl/pulls{/number}","milestones_url":"https://api.github.com/repos/jacktuck/micro-unfurl/milestones{/number}","notifications_url":"https://api.github.com/repos/jacktuck/micro-unfurl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jacktuck/micro-unfurl/labels{/name}","releases_url":"https://api.github.com/repos/jacktuck/micro-unfurl/releases{/id}","deployments_url":"https://api.github.com/repos/jacktuck/micro-unfurl/deployments","created_at":"2018-02-21T16:48:44Z","updated_at":"2018-02-21T16:48:46Z","pushed_at":"2018-06-27T12:09:52Z","git_url":"git://github.com/jacktuck/micro-unfurl.git","ssh_url":"git@github.com:jacktuck/micro-unfurl.git","clone_url":"https://github.com/jacktuck/micro-unfurl.git","svn_url":"https://github.com/jacktuck/micro-unfurl","homepage":"https://unfurl.now.sh/?url=https://github.com/beeman/micro-unfurl","size":18,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"beeman:master","ref":"master","sha":"713f7c64084dd6e1f6173d75e4cd431f2a9cca28","user":{"login":"beeman","id":36491,"node_id":"MDQ6VXNlcjM2NDkx","avatar_url":"https://avatars3.githubusercontent.com/u/36491?v=4","gravatar_id":"","url":"https://api.github.com/users/beeman","html_url":"https://github.com/beeman","followers_url":"https://api.github.com/users/beeman/followers","following_url":"https://api.github.com/users/beeman/following{/other_user}","gists_url":"https://api.github.com/users/beeman/gists{/gist_id}","starred_url":"https://api.github.com/users/beeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beeman/subscriptions","organizations_url":"https://api.github.com/users/beeman/orgs","repos_url":"https://api.github.com/users/beeman/repos","events_url":"https://api.github.com/users/beeman/events{/privacy}","received_events_url":"https://api.github.com/users/beeman/received_events","type":"User","site_admin":false},"repo":{"id":90931773,"node_id":"MDEwOlJlcG9zaXRvcnk5MDkzMTc3Mw==","name":"micro-unfurl","full_name":"beeman/micro-unfurl","owner":{"login":"beeman","id":36491,"node_id":"MDQ6VXNlcjM2NDkx","avatar_url":"https://avatars3.githubusercontent.com/u/36491?v=4","gravatar_id":"","url":"https://api.github.com/users/beeman","html_url":"https://github.com/beeman","followers_url":"https://api.github.com/users/beeman/followers","following_url":"https://api.github.com/users/beeman/following{/other_user}","gists_url":"https://api.github.com/users/beeman/gists{/gist_id}","starred_url":"https://api.github.com/users/beeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beeman/subscriptions","organizations_url":"https://api.github.com/users/beeman/orgs","repos_url":"https://api.github.com/users/beeman/repos","events_url":"https://api.github.com/users/beeman/events{/privacy}","received_events_url":"https://api.github.com/users/beeman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/beeman/micro-unfurl","description":"Small microservice that unfurls a URL and returns the OpenGraph meta data","fork":false,"url":"https://api.github.com/repos/beeman/micro-unfurl","forks_url":"https://api.github.com/repos/beeman/micro-unfurl/forks","keys_url":"https://api.github.com/repos/beeman/micro-unfurl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/beeman/micro-unfurl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/beeman/micro-unfurl/teams","hooks_url":"https://api.github.com/repos/beeman/micro-unfurl/hooks","issue_events_url":"https://api.github.com/repos/beeman/micro-unfurl/issues/events{/number}","events_url":"https://api.github.com/repos/beeman/micro-unfurl/events","assignees_url":"https://api.github.com/repos/beeman/micro-unfurl/assignees{/user}","branches_url":"https://api.github.com/repos/beeman/micro-unfurl/branches{/branch}","tags_url":"https://api.github.com/repos/beeman/micro-unfurl/tags","blobs_url":"https://api.github.com/repos/beeman/micro-unfurl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/beeman/micro-unfurl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/beeman/micro-unfurl/git/refs{/sha}","trees_url":"https://api.github.com/repos/beeman/micro-unfurl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/beeman/micro-unfurl/statuses/{sha}","languages_url":"https://api.github.com/repos/beeman/micro-unfurl/languages","stargazers_url":"https://api.github.com/repos/beeman/micro-unfurl/stargazers","contributors_url":"https://api.github.com/repos/beeman/micro-unfurl/contributors","subscribers_url":"https://api.github.com/repos/beeman/micro-unfurl/subscribers","subscription_url":"https://api.github.com/repos/beeman/micro-unfurl/subscription","commits_url":"https://api.github.com/repos/beeman/micro-unfurl/commits{/sha}","git_commits_url":"https://api.github.com/repos/beeman/micro-unfurl/git/commits{/sha}","comments_url":"https://api.github.com/repos/beeman/micro-unfurl/comments{/number}","issue_comment_url":"https://api.github.com/repos/beeman/micro-unfurl/issues/comments{/number}","contents_url":"https://api.github.com/repos/beeman/micro-unfurl/contents/{+path}","compare_url":"https://api.github.com/repos/beeman/micro-unfurl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/beeman/micro-unfurl/merges","archive_url":"https://api.github.com/repos/beeman/micro-unfurl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/beeman/micro-unfurl/downloads","issues_url":"https://api.github.com/repos/beeman/micro-unfurl/issues{/number}","pulls_url":"https://api.github.com/repos/beeman/micro-unfurl/pulls{/number}","milestones_url":"https://api.github.com/repos/beeman/micro-unfurl/milestones{/number}","notifications_url":"https://api.github.com/repos/beeman/micro-unfurl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/beeman/micro-unfurl/labels{/name}","releases_url":"https://api.github.com/repos/beeman/micro-unfurl/releases{/id}","deployments_url":"https://api.github.com/repos/beeman/micro-unfurl/deployments","created_at":"2017-05-11T03:09:03Z","updated_at":"2018-06-22T03:51:46Z","pushed_at":"2018-06-27T13:28:17Z","git_url":"git://github.com/beeman/micro-unfurl.git","ssh_url":"git@github.com:beeman/micro-unfurl.git","clone_url":"https://github.com/beeman/micro-unfurl.git","svn_url":"https://github.com/beeman/micro-unfurl","homepage":"https://unfurl.now.sh/?url=https://github.com/beeman/micro-unfurl","size":14,"stargazers_count":12,"watchers_count":12,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":2,"open_issues":0,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/beeman/micro-unfurl/pulls/4"},"html":{"href":"https://github.com/beeman/micro-unfurl/pull/4"},"issue":{"href":"https://api.github.com/repos/beeman/micro-unfurl/issues/4"},"comments":{"href":"https://api.github.com/repos/beeman/micro-unfurl/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/beeman/micro-unfurl/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/beeman/micro-unfurl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/beeman/micro-unfurl/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/beeman/micro-unfurl/statuses/e34400d15bbcdb916e55f723b9a8bb827146d180"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"beeman","id":36491,"node_id":"MDQ6VXNlcjM2NDkx","avatar_url":"https://avatars3.githubusercontent.com/u/36491?v=4","gravatar_id":"","url":"https://api.github.com/users/beeman","html_url":"https://github.com/beeman","followers_url":"https://api.github.com/users/beeman/followers","following_url":"https://api.github.com/users/beeman/following{/other_user}","gists_url":"https://api.github.com/users/beeman/gists{/gist_id}","starred_url":"https://api.github.com/users/beeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beeman/subscriptions","organizations_url":"https://api.github.com/users/beeman/orgs","repos_url":"https://api.github.com/users/beeman/repos","events_url":"https://api.github.com/users/beeman/events{/privacy}","received_events_url":"https://api.github.com/users/beeman/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":301,"deletions":461,"changed_files":2}}
{"actor":{"display_login":"beeman"}}