{"action":"opened","number":24,"pull_request":{"url":"https://api.github.com/repos/sonyxperiadev/pygerrit/pulls/24","id":32429215,"html_url":"https://github.com/sonyxperiadev/pygerrit/pull/24","diff_url":"https://github.com/sonyxperiadev/pygerrit/pull/24.diff","patch_url":"https://github.com/sonyxperiadev/pygerrit/pull/24.patch","issue_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/issues/24","number":24,"state":"open","locked":false,"title":"Allow unicode characters in gerrit commands","user":{"login":"notnownikki","id":3314354,"avatar_url":"https://avatars.githubusercontent.com/u/3314354?v=3","gravatar_id":"","url":"https://api.github.com/users/notnownikki","html_url":"https://github.com/notnownikki","followers_url":"https://api.github.com/users/notnownikki/followers","following_url":"https://api.github.com/users/notnownikki/following{/other_user}","gists_url":"https://api.github.com/users/notnownikki/gists{/gist_id}","starred_url":"https://api.github.com/users/notnownikki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notnownikki/subscriptions","organizations_url":"https://api.github.com/users/notnownikki/orgs","repos_url":"https://api.github.com/users/notnownikki/repos","events_url":"https://api.github.com/users/notnownikki/events{/privacy}","received_events_url":"https://api.github.com/users/notnownikki/received_events","type":"User","site_admin":false},"body":"Trying to use pygerrit to submit reviews fails if there\r\nis a unicode character in the review comment. This change\r\nsees if the message is valid ascii, and if it's not,\r\nencodes as utf-8.","created_at":"2015-04-01T15:20:56Z","updated_at":"2015-04-01T15:20:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/pulls/24/commits","review_comments_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/pulls/24/comments","review_comment_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/issues/24/comments","statuses_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/statuses/38d7a580e6d0a7ce07b059ecbf1d370a52c31f87","head":{"label":"notnownikki:unicode-commands","ref":"unicode-commands","sha":"38d7a580e6d0a7ce07b059ecbf1d370a52c31f87","user":{"login":"notnownikki","id":3314354,"avatar_url":"https://avatars.githubusercontent.com/u/3314354?v=3","gravatar_id":"","url":"https://api.github.com/users/notnownikki","html_url":"https://github.com/notnownikki","followers_url":"https://api.github.com/users/notnownikki/followers","following_url":"https://api.github.com/users/notnownikki/following{/other_user}","gists_url":"https://api.github.com/users/notnownikki/gists{/gist_id}","starred_url":"https://api.github.com/users/notnownikki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notnownikki/subscriptions","organizations_url":"https://api.github.com/users/notnownikki/orgs","repos_url":"https://api.github.com/users/notnownikki/repos","events_url":"https://api.github.com/users/notnownikki/events{/privacy}","received_events_url":"https://api.github.com/users/notnownikki/received_events","type":"User","site_admin":false},"repo":{"id":33254720,"name":"pygerrit","full_name":"notnownikki/pygerrit","owner":{"login":"notnownikki","id":3314354,"avatar_url":"https://avatars.githubusercontent.com/u/3314354?v=3","gravatar_id":"","url":"https://api.github.com/users/notnownikki","html_url":"https://github.com/notnownikki","followers_url":"https://api.github.com/users/notnownikki/followers","following_url":"https://api.github.com/users/notnownikki/following{/other_user}","gists_url":"https://api.github.com/users/notnownikki/gists{/gist_id}","starred_url":"https://api.github.com/users/notnownikki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notnownikki/subscriptions","organizations_url":"https://api.github.com/users/notnownikki/orgs","repos_url":"https://api.github.com/users/notnownikki/repos","events_url":"https://api.github.com/users/notnownikki/events{/privacy}","received_events_url":"https://api.github.com/users/notnownikki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/notnownikki/pygerrit","description":"","fork":true,"url":"https://api.github.com/repos/notnownikki/pygerrit","forks_url":"https://api.github.com/repos/notnownikki/pygerrit/forks","keys_url":"https://api.github.com/repos/notnownikki/pygerrit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/notnownikki/pygerrit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/notnownikki/pygerrit/teams","hooks_url":"https://api.github.com/repos/notnownikki/pygerrit/hooks","issue_events_url":"https://api.github.com/repos/notnownikki/pygerrit/issues/events{/number}","events_url":"https://api.github.com/repos/notnownikki/pygerrit/events","assignees_url":"https://api.github.com/repos/notnownikki/pygerrit/assignees{/user}","branches_url":"https://api.github.com/repos/notnownikki/pygerrit/branches{/branch}","tags_url":"https://api.github.com/repos/notnownikki/pygerrit/tags","blobs_url":"https://api.github.com/repos/notnownikki/pygerrit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/notnownikki/pygerrit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/notnownikki/pygerrit/git/refs{/sha}","trees_url":"https://api.github.com/repos/notnownikki/pygerrit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/notnownikki/pygerrit/statuses/{sha}","languages_url":"https://api.github.com/repos/notnownikki/pygerrit/languages","stargazers_url":"https://api.github.com/repos/notnownikki/pygerrit/stargazers","contributors_url":"https://api.github.com/repos/notnownikki/pygerrit/contributors","subscribers_url":"https://api.github.com/repos/notnownikki/pygerrit/subscribers","subscription_url":"https://api.github.com/repos/notnownikki/pygerrit/subscription","commits_url":"https://api.github.com/repos/notnownikki/pygerrit/commits{/sha}","git_commits_url":"https://api.github.com/repos/notnownikki/pygerrit/git/commits{/sha}","comments_url":"https://api.github.com/repos/notnownikki/pygerrit/comments{/number}","issue_comment_url":"https://api.github.com/repos/notnownikki/pygerrit/issues/comments{/number}","contents_url":"https://api.github.com/repos/notnownikki/pygerrit/contents/{+path}","compare_url":"https://api.github.com/repos/notnownikki/pygerrit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/notnownikki/pygerrit/merges","archive_url":"https://api.github.com/repos/notnownikki/pygerrit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/notnownikki/pygerrit/downloads","issues_url":"https://api.github.com/repos/notnownikki/pygerrit/issues{/number}","pulls_url":"https://api.github.com/repos/notnownikki/pygerrit/pulls{/number}","milestones_url":"https://api.github.com/repos/notnownikki/pygerrit/milestones{/number}","notifications_url":"https://api.github.com/repos/notnownikki/pygerrit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/notnownikki/pygerrit/labels{/name}","releases_url":"https://api.github.com/repos/notnownikki/pygerrit/releases{/id}","created_at":"2015-04-01T15:11:26Z","updated_at":"2015-04-01T15:11:27Z","pushed_at":"2015-04-01T15:20:21Z","git_url":"git://github.com/notnownikki/pygerrit.git","ssh_url":"git@github.com:notnownikki/pygerrit.git","clone_url":"https://github.com/notnownikki/pygerrit.git","svn_url":"https://github.com/notnownikki/pygerrit","homepage":null,"size":549,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sonyxperiadev:master","ref":"master","sha":"daad8e23d9bbcd8a2bc565497be50a3cc29dae6b","user":{"login":"sonyxperiadev","id":487469,"avatar_url":"https://avatars.githubusercontent.com/u/487469?v=3","gravatar_id":"","url":"https://api.github.com/users/sonyxperiadev","html_url":"https://github.com/sonyxperiadev","followers_url":"https://api.github.com/users/sonyxperiadev/followers","following_url":"https://api.github.com/users/sonyxperiadev/following{/other_user}","gists_url":"https://api.github.com/users/sonyxperiadev/gists{/gist_id}","starred_url":"https://api.github.com/users/sonyxperiadev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonyxperiadev/subscriptions","organizations_url":"https://api.github.com/users/sonyxperiadev/orgs","repos_url":"https://api.github.com/users/sonyxperiadev/repos","events_url":"https://api.github.com/users/sonyxperiadev/events{/privacy}","received_events_url":"https://api.github.com/users/sonyxperiadev/received_events","type":"User","site_admin":false},"repo":{"id":7662023,"name":"pygerrit","full_name":"sonyxperiadev/pygerrit","owner":{"login":"sonyxperiadev","id":487469,"avatar_url":"https://avatars.githubusercontent.com/u/487469?v=3","gravatar_id":"","url":"https://api.github.com/users/sonyxperiadev","html_url":"https://github.com/sonyxperiadev","followers_url":"https://api.github.com/users/sonyxperiadev/followers","following_url":"https://api.github.com/users/sonyxperiadev/following{/other_user}","gists_url":"https://api.github.com/users/sonyxperiadev/gists{/gist_id}","starred_url":"https://api.github.com/users/sonyxperiadev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonyxperiadev/subscriptions","organizations_url":"https://api.github.com/users/sonyxperiadev/orgs","repos_url":"https://api.github.com/users/sonyxperiadev/repos","events_url":"https://api.github.com/users/sonyxperiadev/events{/privacy}","received_events_url":"https://api.github.com/users/sonyxperiadev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sonyxperiadev/pygerrit","description":"","fork":false,"url":"https://api.github.com/repos/sonyxperiadev/pygerrit","forks_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/forks","keys_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/teams","hooks_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/hooks","issue_events_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/issues/events{/number}","events_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/events","assignees_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/assignees{/user}","branches_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/branches{/branch}","tags_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/tags","blobs_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/git/refs{/sha}","trees_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/statuses/{sha}","languages_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/languages","stargazers_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/stargazers","contributors_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/contributors","subscribers_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/subscribers","subscription_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/subscription","commits_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/commits{/sha}","git_commits_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/git/commits{/sha}","comments_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/comments{/number}","issue_comment_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/issues/comments{/number}","contents_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/contents/{+path}","compare_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/merges","archive_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/downloads","issues_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/issues{/number}","pulls_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/pulls{/number}","milestones_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/milestones{/number}","notifications_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/labels{/name}","releases_url":"https://api.github.com/repos/sonyxperiadev/pygerrit/releases{/id}","created_at":"2013-01-17T07:51:02Z","updated_at":"2015-04-01T09:59:14Z","pushed_at":"2015-01-08T07:54:06Z","git_url":"git://github.com/sonyxperiadev/pygerrit.git","ssh_url":"git@github.com:sonyxperiadev/pygerrit.git","clone_url":"https://github.com/sonyxperiadev/pygerrit.git","svn_url":"https://github.com/sonyxperiadev/pygerrit","homepage":null,"size":549,"stargazers_count":26,"watchers_count":26,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":1,"forks":17,"open_issues":1,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sonyxperiadev/pygerrit/pulls/24"},"html":{"href":"https://github.com/sonyxperiadev/pygerrit/pull/24"},"issue":{"href":"https://api.github.com/repos/sonyxperiadev/pygerrit/issues/24"},"comments":{"href":"https://api.github.com/repos/sonyxperiadev/pygerrit/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/sonyxperiadev/pygerrit/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/sonyxperiadev/pygerrit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sonyxperiadev/pygerrit/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/sonyxperiadev/pygerrit/statuses/38d7a580e6d0a7ce07b059ecbf1d370a52c31f87"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":0,"changed_files":1}}