{"action":"opened","number":60,"pull_request":{"url":"https://api.github.com/repos/dddomodossola/remi/pulls/60","id":50275912,"html_url":"https://github.com/dddomodossola/remi/pull/60","diff_url":"https://github.com/dddomodossola/remi/pull/60.diff","patch_url":"https://github.com/dddomodossola/remi/pull/60.patch","issue_url":"https://api.github.com/repos/dddomodossola/remi/issues/60","number":60,"state":"open","locked":false,"title":"UTF8 characters were not counted correctly, text was lost","user":{"login":"awesomebytes","id":1721716,"avatar_url":"https://avatars.githubusercontent.com/u/1721716?v=3","gravatar_id":"","url":"https://api.github.com/users/awesomebytes","html_url":"https://github.com/awesomebytes","followers_url":"https://api.github.com/users/awesomebytes/followers","following_url":"https://api.github.com/users/awesomebytes/following{/other_user}","gists_url":"https://api.github.com/users/awesomebytes/gists{/gist_id}","starred_url":"https://api.github.com/users/awesomebytes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awesomebytes/subscriptions","organizations_url":"https://api.github.com/users/awesomebytes/orgs","repos_url":"https://api.github.com/users/awesomebytes/repos","events_url":"https://api.github.com/users/awesomebytes/events{/privacy}","received_events_url":"https://api.github.com/users/awesomebytes/received_events","type":"User","site_admin":false},"body":"Every character occupies 2, actually. This fixes it.\r\n\r\nFound the corner case with the sentence:\r\n\r\n___ و من لا يريد ان ياخذ صوره معي!___ \r\n\r\nIf I tried to send it from a InputText to somewhere, the get_text function would give a shorter text.\r\n\r\nSorry about the commit messages, but I'm fixing this as I'm working in something that must be shipped as soon as possible.","created_at":"2015-11-10T16:28:35Z","updated_at":"2015-11-10T16:28:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dddomodossola/remi/pulls/60/commits","review_comments_url":"https://api.github.com/repos/dddomodossola/remi/pulls/60/comments","review_comment_url":"https://api.github.com/repos/dddomodossola/remi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dddomodossola/remi/issues/60/comments","statuses_url":"https://api.github.com/repos/dddomodossola/remi/statuses/51f378a7aa7c05f381b9012a476da72d201d6df3","head":{"label":"awesomebytes:complete_fix_utf8","ref":"complete_fix_utf8","sha":"51f378a7aa7c05f381b9012a476da72d201d6df3","user":{"login":"awesomebytes","id":1721716,"avatar_url":"https://avatars.githubusercontent.com/u/1721716?v=3","gravatar_id":"","url":"https://api.github.com/users/awesomebytes","html_url":"https://github.com/awesomebytes","followers_url":"https://api.github.com/users/awesomebytes/followers","following_url":"https://api.github.com/users/awesomebytes/following{/other_user}","gists_url":"https://api.github.com/users/awesomebytes/gists{/gist_id}","starred_url":"https://api.github.com/users/awesomebytes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awesomebytes/subscriptions","organizations_url":"https://api.github.com/users/awesomebytes/orgs","repos_url":"https://api.github.com/users/awesomebytes/repos","events_url":"https://api.github.com/users/awesomebytes/events{/privacy}","received_events_url":"https://api.github.com/users/awesomebytes/received_events","type":"User","site_admin":false},"repo":{"id":45910158,"name":"remi","full_name":"awesomebytes/remi","owner":{"login":"awesomebytes","id":1721716,"avatar_url":"https://avatars.githubusercontent.com/u/1721716?v=3","gravatar_id":"","url":"https://api.github.com/users/awesomebytes","html_url":"https://github.com/awesomebytes","followers_url":"https://api.github.com/users/awesomebytes/followers","following_url":"https://api.github.com/users/awesomebytes/following{/other_user}","gists_url":"https://api.github.com/users/awesomebytes/gists{/gist_id}","starred_url":"https://api.github.com/users/awesomebytes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awesomebytes/subscriptions","organizations_url":"https://api.github.com/users/awesomebytes/orgs","repos_url":"https://api.github.com/users/awesomebytes/repos","events_url":"https://api.github.com/users/awesomebytes/events{/privacy}","received_events_url":"https://api.github.com/users/awesomebytes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/awesomebytes/remi","description":"Python REMote Interface library. Platform independent. In less than 100 Kbytes, perfect for your diet.","fork":true,"url":"https://api.github.com/repos/awesomebytes/remi","forks_url":"https://api.github.com/repos/awesomebytes/remi/forks","keys_url":"https://api.github.com/repos/awesomebytes/remi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/awesomebytes/remi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/awesomebytes/remi/teams","hooks_url":"https://api.github.com/repos/awesomebytes/remi/hooks","issue_events_url":"https://api.github.com/repos/awesomebytes/remi/issues/events{/number}","events_url":"https://api.github.com/repos/awesomebytes/remi/events","assignees_url":"https://api.github.com/repos/awesomebytes/remi/assignees{/user}","branches_url":"https://api.github.com/repos/awesomebytes/remi/branches{/branch}","tags_url":"https://api.github.com/repos/awesomebytes/remi/tags","blobs_url":"https://api.github.com/repos/awesomebytes/remi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/awesomebytes/remi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/awesomebytes/remi/git/refs{/sha}","trees_url":"https://api.github.com/repos/awesomebytes/remi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/awesomebytes/remi/statuses/{sha}","languages_url":"https://api.github.com/repos/awesomebytes/remi/languages","stargazers_url":"https://api.github.com/repos/awesomebytes/remi/stargazers","contributors_url":"https://api.github.com/repos/awesomebytes/remi/contributors","subscribers_url":"https://api.github.com/repos/awesomebytes/remi/subscribers","subscription_url":"https://api.github.com/repos/awesomebytes/remi/subscription","commits_url":"https://api.github.com/repos/awesomebytes/remi/commits{/sha}","git_commits_url":"https://api.github.com/repos/awesomebytes/remi/git/commits{/sha}","comments_url":"https://api.github.com/repos/awesomebytes/remi/comments{/number}","issue_comment_url":"https://api.github.com/repos/awesomebytes/remi/issues/comments{/number}","contents_url":"https://api.github.com/repos/awesomebytes/remi/contents/{+path}","compare_url":"https://api.github.com/repos/awesomebytes/remi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/awesomebytes/remi/merges","archive_url":"https://api.github.com/repos/awesomebytes/remi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/awesomebytes/remi/downloads","issues_url":"https://api.github.com/repos/awesomebytes/remi/issues{/number}","pulls_url":"https://api.github.com/repos/awesomebytes/remi/pulls{/number}","milestones_url":"https://api.github.com/repos/awesomebytes/remi/milestones{/number}","notifications_url":"https://api.github.com/repos/awesomebytes/remi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/awesomebytes/remi/labels{/name}","releases_url":"https://api.github.com/repos/awesomebytes/remi/releases{/id}","created_at":"2015-11-10T12:22:25Z","updated_at":"2015-11-10T12:22:25Z","pushed_at":"2015-11-10T16:24:42Z","git_url":"git://github.com/awesomebytes/remi.git","ssh_url":"git@github.com:awesomebytes/remi.git","clone_url":"https://github.com/awesomebytes/remi.git","svn_url":"https://github.com/awesomebytes/remi","homepage":"","size":1263,"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":"dddomodossola:master","ref":"master","sha":"13c4d00222c9b1268ca7d1a2c206c7c5986364af","user":{"login":"dddomodossola","id":341675,"avatar_url":"https://avatars.githubusercontent.com/u/341675?v=3","gravatar_id":"","url":"https://api.github.com/users/dddomodossola","html_url":"https://github.com/dddomodossola","followers_url":"https://api.github.com/users/dddomodossola/followers","following_url":"https://api.github.com/users/dddomodossola/following{/other_user}","gists_url":"https://api.github.com/users/dddomodossola/gists{/gist_id}","starred_url":"https://api.github.com/users/dddomodossola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dddomodossola/subscriptions","organizations_url":"https://api.github.com/users/dddomodossola/orgs","repos_url":"https://api.github.com/users/dddomodossola/repos","events_url":"https://api.github.com/users/dddomodossola/events{/privacy}","received_events_url":"https://api.github.com/users/dddomodossola/received_events","type":"User","site_admin":false},"repo":{"id":17938217,"name":"remi","full_name":"dddomodossola/remi","owner":{"login":"dddomodossola","id":341675,"avatar_url":"https://avatars.githubusercontent.com/u/341675?v=3","gravatar_id":"","url":"https://api.github.com/users/dddomodossola","html_url":"https://github.com/dddomodossola","followers_url":"https://api.github.com/users/dddomodossola/followers","following_url":"https://api.github.com/users/dddomodossola/following{/other_user}","gists_url":"https://api.github.com/users/dddomodossola/gists{/gist_id}","starred_url":"https://api.github.com/users/dddomodossola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dddomodossola/subscriptions","organizations_url":"https://api.github.com/users/dddomodossola/orgs","repos_url":"https://api.github.com/users/dddomodossola/repos","events_url":"https://api.github.com/users/dddomodossola/events{/privacy}","received_events_url":"https://api.github.com/users/dddomodossola/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dddomodossola/remi","description":"Python REMote Interface library. Platform independent. In less than 100 Kbytes, perfect for your diet.","fork":false,"url":"https://api.github.com/repos/dddomodossola/remi","forks_url":"https://api.github.com/repos/dddomodossola/remi/forks","keys_url":"https://api.github.com/repos/dddomodossola/remi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dddomodossola/remi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dddomodossola/remi/teams","hooks_url":"https://api.github.com/repos/dddomodossola/remi/hooks","issue_events_url":"https://api.github.com/repos/dddomodossola/remi/issues/events{/number}","events_url":"https://api.github.com/repos/dddomodossola/remi/events","assignees_url":"https://api.github.com/repos/dddomodossola/remi/assignees{/user}","branches_url":"https://api.github.com/repos/dddomodossola/remi/branches{/branch}","tags_url":"https://api.github.com/repos/dddomodossola/remi/tags","blobs_url":"https://api.github.com/repos/dddomodossola/remi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dddomodossola/remi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dddomodossola/remi/git/refs{/sha}","trees_url":"https://api.github.com/repos/dddomodossola/remi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dddomodossola/remi/statuses/{sha}","languages_url":"https://api.github.com/repos/dddomodossola/remi/languages","stargazers_url":"https://api.github.com/repos/dddomodossola/remi/stargazers","contributors_url":"https://api.github.com/repos/dddomodossola/remi/contributors","subscribers_url":"https://api.github.com/repos/dddomodossola/remi/subscribers","subscription_url":"https://api.github.com/repos/dddomodossola/remi/subscription","commits_url":"https://api.github.com/repos/dddomodossola/remi/commits{/sha}","git_commits_url":"https://api.github.com/repos/dddomodossola/remi/git/commits{/sha}","comments_url":"https://api.github.com/repos/dddomodossola/remi/comments{/number}","issue_comment_url":"https://api.github.com/repos/dddomodossola/remi/issues/comments{/number}","contents_url":"https://api.github.com/repos/dddomodossola/remi/contents/{+path}","compare_url":"https://api.github.com/repos/dddomodossola/remi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dddomodossola/remi/merges","archive_url":"https://api.github.com/repos/dddomodossola/remi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dddomodossola/remi/downloads","issues_url":"https://api.github.com/repos/dddomodossola/remi/issues{/number}","pulls_url":"https://api.github.com/repos/dddomodossola/remi/pulls{/number}","milestones_url":"https://api.github.com/repos/dddomodossola/remi/milestones{/number}","notifications_url":"https://api.github.com/repos/dddomodossola/remi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dddomodossola/remi/labels{/name}","releases_url":"https://api.github.com/repos/dddomodossola/remi/releases{/id}","created_at":"2014-03-20T10:12:11Z","updated_at":"2015-11-10T15:37:52Z","pushed_at":"2015-11-10T12:37:08Z","git_url":"git://github.com/dddomodossola/remi.git","ssh_url":"git@github.com:dddomodossola/remi.git","clone_url":"https://github.com/dddomodossola/remi.git","svn_url":"https://github.com/dddomodossola/remi","homepage":"","size":1263,"stargazers_count":247,"watchers_count":247,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":15,"forks":11,"open_issues":15,"watchers":247,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dddomodossola/remi/pulls/60"},"html":{"href":"https://github.com/dddomodossola/remi/pull/60"},"issue":{"href":"https://api.github.com/repos/dddomodossola/remi/issues/60"},"comments":{"href":"https://api.github.com/repos/dddomodossola/remi/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/dddomodossola/remi/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/dddomodossola/remi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dddomodossola/remi/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/dddomodossola/remi/statuses/51f378a7aa7c05f381b9012a476da72d201d6df3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":23,"deletions":5,"changed_files":1}}