{"action":"created","issue":{"url":"https://api.github.com/repos/Cliffield/pogo_heatmaps/issues/4","repository_url":"https://api.github.com/repos/Cliffield/pogo_heatmaps","labels_url":"https://api.github.com/repos/Cliffield/pogo_heatmaps/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Cliffield/pogo_heatmaps/issues/4/comments","events_url":"https://api.github.com/repos/Cliffield/pogo_heatmaps/issues/4/events","html_url":"https://github.com/Cliffield/pogo_heatmaps/issues/4","id":168951567,"number":4,"title":"Can't encode character, using fr language","user":{"login":"Plop","id":876470,"avatar_url":"https://avatars.githubusercontent.com/u/876470?v=3","gravatar_id":"","url":"https://api.github.com/users/Plop","html_url":"https://github.com/Plop","followers_url":"https://api.github.com/users/Plop/followers","following_url":"https://api.github.com/users/Plop/following{/other_user}","gists_url":"https://api.github.com/users/Plop/gists{/gist_id}","starred_url":"https://api.github.com/users/Plop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Plop/subscriptions","organizations_url":"https://api.github.com/users/Plop/orgs","repos_url":"https://api.github.com/users/Plop/repos","events_url":"https://api.github.com/users/Plop/events{/privacy}","received_events_url":"https://api.github.com/users/Plop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-02T18:12:27Z","updated_at":"2016-08-02T19:44:13Z","closed_at":null,"body":"Hi,\r\n\r\nWhen running the script with language = fr, I got this error.\r\n\r\n```\r\nroot@pokemaps:/var/www/heatmap# python createheatmaps.py\r\nTraceback (most recent call last):\r\n  File \"createheatmaps.py\", line 127, in <module>\r\n    create_index()\r\n  File \"createheatmaps.py\", line 72, in create_index\r\n    f.write(html)\r\nUnicodeEncodeError: 'ascii' codec can't encode character u'\\xe8' in position 3083: ordinal not in range(128)\r\n```\r\n\r\nHow can I fix this ? Thanks."},"comment":{"url":"https://api.github.com/repos/Cliffield/pogo_heatmaps/issues/comments/237020248","html_url":"https://github.com/Cliffield/pogo_heatmaps/issues/4#issuecomment-237020248","issue_url":"https://api.github.com/repos/Cliffield/pogo_heatmaps/issues/4","id":237020248,"user":{"login":"Cliffield","id":20584910,"avatar_url":"https://avatars.githubusercontent.com/u/20584910?v=3","gravatar_id":"","url":"https://api.github.com/users/Cliffield","html_url":"https://github.com/Cliffield","followers_url":"https://api.github.com/users/Cliffield/followers","following_url":"https://api.github.com/users/Cliffield/following{/other_user}","gists_url":"https://api.github.com/users/Cliffield/gists{/gist_id}","starred_url":"https://api.github.com/users/Cliffield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cliffield/subscriptions","organizations_url":"https://api.github.com/users/Cliffield/orgs","repos_url":"https://api.github.com/users/Cliffield/repos","events_url":"https://api.github.com/users/Cliffield/events{/privacy}","received_events_url":"https://api.github.com/users/Cliffield/received_events","type":"User","site_admin":false},"created_at":"2016-08-02T19:44:13Z","updated_at":"2016-08-02T19:44:13Z","body":"I fixed the encoding error... hopefully.\r\nGet update."}}
{"actor":{"display_login":"Cliffield"}}