{"action":"opened","number":4553,"pull_request":{"url":"https://api.github.com/repos/godotengine/godot/pulls/4553","id":68997552,"html_url":"https://github.com/godotengine/godot/pull/4553","diff_url":"https://github.com/godotengine/godot/pull/4553.diff","patch_url":"https://github.com/godotengine/godot/pull/4553.patch","issue_url":"https://api.github.com/repos/godotengine/godot/issues/4553","number":4553,"state":"open","locked":false,"title":"fix percent decode utf8 error","user":{"login":"AlexHolly","id":4741886,"avatar_url":"https://avatars.githubusercontent.com/u/4741886?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexHolly","html_url":"https://github.com/AlexHolly","followers_url":"https://api.github.com/users/AlexHolly/followers","following_url":"https://api.github.com/users/AlexHolly/following{/other_user}","gists_url":"https://api.github.com/users/AlexHolly/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexHolly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexHolly/subscriptions","organizations_url":"https://api.github.com/users/AlexHolly/orgs","repos_url":"https://api.github.com/users/AlexHolly/repos","events_url":"https://api.github.com/users/AlexHolly/events{/privacy}","received_events_url":"https://api.github.com/users/AlexHolly/received_events","type":"User","site_admin":false},"body":"closes #4066\r\n\r\nTested with\r\n\r\n```\r\nfunc _ready():\r\n\tvar s = \"aÖÜÄx\"\r\n\tprint(s)\r\n\tvar de = s.percent_decode() #error\r\n\tprint(s)\r\n\tprint(de)\r\n\tvar dict = {}\r\n\tdict[de]=\"test\"\r\n\tprint(dict)\r\n\t\r\n\tprint(\"----\")\r\n\tvar se = s.percent_encode()\r\n\tprint(se)\r\n\tde = se.percent_decode()\r\n\tprint(s)\r\n\tprint(de)\r\n\t\r\n\tprint(\"----\")\r\n\tvar s = \"ax\"\r\n\tprint(s)\r\n\tde = s.percent_decode()\r\n\tprint(de)\r\n\tde = de.percent_encode()\r\n\tprint(de)\r\n\tde = de.percent_decode()\r\n\tprint(s)\r\n\tprint(de)\r\n```","created_at":"2016-05-05T11:56:01Z","updated_at":"2016-05-05T11:56:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/godotengine/godot/pulls/4553/commits","review_comments_url":"https://api.github.com/repos/godotengine/godot/pulls/4553/comments","review_comment_url":"https://api.github.com/repos/godotengine/godot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/4553/comments","statuses_url":"https://api.github.com/repos/godotengine/godot/statuses/f86cffd8e6cacb09cf59c27423c7e82c0e024aaa","head":{"label":"AlexHolly:fix-percent-decode-utf8","ref":"fix-percent-decode-utf8","sha":"f86cffd8e6cacb09cf59c27423c7e82c0e024aaa","user":{"login":"AlexHolly","id":4741886,"avatar_url":"https://avatars.githubusercontent.com/u/4741886?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexHolly","html_url":"https://github.com/AlexHolly","followers_url":"https://api.github.com/users/AlexHolly/followers","following_url":"https://api.github.com/users/AlexHolly/following{/other_user}","gists_url":"https://api.github.com/users/AlexHolly/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexHolly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexHolly/subscriptions","organizations_url":"https://api.github.com/users/AlexHolly/orgs","repos_url":"https://api.github.com/users/AlexHolly/repos","events_url":"https://api.github.com/users/AlexHolly/events{/privacy}","received_events_url":"https://api.github.com/users/AlexHolly/received_events","type":"User","site_admin":false},"repo":{"id":44016640,"name":"godot","full_name":"AlexHolly/godot","owner":{"login":"AlexHolly","id":4741886,"avatar_url":"https://avatars.githubusercontent.com/u/4741886?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexHolly","html_url":"https://github.com/AlexHolly","followers_url":"https://api.github.com/users/AlexHolly/followers","following_url":"https://api.github.com/users/AlexHolly/following{/other_user}","gists_url":"https://api.github.com/users/AlexHolly/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexHolly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexHolly/subscriptions","organizations_url":"https://api.github.com/users/AlexHolly/orgs","repos_url":"https://api.github.com/users/AlexHolly/repos","events_url":"https://api.github.com/users/AlexHolly/events{/privacy}","received_events_url":"https://api.github.com/users/AlexHolly/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AlexHolly/godot","description":"Godot Game Engine","fork":true,"url":"https://api.github.com/repos/AlexHolly/godot","forks_url":"https://api.github.com/repos/AlexHolly/godot/forks","keys_url":"https://api.github.com/repos/AlexHolly/godot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlexHolly/godot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlexHolly/godot/teams","hooks_url":"https://api.github.com/repos/AlexHolly/godot/hooks","issue_events_url":"https://api.github.com/repos/AlexHolly/godot/issues/events{/number}","events_url":"https://api.github.com/repos/AlexHolly/godot/events","assignees_url":"https://api.github.com/repos/AlexHolly/godot/assignees{/user}","branches_url":"https://api.github.com/repos/AlexHolly/godot/branches{/branch}","tags_url":"https://api.github.com/repos/AlexHolly/godot/tags","blobs_url":"https://api.github.com/repos/AlexHolly/godot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlexHolly/godot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlexHolly/godot/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlexHolly/godot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlexHolly/godot/statuses/{sha}","languages_url":"https://api.github.com/repos/AlexHolly/godot/languages","stargazers_url":"https://api.github.com/repos/AlexHolly/godot/stargazers","contributors_url":"https://api.github.com/repos/AlexHolly/godot/contributors","subscribers_url":"https://api.github.com/repos/AlexHolly/godot/subscribers","subscription_url":"https://api.github.com/repos/AlexHolly/godot/subscription","commits_url":"https://api.github.com/repos/AlexHolly/godot/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlexHolly/godot/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlexHolly/godot/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlexHolly/godot/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlexHolly/godot/contents/{+path}","compare_url":"https://api.github.com/repos/AlexHolly/godot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlexHolly/godot/merges","archive_url":"https://api.github.com/repos/AlexHolly/godot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlexHolly/godot/downloads","issues_url":"https://api.github.com/repos/AlexHolly/godot/issues{/number}","pulls_url":"https://api.github.com/repos/AlexHolly/godot/pulls{/number}","milestones_url":"https://api.github.com/repos/AlexHolly/godot/milestones{/number}","notifications_url":"https://api.github.com/repos/AlexHolly/godot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlexHolly/godot/labels{/name}","releases_url":"https://api.github.com/repos/AlexHolly/godot/releases{/id}","deployments_url":"https://api.github.com/repos/AlexHolly/godot/deployments","created_at":"2015-10-10T15:42:30Z","updated_at":"2016-02-14T20:10:52Z","pushed_at":"2016-05-05T11:50:00Z","git_url":"git://github.com/AlexHolly/godot.git","ssh_url":"git@github.com:AlexHolly/godot.git","clone_url":"https://github.com/AlexHolly/godot.git","svn_url":"https://github.com/AlexHolly/godot","homepage":null,"size":80858,"stargazers_count":0,"watchers_count":0,"language":"C","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":"godotengine:master","ref":"master","sha":"9487a9b3c25f23942561eba20edce24f4be6f148","user":{"login":"godotengine","id":6318500,"avatar_url":"https://avatars.githubusercontent.com/u/6318500?v=3","gravatar_id":"","url":"https://api.github.com/users/godotengine","html_url":"https://github.com/godotengine","followers_url":"https://api.github.com/users/godotengine/followers","following_url":"https://api.github.com/users/godotengine/following{/other_user}","gists_url":"https://api.github.com/users/godotengine/gists{/gist_id}","starred_url":"https://api.github.com/users/godotengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godotengine/subscriptions","organizations_url":"https://api.github.com/users/godotengine/orgs","repos_url":"https://api.github.com/users/godotengine/repos","events_url":"https://api.github.com/users/godotengine/events{/privacy}","received_events_url":"https://api.github.com/users/godotengine/received_events","type":"Organization","site_admin":false},"repo":{"id":15634981,"name":"godot","full_name":"godotengine/godot","owner":{"login":"godotengine","id":6318500,"avatar_url":"https://avatars.githubusercontent.com/u/6318500?v=3","gravatar_id":"","url":"https://api.github.com/users/godotengine","html_url":"https://github.com/godotengine","followers_url":"https://api.github.com/users/godotengine/followers","following_url":"https://api.github.com/users/godotengine/following{/other_user}","gists_url":"https://api.github.com/users/godotengine/gists{/gist_id}","starred_url":"https://api.github.com/users/godotengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godotengine/subscriptions","organizations_url":"https://api.github.com/users/godotengine/orgs","repos_url":"https://api.github.com/users/godotengine/repos","events_url":"https://api.github.com/users/godotengine/events{/privacy}","received_events_url":"https://api.github.com/users/godotengine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/godotengine/godot","description":"Godot Game Engine","fork":false,"url":"https://api.github.com/repos/godotengine/godot","forks_url":"https://api.github.com/repos/godotengine/godot/forks","keys_url":"https://api.github.com/repos/godotengine/godot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/godotengine/godot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/godotengine/godot/teams","hooks_url":"https://api.github.com/repos/godotengine/godot/hooks","issue_events_url":"https://api.github.com/repos/godotengine/godot/issues/events{/number}","events_url":"https://api.github.com/repos/godotengine/godot/events","assignees_url":"https://api.github.com/repos/godotengine/godot/assignees{/user}","branches_url":"https://api.github.com/repos/godotengine/godot/branches{/branch}","tags_url":"https://api.github.com/repos/godotengine/godot/tags","blobs_url":"https://api.github.com/repos/godotengine/godot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/godotengine/godot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/godotengine/godot/git/refs{/sha}","trees_url":"https://api.github.com/repos/godotengine/godot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/godotengine/godot/statuses/{sha}","languages_url":"https://api.github.com/repos/godotengine/godot/languages","stargazers_url":"https://api.github.com/repos/godotengine/godot/stargazers","contributors_url":"https://api.github.com/repos/godotengine/godot/contributors","subscribers_url":"https://api.github.com/repos/godotengine/godot/subscribers","subscription_url":"https://api.github.com/repos/godotengine/godot/subscription","commits_url":"https://api.github.com/repos/godotengine/godot/commits{/sha}","git_commits_url":"https://api.github.com/repos/godotengine/godot/git/commits{/sha}","comments_url":"https://api.github.com/repos/godotengine/godot/comments{/number}","issue_comment_url":"https://api.github.com/repos/godotengine/godot/issues/comments{/number}","contents_url":"https://api.github.com/repos/godotengine/godot/contents/{+path}","compare_url":"https://api.github.com/repos/godotengine/godot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/godotengine/godot/merges","archive_url":"https://api.github.com/repos/godotengine/godot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/godotengine/godot/downloads","issues_url":"https://api.github.com/repos/godotengine/godot/issues{/number}","pulls_url":"https://api.github.com/repos/godotengine/godot/pulls{/number}","milestones_url":"https://api.github.com/repos/godotengine/godot/milestones{/number}","notifications_url":"https://api.github.com/repos/godotengine/godot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/godotengine/godot/labels{/name}","releases_url":"https://api.github.com/repos/godotengine/godot/releases{/id}","deployments_url":"https://api.github.com/repos/godotengine/godot/deployments","created_at":"2014-01-04T16:05:36Z","updated_at":"2016-05-05T06:47:58Z","pushed_at":"2016-05-05T09:54:08Z","git_url":"git://github.com/godotengine/godot.git","ssh_url":"git@github.com:godotengine/godot.git","clone_url":"https://github.com/godotengine/godot.git","svn_url":"https://github.com/godotengine/godot","homepage":"http://www.godotengine.org","size":121921,"stargazers_count":5722,"watchers_count":5722,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1518,"mirror_url":null,"open_issues_count":1033,"forks":1518,"open_issues":1033,"watchers":5722,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/godotengine/godot/pulls/4553"},"html":{"href":"https://github.com/godotengine/godot/pull/4553"},"issue":{"href":"https://api.github.com/repos/godotengine/godot/issues/4553"},"comments":{"href":"https://api.github.com/repos/godotengine/godot/issues/4553/comments"},"review_comments":{"href":"https://api.github.com/repos/godotengine/godot/pulls/4553/comments"},"review_comment":{"href":"https://api.github.com/repos/godotengine/godot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/godotengine/godot/pulls/4553/commits"},"statuses":{"href":"https://api.github.com/repos/godotengine/godot/statuses/f86cffd8e6cacb09cf59c27423c7e82c0e024aaa"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":5,"changed_files":1}}