{"action":"created","comment":{"url":"https://api.github.com/repos/lmsgit/lms/pulls/comments/46616521","id":46616521,"diff_hunk":"@@ -29,6 +29,8 @@ use Getopt::Long;\n use vars qw($configfile $quiet $help $version $update $fetch $list $merge $unique_city_matches);\n use Cwd;\n use LWP::UserAgent;\n+use utf8;\n+use open qw( :encoding(utf-8) :std );","path":"bin/lms-teryt","position":5,"original_position":5,"commit_id":"d98cc5be2b427694903c959ef938f28c534e8677","original_commit_id":"d98cc5be2b427694903c959ef938f28c534e8677","user":{"login":"nicraMarcin","id":1545069,"avatar_url":"https://avatars.githubusercontent.com/u/1545069?v=3","gravatar_id":"","url":"https://api.github.com/users/nicraMarcin","html_url":"https://github.com/nicraMarcin","followers_url":"https://api.github.com/users/nicraMarcin/followers","following_url":"https://api.github.com/users/nicraMarcin/following{/other_user}","gists_url":"https://api.github.com/users/nicraMarcin/gists{/gist_id}","starred_url":"https://api.github.com/users/nicraMarcin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicraMarcin/subscriptions","organizations_url":"https://api.github.com/users/nicraMarcin/orgs","repos_url":"https://api.github.com/users/nicraMarcin/repos","events_url":"https://api.github.com/users/nicraMarcin/events{/privacy}","received_events_url":"https://api.github.com/users/nicraMarcin/received_events","type":"User","site_admin":false},"body":"Tu nie trzeba tak długo. \r\nWystarczy :\r\nuse encoding \"utf-8\";","created_at":"2015-12-03T21:40:26Z","updated_at":"2015-12-03T21:40:26Z","html_url":"https://github.com/lmsgit/lms/pull/468#discussion_r46616521","pull_request_url":"https://api.github.com/repos/lmsgit/lms/pulls/468","_links":{"self":{"href":"https://api.github.com/repos/lmsgit/lms/pulls/comments/46616521"},"html":{"href":"https://github.com/lmsgit/lms/pull/468#discussion_r46616521"},"pull_request":{"href":"https://api.github.com/repos/lmsgit/lms/pulls/468"}}},"pull_request":{"url":"https://api.github.com/repos/lmsgit/lms/pulls/468","id":52574038,"html_url":"https://github.com/lmsgit/lms/pull/468","diff_url":"https://github.com/lmsgit/lms/pull/468.diff","patch_url":"https://github.com/lmsgit/lms/pull/468.patch","issue_url":"https://api.github.com/repos/lmsgit/lms/issues/468","number":468,"state":"open","locked":false,"title":"Fixes problems with UTF-8 encoding of data being insert to database b…","user":{"login":"maciejlew","id":3950004,"avatar_url":"https://avatars.githubusercontent.com/u/3950004?v=3","gravatar_id":"","url":"https://api.github.com/users/maciejlew","html_url":"https://github.com/maciejlew","followers_url":"https://api.github.com/users/maciejlew/followers","following_url":"https://api.github.com/users/maciejlew/following{/other_user}","gists_url":"https://api.github.com/users/maciejlew/gists{/gist_id}","starred_url":"https://api.github.com/users/maciejlew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maciejlew/subscriptions","organizations_url":"https://api.github.com/users/maciejlew/orgs","repos_url":"https://api.github.com/users/maciejlew/repos","events_url":"https://api.github.com/users/maciejlew/events{/privacy}","received_events_url":"https://api.github.com/users/maciejlew/received_events","type":"User","site_admin":false},"body":"…y lms-teryt script","created_at":"2015-12-03T18:39:43Z","updated_at":"2015-12-03T21:40:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"144673be434b187974bfb72f51f4173f36a417bf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lmsgit/lms/pulls/468/commits","review_comments_url":"https://api.github.com/repos/lmsgit/lms/pulls/468/comments","review_comment_url":"https://api.github.com/repos/lmsgit/lms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lmsgit/lms/issues/468/comments","statuses_url":"https://api.github.com/repos/lmsgit/lms/statuses/d98cc5be2b427694903c959ef938f28c534e8677","head":{"label":"maciejlew:master","ref":"master","sha":"d98cc5be2b427694903c959ef938f28c534e8677","user":{"login":"maciejlew","id":3950004,"avatar_url":"https://avatars.githubusercontent.com/u/3950004?v=3","gravatar_id":"","url":"https://api.github.com/users/maciejlew","html_url":"https://github.com/maciejlew","followers_url":"https://api.github.com/users/maciejlew/followers","following_url":"https://api.github.com/users/maciejlew/following{/other_user}","gists_url":"https://api.github.com/users/maciejlew/gists{/gist_id}","starred_url":"https://api.github.com/users/maciejlew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maciejlew/subscriptions","organizations_url":"https://api.github.com/users/maciejlew/orgs","repos_url":"https://api.github.com/users/maciejlew/repos","events_url":"https://api.github.com/users/maciejlew/events{/privacy}","received_events_url":"https://api.github.com/users/maciejlew/received_events","type":"User","site_admin":false},"repo":{"id":9583924,"name":"lms","full_name":"maciejlew/lms","owner":{"login":"maciejlew","id":3950004,"avatar_url":"https://avatars.githubusercontent.com/u/3950004?v=3","gravatar_id":"","url":"https://api.github.com/users/maciejlew","html_url":"https://github.com/maciejlew","followers_url":"https://api.github.com/users/maciejlew/followers","following_url":"https://api.github.com/users/maciejlew/following{/other_user}","gists_url":"https://api.github.com/users/maciejlew/gists{/gist_id}","starred_url":"https://api.github.com/users/maciejlew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maciejlew/subscriptions","organizations_url":"https://api.github.com/users/maciejlew/orgs","repos_url":"https://api.github.com/users/maciejlew/repos","events_url":"https://api.github.com/users/maciejlew/events{/privacy}","received_events_url":"https://api.github.com/users/maciejlew/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maciejlew/lms","description":"Lan Management System (LMS) public GIT repo","fork":true,"url":"https://api.github.com/repos/maciejlew/lms","forks_url":"https://api.github.com/repos/maciejlew/lms/forks","keys_url":"https://api.github.com/repos/maciejlew/lms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maciejlew/lms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maciejlew/lms/teams","hooks_url":"https://api.github.com/repos/maciejlew/lms/hooks","issue_events_url":"https://api.github.com/repos/maciejlew/lms/issues/events{/number}","events_url":"https://api.github.com/repos/maciejlew/lms/events","assignees_url":"https://api.github.com/repos/maciejlew/lms/assignees{/user}","branches_url":"https://api.github.com/repos/maciejlew/lms/branches{/branch}","tags_url":"https://api.github.com/repos/maciejlew/lms/tags","blobs_url":"https://api.github.com/repos/maciejlew/lms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maciejlew/lms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maciejlew/lms/git/refs{/sha}","trees_url":"https://api.github.com/repos/maciejlew/lms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maciejlew/lms/statuses/{sha}","languages_url":"https://api.github.com/repos/maciejlew/lms/languages","stargazers_url":"https://api.github.com/repos/maciejlew/lms/stargazers","contributors_url":"https://api.github.com/repos/maciejlew/lms/contributors","subscribers_url":"https://api.github.com/repos/maciejlew/lms/subscribers","subscription_url":"https://api.github.com/repos/maciejlew/lms/subscription","commits_url":"https://api.github.com/repos/maciejlew/lms/commits{/sha}","git_commits_url":"https://api.github.com/repos/maciejlew/lms/git/commits{/sha}","comments_url":"https://api.github.com/repos/maciejlew/lms/comments{/number}","issue_comment_url":"https://api.github.com/repos/maciejlew/lms/issues/comments{/number}","contents_url":"https://api.github.com/repos/maciejlew/lms/contents/{+path}","compare_url":"https://api.github.com/repos/maciejlew/lms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maciejlew/lms/merges","archive_url":"https://api.github.com/repos/maciejlew/lms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maciejlew/lms/downloads","issues_url":"https://api.github.com/repos/maciejlew/lms/issues{/number}","pulls_url":"https://api.github.com/repos/maciejlew/lms/pulls{/number}","milestones_url":"https://api.github.com/repos/maciejlew/lms/milestones{/number}","notifications_url":"https://api.github.com/repos/maciejlew/lms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maciejlew/lms/labels{/name}","releases_url":"https://api.github.com/repos/maciejlew/lms/releases{/id}","created_at":"2013-04-21T18:47:46Z","updated_at":"2015-05-06T18:40:59Z","pushed_at":"2015-12-03T18:32:12Z","git_url":"git://github.com/maciejlew/lms.git","ssh_url":"git@github.com:maciejlew/lms.git","clone_url":"https://github.com/maciejlew/lms.git","svn_url":"https://github.com/maciejlew/lms","homepage":"http://lms.org.pl","size":29655,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"lmsgit:master","ref":"master","sha":"e5629102b97d5042f36ff97bc2ea44645cf42e8d","user":{"login":"lmsgit","id":1464951,"avatar_url":"https://avatars.githubusercontent.com/u/1464951?v=3","gravatar_id":"","url":"https://api.github.com/users/lmsgit","html_url":"https://github.com/lmsgit","followers_url":"https://api.github.com/users/lmsgit/followers","following_url":"https://api.github.com/users/lmsgit/following{/other_user}","gists_url":"https://api.github.com/users/lmsgit/gists{/gist_id}","starred_url":"https://api.github.com/users/lmsgit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmsgit/subscriptions","organizations_url":"https://api.github.com/users/lmsgit/orgs","repos_url":"https://api.github.com/users/lmsgit/repos","events_url":"https://api.github.com/users/lmsgit/events{/privacy}","received_events_url":"https://api.github.com/users/lmsgit/received_events","type":"User","site_admin":false},"repo":{"id":3524851,"name":"lms","full_name":"lmsgit/lms","owner":{"login":"lmsgit","id":1464951,"avatar_url":"https://avatars.githubusercontent.com/u/1464951?v=3","gravatar_id":"","url":"https://api.github.com/users/lmsgit","html_url":"https://github.com/lmsgit","followers_url":"https://api.github.com/users/lmsgit/followers","following_url":"https://api.github.com/users/lmsgit/following{/other_user}","gists_url":"https://api.github.com/users/lmsgit/gists{/gist_id}","starred_url":"https://api.github.com/users/lmsgit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmsgit/subscriptions","organizations_url":"https://api.github.com/users/lmsgit/orgs","repos_url":"https://api.github.com/users/lmsgit/repos","events_url":"https://api.github.com/users/lmsgit/events{/privacy}","received_events_url":"https://api.github.com/users/lmsgit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lmsgit/lms","description":"Lan Management System (LMS) public GIT repo","fork":false,"url":"https://api.github.com/repos/lmsgit/lms","forks_url":"https://api.github.com/repos/lmsgit/lms/forks","keys_url":"https://api.github.com/repos/lmsgit/lms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lmsgit/lms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lmsgit/lms/teams","hooks_url":"https://api.github.com/repos/lmsgit/lms/hooks","issue_events_url":"https://api.github.com/repos/lmsgit/lms/issues/events{/number}","events_url":"https://api.github.com/repos/lmsgit/lms/events","assignees_url":"https://api.github.com/repos/lmsgit/lms/assignees{/user}","branches_url":"https://api.github.com/repos/lmsgit/lms/branches{/branch}","tags_url":"https://api.github.com/repos/lmsgit/lms/tags","blobs_url":"https://api.github.com/repos/lmsgit/lms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lmsgit/lms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lmsgit/lms/git/refs{/sha}","trees_url":"https://api.github.com/repos/lmsgit/lms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lmsgit/lms/statuses/{sha}","languages_url":"https://api.github.com/repos/lmsgit/lms/languages","stargazers_url":"https://api.github.com/repos/lmsgit/lms/stargazers","contributors_url":"https://api.github.com/repos/lmsgit/lms/contributors","subscribers_url":"https://api.github.com/repos/lmsgit/lms/subscribers","subscription_url":"https://api.github.com/repos/lmsgit/lms/subscription","commits_url":"https://api.github.com/repos/lmsgit/lms/commits{/sha}","git_commits_url":"https://api.github.com/repos/lmsgit/lms/git/commits{/sha}","comments_url":"https://api.github.com/repos/lmsgit/lms/comments{/number}","issue_comment_url":"https://api.github.com/repos/lmsgit/lms/issues/comments{/number}","contents_url":"https://api.github.com/repos/lmsgit/lms/contents/{+path}","compare_url":"https://api.github.com/repos/lmsgit/lms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lmsgit/lms/merges","archive_url":"https://api.github.com/repos/lmsgit/lms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lmsgit/lms/downloads","issues_url":"https://api.github.com/repos/lmsgit/lms/issues{/number}","pulls_url":"https://api.github.com/repos/lmsgit/lms/pulls{/number}","milestones_url":"https://api.github.com/repos/lmsgit/lms/milestones{/number}","notifications_url":"https://api.github.com/repos/lmsgit/lms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lmsgit/lms/labels{/name}","releases_url":"https://api.github.com/repos/lmsgit/lms/releases{/id}","created_at":"2012-02-23T11:46:06Z","updated_at":"2015-11-27T14:21:22Z","pushed_at":"2015-12-03T18:39:43Z","git_url":"git://github.com/lmsgit/lms.git","ssh_url":"git@github.com:lmsgit/lms.git","clone_url":"https://github.com/lmsgit/lms.git","svn_url":"https://github.com/lmsgit/lms","homepage":"http://lms.org.pl","size":32476,"stargazers_count":45,"watchers_count":45,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":67,"mirror_url":null,"open_issues_count":30,"forks":67,"open_issues":30,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lmsgit/lms/pulls/468"},"html":{"href":"https://github.com/lmsgit/lms/pull/468"},"issue":{"href":"https://api.github.com/repos/lmsgit/lms/issues/468"},"comments":{"href":"https://api.github.com/repos/lmsgit/lms/issues/468/comments"},"review_comments":{"href":"https://api.github.com/repos/lmsgit/lms/pulls/468/comments"},"review_comment":{"href":"https://api.github.com/repos/lmsgit/lms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lmsgit/lms/pulls/468/commits"},"statuses":{"href":"https://api.github.com/repos/lmsgit/lms/statuses/d98cc5be2b427694903c959ef938f28c534e8677"}}}}