{"action":"opened","issue":{"url":"https://api.github.com/repos/codecov/codecov-python/issues/35","labels_url":"https://api.github.com/repos/codecov/codecov-python/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/codecov/codecov-python/issues/35/comments","events_url":"https://api.github.com/repos/codecov/codecov-python/issues/35/events","html_url":"https://github.com/codecov/codecov-python/issues/35","id":100270719,"number":35,"title":"UnicodeEncodeError when uploading reports data","user":{"login":"vinta","id":652070,"avatar_url":"https://avatars.githubusercontent.com/u/652070?v=3","gravatar_id":"","url":"https://api.github.com/users/vinta","html_url":"https://github.com/vinta","followers_url":"https://api.github.com/users/vinta/followers","following_url":"https://api.github.com/users/vinta/following{/other_user}","gists_url":"https://api.github.com/users/vinta/gists{/gist_id}","starred_url":"https://api.github.com/users/vinta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinta/subscriptions","organizations_url":"https://api.github.com/users/vinta/orgs","repos_url":"https://api.github.com/users/vinta/repos","events_url":"https://api.github.com/users/vinta/events{/privacy}","received_events_url":"https://api.github.com/users/vinta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-11T09:39:19Z","updated_at":"2015-08-11T09:39:19Z","closed_at":null,"body":"``` py\r\n$ codecov --token=MY_CODECOV_TOKEN\r\nTraceback (most recent call last):\r\n  File \"/home/travis/virtualenv/python3.4.2/bin/codecov\", line 9, in <module>\r\n    load_entry_point('codecov==1.2.3', 'console_scripts', 'codecov')()\r\n  File \"/home/travis/virtualenv/python3.4.2/lib/python3.4/site-packages/codecov/__init__.py\", line 325, in cli\r\n    data, codecov = main()\r\n  File \"/home/travis/virtualenv/python3.4.2/lib/python3.4/site-packages/codecov/__init__.py\", line 318, in main\r\n    data = upload(url=codecov.url, branch=codecov.branch, commit=codecov.commit, token=codecov.token, env=codecov.env, slug=codecov.slug, **defaults)\r\n  File \"/home/travis/virtualenv/python3.4.2/lib/python3.4/site-packages/codecov/__init__.py\", line 137, in upload\r\n    result = requests.post(url, data=reports)\r\n  File \"/home/travis/virtualenv/python3.4.2/lib/python3.4/site-packages/requests/api.py\", line 88, in post\r\n    return request('post', url, data=data, **kwargs)\r\n  File \"/home/travis/virtualenv/python3.4.2/lib/python3.4/site-packages/requests/api.py\", line 44, in request\r\n    return session.request(method=method, url=url, **kwargs)\r\n  File \"/home/travis/virtualenv/python3.4.2/lib/python3.4/site-packages/requests/sessions.py\", line 456, in request\r\n    resp = self.send(prep, **send_kwargs)\r\n  File \"/home/travis/virtualenv/python3.4.2/lib/python3.4/site-packages/requests/sessions.py\", line 559, in send\r\n    r = adapter.send(request, **kwargs)\r\n  File \"/home/travis/virtualenv/python3.4.2/lib/python3.4/site-packages/requests/adapters.py\", line 327, in send\r\n    timeout=timeout\r\n  File \"/home/travis/virtualenv/python3.4.2/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py\", line 493, in urlopen\r\n    body=body, headers=headers)\r\n  File \"/home/travis/virtualenv/python3.4.2/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py\", line 291, in _make_request\r\n    conn.request(method, url, **httplib_request_kw)\r\n  File \"/opt/python/3.4.2/lib/python3.4/http/client.py\", line 1090, in request\r\n    self._send_request(method, url, body, headers)\r\n  File \"/opt/python/3.4.2/lib/python3.4/http/client.py\", line 1127, in _send_request\r\n    body = body.encode('iso-8859-1')\r\nUnicodeEncodeError: 'latin-1' codec can't encode characters in position 21994-21999: ordinal not in range(256)\r\n```"}}