{"action":"created","comment":{"url":"https://api.github.com/repos/mavenlink/oauth2/pulls/comments/23326359","id":23326359,"diff_hunk":"@@ -16,7 +16,8 @@ def initialize(response)\n         message << \"#{@code}: #{@description}\"\n       end\n \n-      message << response.body\n+      #https://github.com/intridea/oauth2/issues/155\n+      message << response.body.force_encoding(\"UTF-8\")","path":"lib/oauth2/error.rb","position":6,"original_position":6,"commit_id":"d21b85841594d7218944bca1b4e529fa535a8583","original_commit_id":"d21b85841594d7218944bca1b4e529fa535a8583","user":{"login":"cantino","id":83835,"avatar_url":"https://avatars.githubusercontent.com/u/83835?v=3","gravatar_id":"","url":"https://api.github.com/users/cantino","html_url":"https://github.com/cantino","followers_url":"https://api.github.com/users/cantino/followers","following_url":"https://api.github.com/users/cantino/following{/other_user}","gists_url":"https://api.github.com/users/cantino/gists{/gist_id}","starred_url":"https://api.github.com/users/cantino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cantino/subscriptions","organizations_url":"https://api.github.com/users/cantino/orgs","repos_url":"https://api.github.com/users/cantino/repos","events_url":"https://api.github.com/users/cantino/events{/privacy}","received_events_url":"https://api.github.com/users/cantino/received_events","type":"User","site_admin":false},"body":"Your call","created_at":"2015-01-21T19:26:32Z","updated_at":"2015-01-21T19:26:32Z","html_url":"https://github.com/mavenlink/oauth2/pull/1#discussion_r23326359","pull_request_url":"https://api.github.com/repos/mavenlink/oauth2/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/mavenlink/oauth2/pulls/comments/23326359"},"html":{"href":"https://github.com/mavenlink/oauth2/pull/1#discussion_r23326359"},"pull_request":{"href":"https://api.github.com/repos/mavenlink/oauth2/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/mavenlink/oauth2/pulls/1","id":27700128,"html_url":"https://github.com/mavenlink/oauth2/pull/1","diff_url":"https://github.com/mavenlink/oauth2/pull/1.diff","patch_url":"https://github.com/mavenlink/oauth2/pull/1.patch","issue_url":"https://api.github.com/repos/mavenlink/oauth2/issues/1","number":1,"state":"open","locked":false,"title":"to see if the infinity sign is returned in google error","user":{"login":"diclophis","id":10122,"avatar_url":"https://avatars.githubusercontent.com/u/10122?v=3","gravatar_id":"","url":"https://api.github.com/users/diclophis","html_url":"https://github.com/diclophis","followers_url":"https://api.github.com/users/diclophis/followers","following_url":"https://api.github.com/users/diclophis/following{/other_user}","gists_url":"https://api.github.com/users/diclophis/gists{/gist_id}","starred_url":"https://api.github.com/users/diclophis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diclophis/subscriptions","organizations_url":"https://api.github.com/users/diclophis/orgs","repos_url":"https://api.github.com/users/diclophis/repos","events_url":"https://api.github.com/users/diclophis/events{/privacy}","received_events_url":"https://api.github.com/users/diclophis/received_events","type":"User","site_admin":false},"body":"https://github.com/intridea/oauth2/issues/155\r\n\r\n    Error message\r\n    Encoding::CompatibilityError: incompatible character encodings: UTF-8 and ASCII-8BIT\r\n    \r\n    Stack trace (show Rails)\r\n    …1/bundler/gems/oauth2-7018e7af6655/lib/oauth2/\r\n    error.rb:  21:in `join'","created_at":"2015-01-20T18:25:35Z","updated_at":"2015-01-21T19:26:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f97fcc6164aa6c0b5d50da4a6a40558e43986c44","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mavenlink/oauth2/pulls/1/commits","review_comments_url":"https://api.github.com/repos/mavenlink/oauth2/pulls/1/comments","review_comment_url":"https://api.github.com/repos/mavenlink/oauth2/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mavenlink/oauth2/issues/1/comments","statuses_url":"https://api.github.com/repos/mavenlink/oauth2/statuses/d21b85841594d7218944bca1b4e529fa535a8583","head":{"label":"mavenlink:patch-utf-8-munge","ref":"patch-utf-8-munge","sha":"d21b85841594d7218944bca1b4e529fa535a8583","user":{"login":"mavenlink","id":52609,"avatar_url":"https://avatars.githubusercontent.com/u/52609?v=3","gravatar_id":"","url":"https://api.github.com/users/mavenlink","html_url":"https://github.com/mavenlink","followers_url":"https://api.github.com/users/mavenlink/followers","following_url":"https://api.github.com/users/mavenlink/following{/other_user}","gists_url":"https://api.github.com/users/mavenlink/gists{/gist_id}","starred_url":"https://api.github.com/users/mavenlink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mavenlink/subscriptions","organizations_url":"https://api.github.com/users/mavenlink/orgs","repos_url":"https://api.github.com/users/mavenlink/repos","events_url":"https://api.github.com/users/mavenlink/events{/privacy}","received_events_url":"https://api.github.com/users/mavenlink/received_events","type":"Organization","site_admin":false},"repo":{"id":12790913,"name":"oauth2","full_name":"mavenlink/oauth2","owner":{"login":"mavenlink","id":52609,"avatar_url":"https://avatars.githubusercontent.com/u/52609?v=3","gravatar_id":"","url":"https://api.github.com/users/mavenlink","html_url":"https://github.com/mavenlink","followers_url":"https://api.github.com/users/mavenlink/followers","following_url":"https://api.github.com/users/mavenlink/following{/other_user}","gists_url":"https://api.github.com/users/mavenlink/gists{/gist_id}","starred_url":"https://api.github.com/users/mavenlink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mavenlink/subscriptions","organizations_url":"https://api.github.com/users/mavenlink/orgs","repos_url":"https://api.github.com/users/mavenlink/repos","events_url":"https://api.github.com/users/mavenlink/events{/privacy}","received_events_url":"https://api.github.com/users/mavenlink/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mavenlink/oauth2","description":"A Ruby wrapper for the OAuth 2.0 protocol.","fork":true,"url":"https://api.github.com/repos/mavenlink/oauth2","forks_url":"https://api.github.com/repos/mavenlink/oauth2/forks","keys_url":"https://api.github.com/repos/mavenlink/oauth2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mavenlink/oauth2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mavenlink/oauth2/teams","hooks_url":"https://api.github.com/repos/mavenlink/oauth2/hooks","issue_events_url":"https://api.github.com/repos/mavenlink/oauth2/issues/events{/number}","events_url":"https://api.github.com/repos/mavenlink/oauth2/events","assignees_url":"https://api.github.com/repos/mavenlink/oauth2/assignees{/user}","branches_url":"https://api.github.com/repos/mavenlink/oauth2/branches{/branch}","tags_url":"https://api.github.com/repos/mavenlink/oauth2/tags","blobs_url":"https://api.github.com/repos/mavenlink/oauth2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mavenlink/oauth2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mavenlink/oauth2/git/refs{/sha}","trees_url":"https://api.github.com/repos/mavenlink/oauth2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mavenlink/oauth2/statuses/{sha}","languages_url":"https://api.github.com/repos/mavenlink/oauth2/languages","stargazers_url":"https://api.github.com/repos/mavenlink/oauth2/stargazers","contributors_url":"https://api.github.com/repos/mavenlink/oauth2/contributors","subscribers_url":"https://api.github.com/repos/mavenlink/oauth2/subscribers","subscription_url":"https://api.github.com/repos/mavenlink/oauth2/subscription","commits_url":"https://api.github.com/repos/mavenlink/oauth2/commits{/sha}","git_commits_url":"https://api.github.com/repos/mavenlink/oauth2/git/commits{/sha}","comments_url":"https://api.github.com/repos/mavenlink/oauth2/comments{/number}","issue_comment_url":"https://api.github.com/repos/mavenlink/oauth2/issues/comments/{number}","contents_url":"https://api.github.com/repos/mavenlink/oauth2/contents/{+path}","compare_url":"https://api.github.com/repos/mavenlink/oauth2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mavenlink/oauth2/merges","archive_url":"https://api.github.com/repos/mavenlink/oauth2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mavenlink/oauth2/downloads","issues_url":"https://api.github.com/repos/mavenlink/oauth2/issues{/number}","pulls_url":"https://api.github.com/repos/mavenlink/oauth2/pulls{/number}","milestones_url":"https://api.github.com/repos/mavenlink/oauth2/milestones{/number}","notifications_url":"https://api.github.com/repos/mavenlink/oauth2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mavenlink/oauth2/labels{/name}","releases_url":"https://api.github.com/repos/mavenlink/oauth2/releases{/id}","created_at":"2013-09-12T18:08:59Z","updated_at":"2014-05-16T17:43:43Z","pushed_at":"2015-01-20T18:23:17Z","git_url":"git://github.com/mavenlink/oauth2.git","ssh_url":"git@github.com:mavenlink/oauth2.git","clone_url":"https://github.com/mavenlink/oauth2.git","svn_url":"https://github.com/mavenlink/oauth2","homepage":"http://rdoc.info/projects/intridea/oauth2","size":418,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"mavenlink:jwt_fix","ref":"jwt_fix","sha":"7018e7af66553c7b7bcf33b96d23eebd202482dd","user":{"login":"mavenlink","id":52609,"avatar_url":"https://avatars.githubusercontent.com/u/52609?v=3","gravatar_id":"","url":"https://api.github.com/users/mavenlink","html_url":"https://github.com/mavenlink","followers_url":"https://api.github.com/users/mavenlink/followers","following_url":"https://api.github.com/users/mavenlink/following{/other_user}","gists_url":"https://api.github.com/users/mavenlink/gists{/gist_id}","starred_url":"https://api.github.com/users/mavenlink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mavenlink/subscriptions","organizations_url":"https://api.github.com/users/mavenlink/orgs","repos_url":"https://api.github.com/users/mavenlink/repos","events_url":"https://api.github.com/users/mavenlink/events{/privacy}","received_events_url":"https://api.github.com/users/mavenlink/received_events","type":"Organization","site_admin":false},"repo":{"id":12790913,"name":"oauth2","full_name":"mavenlink/oauth2","owner":{"login":"mavenlink","id":52609,"avatar_url":"https://avatars.githubusercontent.com/u/52609?v=3","gravatar_id":"","url":"https://api.github.com/users/mavenlink","html_url":"https://github.com/mavenlink","followers_url":"https://api.github.com/users/mavenlink/followers","following_url":"https://api.github.com/users/mavenlink/following{/other_user}","gists_url":"https://api.github.com/users/mavenlink/gists{/gist_id}","starred_url":"https://api.github.com/users/mavenlink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mavenlink/subscriptions","organizations_url":"https://api.github.com/users/mavenlink/orgs","repos_url":"https://api.github.com/users/mavenlink/repos","events_url":"https://api.github.com/users/mavenlink/events{/privacy}","received_events_url":"https://api.github.com/users/mavenlink/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mavenlink/oauth2","description":"A Ruby wrapper for the OAuth 2.0 protocol.","fork":true,"url":"https://api.github.com/repos/mavenlink/oauth2","forks_url":"https://api.github.com/repos/mavenlink/oauth2/forks","keys_url":"https://api.github.com/repos/mavenlink/oauth2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mavenlink/oauth2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mavenlink/oauth2/teams","hooks_url":"https://api.github.com/repos/mavenlink/oauth2/hooks","issue_events_url":"https://api.github.com/repos/mavenlink/oauth2/issues/events{/number}","events_url":"https://api.github.com/repos/mavenlink/oauth2/events","assignees_url":"https://api.github.com/repos/mavenlink/oauth2/assignees{/user}","branches_url":"https://api.github.com/repos/mavenlink/oauth2/branches{/branch}","tags_url":"https://api.github.com/repos/mavenlink/oauth2/tags","blobs_url":"https://api.github.com/repos/mavenlink/oauth2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mavenlink/oauth2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mavenlink/oauth2/git/refs{/sha}","trees_url":"https://api.github.com/repos/mavenlink/oauth2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mavenlink/oauth2/statuses/{sha}","languages_url":"https://api.github.com/repos/mavenlink/oauth2/languages","stargazers_url":"https://api.github.com/repos/mavenlink/oauth2/stargazers","contributors_url":"https://api.github.com/repos/mavenlink/oauth2/contributors","subscribers_url":"https://api.github.com/repos/mavenlink/oauth2/subscribers","subscription_url":"https://api.github.com/repos/mavenlink/oauth2/subscription","commits_url":"https://api.github.com/repos/mavenlink/oauth2/commits{/sha}","git_commits_url":"https://api.github.com/repos/mavenlink/oauth2/git/commits{/sha}","comments_url":"https://api.github.com/repos/mavenlink/oauth2/comments{/number}","issue_comment_url":"https://api.github.com/repos/mavenlink/oauth2/issues/comments/{number}","contents_url":"https://api.github.com/repos/mavenlink/oauth2/contents/{+path}","compare_url":"https://api.github.com/repos/mavenlink/oauth2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mavenlink/oauth2/merges","archive_url":"https://api.github.com/repos/mavenlink/oauth2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mavenlink/oauth2/downloads","issues_url":"https://api.github.com/repos/mavenlink/oauth2/issues{/number}","pulls_url":"https://api.github.com/repos/mavenlink/oauth2/pulls{/number}","milestones_url":"https://api.github.com/repos/mavenlink/oauth2/milestones{/number}","notifications_url":"https://api.github.com/repos/mavenlink/oauth2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mavenlink/oauth2/labels{/name}","releases_url":"https://api.github.com/repos/mavenlink/oauth2/releases{/id}","created_at":"2013-09-12T18:08:59Z","updated_at":"2014-05-16T17:43:43Z","pushed_at":"2015-01-20T18:23:17Z","git_url":"git://github.com/mavenlink/oauth2.git","ssh_url":"git@github.com:mavenlink/oauth2.git","clone_url":"https://github.com/mavenlink/oauth2.git","svn_url":"https://github.com/mavenlink/oauth2","homepage":"http://rdoc.info/projects/intridea/oauth2","size":418,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mavenlink/oauth2/pulls/1"},"html":{"href":"https://github.com/mavenlink/oauth2/pull/1"},"issue":{"href":"https://api.github.com/repos/mavenlink/oauth2/issues/1"},"comments":{"href":"https://api.github.com/repos/mavenlink/oauth2/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/mavenlink/oauth2/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/mavenlink/oauth2/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mavenlink/oauth2/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/mavenlink/oauth2/statuses/d21b85841594d7218944bca1b4e529fa535a8583"}}}}