{"action":"created","issue":{"url":"https://api.github.com/repos/bear/python-twitter/issues/228","labels_url":"https://api.github.com/repos/bear/python-twitter/issues/228/labels{/name}","comments_url":"https://api.github.com/repos/bear/python-twitter/issues/228/comments","events_url":"https://api.github.com/repos/bear/python-twitter/issues/228/events","html_url":"https://github.com/bear/python-twitter/issues/228","id":71535828,"number":228,"title":"How to solve UnicodeEncodeError ?","user":{"login":"rajasimon","id":6974101,"avatar_url":"https://avatars.githubusercontent.com/u/6974101?v=3","gravatar_id":"","url":"https://api.github.com/users/rajasimon","html_url":"https://github.com/rajasimon","followers_url":"https://api.github.com/users/rajasimon/followers","following_url":"https://api.github.com/users/rajasimon/following{/other_user}","gists_url":"https://api.github.com/users/rajasimon/gists{/gist_id}","starred_url":"https://api.github.com/users/rajasimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajasimon/subscriptions","organizations_url":"https://api.github.com/users/rajasimon/orgs","repos_url":"https://api.github.com/users/rajasimon/repos","events_url":"https://api.github.com/users/rajasimon/events{/privacy}","received_events_url":"https://api.github.com/users/rajasimon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-28T09:33:04Z","updated_at":"2015-04-28T17:41:37Z","closed_at":null,"body":"Just tried and gave me this error.. \r\n\r\n\t(flask)tests-MBP:RealTimeHashtag simon$ python\r\n\tPython 2.7.6 (default, Sep  9 2014, 15:04:36) \r\n\t[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin\r\n\tType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n\t>>> import twitter\r\n\t>>> from config import api\r\n\t>>> api.GetTrendsCurrent()\r\n\t/Users/simon/Nightybuild/flask/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.\r\n\t  InsecurePlatformWarning\r\n\t[Traceback (most recent call last):\r\n\t  File \"<stdin>\", line 1, in <module>\r\n\tUnicodeEncodeError: 'ascii' codec can't encode characters in position 1-5: ordinal not in range(128)"},"comment":{"url":"https://api.github.com/repos/bear/python-twitter/issues/comments/97147427","html_url":"https://github.com/bear/python-twitter/issues/228#issuecomment-97147427","issue_url":"https://api.github.com/repos/bear/python-twitter/issues/228","id":97147427,"user":{"login":"bear","id":1267,"avatar_url":"https://avatars.githubusercontent.com/u/1267?v=3","gravatar_id":"","url":"https://api.github.com/users/bear","html_url":"https://github.com/bear","followers_url":"https://api.github.com/users/bear/followers","following_url":"https://api.github.com/users/bear/following{/other_user}","gists_url":"https://api.github.com/users/bear/gists{/gist_id}","starred_url":"https://api.github.com/users/bear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bear/subscriptions","organizations_url":"https://api.github.com/users/bear/orgs","repos_url":"https://api.github.com/users/bear/repos","events_url":"https://api.github.com/users/bear/events{/privacy}","received_events_url":"https://api.github.com/users/bear/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T17:41:37Z","updated_at":"2015-04-28T17:41:37Z","body":"any chance you can get the full trace? v2.2 should not have any problems with unicode"}}