{"action":"created","issue":{"url":"https://api.github.com/repos/JetBrains/teamcity-python/issues/57","labels_url":"https://api.github.com/repos/JetBrains/teamcity-python/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/JetBrains/teamcity-python/issues/57/comments","events_url":"https://api.github.com/repos/JetBrains/teamcity-python/issues/57/events","html_url":"https://github.com/JetBrains/teamcity-python/pull/57","id":85283209,"number":57,"title":"Fix unicode encode error","user":{"login":"msabramo","id":305268,"avatar_url":"https://avatars.githubusercontent.com/u/305268?v=3","gravatar_id":"","url":"https://api.github.com/users/msabramo","html_url":"https://github.com/msabramo","followers_url":"https://api.github.com/users/msabramo/followers","following_url":"https://api.github.com/users/msabramo/following{/other_user}","gists_url":"https://api.github.com/users/msabramo/gists{/gist_id}","starred_url":"https://api.github.com/users/msabramo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msabramo/subscriptions","organizations_url":"https://api.github.com/users/msabramo/orgs","repos_url":"https://api.github.com/users/msabramo/repos","events_url":"https://api.github.com/users/msabramo/events{/privacy}","received_events_url":"https://api.github.com/users/msabramo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-04T21:22:58Z","updated_at":"2015-06-04T21:44:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JetBrains/teamcity-python/pulls/57","html_url":"https://github.com/JetBrains/teamcity-python/pull/57","diff_url":"https://github.com/JetBrains/teamcity-python/pull/57.diff","patch_url":"https://github.com/JetBrains/teamcity-python/pull/57.patch"},"body":" Fix `UnicodeEncodeError` when `sys.stdout.encoding` is `None` and Unicode is sent -- e.g.:\r\n\r\n```pytb\r\nTraceback (most recent call last):\r\n  File \"/var/folders/gw/w0clrs515zx9x_55zgtpv4mm0000gp/T/tmp5eApc3\", line 7, in <module>\r\n    messages.message(bjork)\r\n  File \"/Users/marca/dev/git-repos/teamcity-python/teamcity/messages.py\", line 30, in message\r\n    self.output.write(message)\r\nUnicodeEncodeError: 'ascii' codec can't encode character u'\\xf6' in position 14: ordinal not in range(128)\r\n```\r\n\r\nCc: @shalupov, @djeebus, @georges"},"comment":{"url":"https://api.github.com/repos/JetBrains/teamcity-python/issues/comments/109063617","html_url":"https://github.com/JetBrains/teamcity-python/pull/57#issuecomment-109063617","issue_url":"https://api.github.com/repos/JetBrains/teamcity-python/issues/57","id":109063617,"user":{"login":"georges","id":3819,"avatar_url":"https://avatars.githubusercontent.com/u/3819?v=3","gravatar_id":"","url":"https://api.github.com/users/georges","html_url":"https://github.com/georges","followers_url":"https://api.github.com/users/georges/followers","following_url":"https://api.github.com/users/georges/following{/other_user}","gists_url":"https://api.github.com/users/georges/gists{/gist_id}","starred_url":"https://api.github.com/users/georges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georges/subscriptions","organizations_url":"https://api.github.com/users/georges/orgs","repos_url":"https://api.github.com/users/georges/repos","events_url":"https://api.github.com/users/georges/events{/privacy}","received_events_url":"https://api.github.com/users/georges/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T21:44:26Z","updated_at":"2015-06-04T21:44:26Z","body":"hey guys looks like you got the wrong georges :)"}}