{"action":"created","issue":{"url":"https://api.github.com/repos/innogames/igcommit/issues/14","repository_url":"https://api.github.com/repos/innogames/igcommit","labels_url":"https://api.github.com/repos/innogames/igcommit/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/innogames/igcommit/issues/14/comments","events_url":"https://api.github.com/repos/innogames/igcommit/issues/14/events","html_url":"https://github.com/innogames/igcommit/issues/14","id":295533513,"number":14,"title":"UnicodeEncodeError: 'ascii' codec can't encode character u'\\u20ac' in position 425: ordinal not in range(128)","user":{"login":"jcoetsie","id":5950960,"avatar_url":"https://avatars2.githubusercontent.com/u/5950960?v=4","gravatar_id":"","url":"https://api.github.com/users/jcoetsie","html_url":"https://github.com/jcoetsie","followers_url":"https://api.github.com/users/jcoetsie/followers","following_url":"https://api.github.com/users/jcoetsie/following{/other_user}","gists_url":"https://api.github.com/users/jcoetsie/gists{/gist_id}","starred_url":"https://api.github.com/users/jcoetsie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcoetsie/subscriptions","organizations_url":"https://api.github.com/users/jcoetsie/orgs","repos_url":"https://api.github.com/users/jcoetsie/repos","events_url":"https://api.github.com/users/jcoetsie/events{/privacy}","received_events_url":"https://api.github.com/users/jcoetsie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-08T14:33:06Z","updated_at":"2018-02-08T16:09:44Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nIt seems there is a problem with encoding unicode characters, in this case the European Euro Sign €\r\n\r\n```\r\nremote: === CheckCommitSummary on 1d03c552 ===\r\nremote: WARNING: commit title not capitalized\r\nremote:\r\nremote:\r\nremote: An error occurred, but the commits are accepted.\r\nremote: Traceback (most recent call last):\r\nremote:   File \"/usr/local/lib/python2.7/dist-packages/igcommit/prereceive.py\", line 116, in main\r\nremote:     state = Runner().run()\r\nremote:   File \"/usr/local/lib/python2.7/dist-packages/igcommit/prereceive.py\", line 34, in run\r\nremote:     check.print_problems()\r\nremote:   File \"/usr/local/lib/python2.7/dist-packages/igcommit/base_check.py\", line 75, in print_problems\r\nremote:     for severity, problem in self.evaluate_problems():\r\nremote:   File \"/usr/local/lib/python2.7/dist-packages/igcommit/base_check.py\", line 85, in evaluate_problems\r\nremote:     for severity, problem in self.get_problems():\r\nremote:   File \"/usr/local/lib/python2.7/dist-packages/igcommit/file_checks.py\", line 327, in get_problems\r\nremote:     self.load_func(self.committed_file.get_content().decode('utf-8'))\r\nremote:   File \"/usr/lib/python2.7/xml/etree/ElementTree.py\", line 1311, in XML\r\nremote:     parser.feed(text)\r\nremote:   File \"/usr/lib/python2.7/xml/etree/ElementTree.py\", line 1651, in feed\r\nremote:     self._parser.Parse(data, 0)\r\nremote: UnicodeEncodeError: 'ascii' codec can't encode character u'\\u20ac' in position 425: ordinal not in range(128)\r\n```\r\n\r\nAny idea?\r\n"},"comment":{"url":"https://api.github.com/repos/innogames/igcommit/issues/comments/364160886","html_url":"https://github.com/innogames/igcommit/issues/14#issuecomment-364160886","issue_url":"https://api.github.com/repos/innogames/igcommit/issues/14","id":364160886,"user":{"login":"jcoetsie","id":5950960,"avatar_url":"https://avatars2.githubusercontent.com/u/5950960?v=4","gravatar_id":"","url":"https://api.github.com/users/jcoetsie","html_url":"https://github.com/jcoetsie","followers_url":"https://api.github.com/users/jcoetsie/followers","following_url":"https://api.github.com/users/jcoetsie/following{/other_user}","gists_url":"https://api.github.com/users/jcoetsie/gists{/gist_id}","starred_url":"https://api.github.com/users/jcoetsie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcoetsie/subscriptions","organizations_url":"https://api.github.com/users/jcoetsie/orgs","repos_url":"https://api.github.com/users/jcoetsie/repos","events_url":"https://api.github.com/users/jcoetsie/events{/privacy}","received_events_url":"https://api.github.com/users/jcoetsie/received_events","type":"User","site_admin":false},"created_at":"2018-02-08T16:09:44Z","updated_at":"2018-02-08T16:09:44Z","author_association":"NONE","body":"Hi,\r\n\r\nI just tested it.\r\n\r\nWith the `master` branch it fails BUT\r\nwith the `check_format_unicode` it passes :-)\r\n\r\ntx for this quick fix...\r\n\r\nLets release this :-)"}}
{"actor":{"display_login":"jcoetsie"}}