{"action":"created","issue":{"url":"https://api.github.com/repos/AlienVault-Labs/OTX-Apps-Bro-IDS/issues/1","labels_url":"https://api.github.com/repos/AlienVault-Labs/OTX-Apps-Bro-IDS/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/AlienVault-Labs/OTX-Apps-Bro-IDS/issues/1/comments","events_url":"https://api.github.com/repos/AlienVault-Labs/OTX-Apps-Bro-IDS/issues/1/events","html_url":"https://github.com/AlienVault-Labs/OTX-Apps-Bro-IDS/issues/1","id":104247533,"number":1,"title":"Encoding problem","user":{"login":"J-Gras","id":9075701,"avatar_url":"https://avatars.githubusercontent.com/u/9075701?v=3","gravatar_id":"","url":"https://api.github.com/users/J-Gras","html_url":"https://github.com/J-Gras","followers_url":"https://api.github.com/users/J-Gras/followers","following_url":"https://api.github.com/users/J-Gras/following{/other_user}","gists_url":"https://api.github.com/users/J-Gras/gists{/gist_id}","starred_url":"https://api.github.com/users/J-Gras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/J-Gras/subscriptions","organizations_url":"https://api.github.com/users/J-Gras/orgs","repos_url":"https://api.github.com/users/J-Gras/repos","events_url":"https://api.github.com/users/J-Gras/events{/privacy}","received_events_url":"https://api.github.com/users/J-Gras/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-01T11:43:14Z","updated_at":"2015-09-02T10:47:10Z","closed_at":null,"body":"Executing the script for the first time, the following error occurred:\r\n```\r\nTraceback (most recent call last):\r\n  File \"./otxv2-bro.py\", line 155, in <module>\r\n    firstRun()\r\n  File \"./otxv2-bro.py\", line 81, in firstRun\r\n    content = pulseToBRO(p)\r\n  File \"./otxv2-bro.py\", line 30, in pulseToBRO\r\n    source = \"Alienvault OTX - %s - %s\" % (pulse[\"name\"].encode('utf-8').replace(\"\\t\", \"\"), pulse[\"id\"])\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 40: ordinal not in range(128)\r\n```\r\nMoving the `encode('utf-8')` to line 42 worked for me."},"comment":{"url":"https://api.github.com/repos/AlienVault-Labs/OTX-Apps-Bro-IDS/issues/comments/137026127","html_url":"https://github.com/AlienVault-Labs/OTX-Apps-Bro-IDS/issues/1#issuecomment-137026127","issue_url":"https://api.github.com/repos/AlienVault-Labs/OTX-Apps-Bro-IDS/issues/1","id":137026127,"user":{"login":"jaimeblasco","id":2078785,"avatar_url":"https://avatars.githubusercontent.com/u/2078785?v=3","gravatar_id":"","url":"https://api.github.com/users/jaimeblasco","html_url":"https://github.com/jaimeblasco","followers_url":"https://api.github.com/users/jaimeblasco/followers","following_url":"https://api.github.com/users/jaimeblasco/following{/other_user}","gists_url":"https://api.github.com/users/jaimeblasco/gists{/gist_id}","starred_url":"https://api.github.com/users/jaimeblasco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaimeblasco/subscriptions","organizations_url":"https://api.github.com/users/jaimeblasco/orgs","repos_url":"https://api.github.com/users/jaimeblasco/repos","events_url":"https://api.github.com/users/jaimeblasco/events{/privacy}","received_events_url":"https://api.github.com/users/jaimeblasco/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T10:47:10Z","updated_at":"2015-09-02T10:47:10Z","body":"@J-Gras I can't reproduce. Do you have the title or Pulse id if the one that is causing the exception?"}}