{"action":"opened","issue":{"url":"https://api.github.com/repos/blue-yonder/bonfire/issues/5","labels_url":"https://api.github.com/repos/blue-yonder/bonfire/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/blue-yonder/bonfire/issues/5/comments","events_url":"https://api.github.com/repos/blue-yonder/bonfire/issues/5/events","html_url":"https://github.com/blue-yonder/bonfire/issues/5","id":125187494,"number":5,"title":"UnicodeEncodeError on GELF messages","user":{"login":"pdepaepe","id":11463691,"avatar_url":"https://avatars.githubusercontent.com/u/11463691?v=3","gravatar_id":"","url":"https://api.github.com/users/pdepaepe","html_url":"https://github.com/pdepaepe","followers_url":"https://api.github.com/users/pdepaepe/followers","following_url":"https://api.github.com/users/pdepaepe/following{/other_user}","gists_url":"https://api.github.com/users/pdepaepe/gists{/gist_id}","starred_url":"https://api.github.com/users/pdepaepe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdepaepe/subscriptions","organizations_url":"https://api.github.com/users/pdepaepe/orgs","repos_url":"https://api.github.com/users/pdepaepe/repos","events_url":"https://api.github.com/users/pdepaepe/events{/privacy}","received_events_url":"https://api.github.com/users/pdepaepe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-06T14:37:00Z","updated_at":"2016-01-06T14:37:00Z","closed_at":null,"body":"Some UTF8 messages are badly detected and crash bonfire with:\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/bonfire\", line 9, in <module>\r\n    load_entry_point('bonfire==0.0.6.post0.dev6+g8261729.dirty', 'console_scripts', 'bonfire')()\r\n  File \"/home/pdepaepe/.local/lib/python2.7/site-packages/click/core.py\", line 610, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/home/pdepaepe/.local/lib/python2.7/site-packages/click/core.py\", line 590, in main\r\n    rv = self.invoke(ctx)\r\n  File \"/home/pdepaepe/.local/lib/python2.7/site-packages/click/core.py\", line 782, in invoke\r\n    return ctx.invoke(self.callback, **ctx.params)\r\n  File \"/home/pdepaepe/.local/lib/python2.7/site-packages/click/core.py\", line 416, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/bonfire/cli.py\", line 185, in run\r\n    run_logprint(gl_api, q, formatter, follow, interval, latency, output)\r\n  File \"/usr/local/lib/python2.7/dist-packages/bonfire/output.py\", line 23, in run_logprint\r\n    result = run_logprint(api, query, formatter, follow=False, output=output)\r\n  File \"/usr/local/lib/python2.7/dist-packages/bonfire/output.py\", line 36, in run_logprint\r\n    formatted_msgs = map(formatter, result.messages)\r\n  File \"/usr/local/lib/python2.7/dist-packages/bonfire/formats.py\", line 52, in format\r\n    field_text=\"; \".join(field_text))\r\nUnicodeEncodeError: 'ascii' codec can't encode character u'\\xf3' in position 214: ordinal not in range(128)"}}