{"action":"closed","issue":{"url":"https://api.github.com/repos/dbwebb-se/python/issues/20","repository_url":"https://api.github.com/repos/dbwebb-se/python","labels_url":"https://api.github.com/repos/dbwebb-se/python/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/dbwebb-se/python/issues/20/comments","events_url":"https://api.github.com/repos/dbwebb-se/python/issues/20/events","html_url":"https://github.com/dbwebb-se/python/issues/20","id":173637594,"number":20,"title":"Executing file with UTF-8 coding","user":{"login":"helikopterspark","id":10763365,"avatar_url":"https://avatars.githubusercontent.com/u/10763365?v=3","gravatar_id":"","url":"https://api.github.com/users/helikopterspark","html_url":"https://github.com/helikopterspark","followers_url":"https://api.github.com/users/helikopterspark/followers","following_url":"https://api.github.com/users/helikopterspark/following{/other_user}","gists_url":"https://api.github.com/users/helikopterspark/gists{/gist_id}","starred_url":"https://api.github.com/users/helikopterspark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helikopterspark/subscriptions","organizations_url":"https://api.github.com/users/helikopterspark/orgs","repos_url":"https://api.github.com/users/helikopterspark/repos","events_url":"https://api.github.com/users/helikopterspark/events{/privacy}","received_events_url":"https://api.github.com/users/helikopterspark/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dbwebb-se/python/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"mosbth","id":169550,"avatar_url":"https://avatars.githubusercontent.com/u/169550?v=3","gravatar_id":"","url":"https://api.github.com/users/mosbth","html_url":"https://github.com/mosbth","followers_url":"https://api.github.com/users/mosbth/followers","following_url":"https://api.github.com/users/mosbth/following{/other_user}","gists_url":"https://api.github.com/users/mosbth/gists{/gist_id}","starred_url":"https://api.github.com/users/mosbth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mosbth/subscriptions","organizations_url":"https://api.github.com/users/mosbth/orgs","repos_url":"https://api.github.com/users/mosbth/repos","events_url":"https://api.github.com/users/mosbth/events{/privacy}","received_events_url":"https://api.github.com/users/mosbth/received_events","type":"User","site_admin":false},"assignees":[{"login":"mosbth","id":169550,"avatar_url":"https://avatars.githubusercontent.com/u/169550?v=3","gravatar_id":"","url":"https://api.github.com/users/mosbth","html_url":"https://github.com/mosbth","followers_url":"https://api.github.com/users/mosbth/followers","following_url":"https://api.github.com/users/mosbth/following{/other_user}","gists_url":"https://api.github.com/users/mosbth/gists{/gist_id}","starred_url":"https://api.github.com/users/mosbth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mosbth/subscriptions","organizations_url":"https://api.github.com/users/mosbth/orgs","repos_url":"https://api.github.com/users/mosbth/repos","events_url":"https://api.github.com/users/mosbth/events{/privacy}","received_events_url":"https://api.github.com/users/mosbth/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-08-28T09:21:13Z","updated_at":"2016-08-31T13:46:47Z","closed_at":"2016-08-31T13:46:47Z","body":"In example/cgi/executing-another-file.cgi, when executing a file containing Swedish characters the script fails on the student server. Adding encoding to open() makes it work, if changing\r\n`exec(open(fullpath).read())`\r\nto:\r\n`exec(open(fullpath, encoding='utf-8').read())` "}}
{"actor":{"display_login":"mosbth"}}