{"action":"created","issue":{"url":"https://api.github.com/repos/CheckPointSW/ExportObjects/issues/1","repository_url":"https://api.github.com/repos/CheckPointSW/ExportObjects","labels_url":"https://api.github.com/repos/CheckPointSW/ExportObjects/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/CheckPointSW/ExportObjects/issues/1/comments","events_url":"https://api.github.com/repos/CheckPointSW/ExportObjects/issues/1/events","html_url":"https://github.com/CheckPointSW/ExportObjects/issues/1","id":307787201,"number":1,"title":"Compatibility with non-unicode","user":{"login":"plater777","id":17410621,"avatar_url":"https://avatars0.githubusercontent.com/u/17410621?v=4","gravatar_id":"","url":"https://api.github.com/users/plater777","html_url":"https://github.com/plater777","followers_url":"https://api.github.com/users/plater777/followers","following_url":"https://api.github.com/users/plater777/following{/other_user}","gists_url":"https://api.github.com/users/plater777/gists{/gist_id}","starred_url":"https://api.github.com/users/plater777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plater777/subscriptions","organizations_url":"https://api.github.com/users/plater777/orgs","repos_url":"https://api.github.com/users/plater777/repos","events_url":"https://api.github.com/users/plater777/events{/privacy}","received_events_url":"https://api.github.com/users/plater777/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-22T19:39:31Z","updated_at":"2018-03-27T12:00:59Z","closed_at":null,"author_association":"NONE","body":"Hi all, I dunno if you are tracking the issues here but I want to let you know that the get_objects.py script doesn't work if you have objects in the Check Point database using non unicode characters: I'm not US based so some objects may have spanish accents or such.\r\n\r\nThe workaround I found to solve the issue is to add the following two lines after the line 10 (>>> import sys):\r\n\r\n>>> reload(sys)\r\n>>> sys.setdefaultencoding('utf-8')\r\n\r\nObviously this force the encoding to UTF-8 to accept the non-unicode characters but it's not a \"perfect\" solution. "},"comment":{"url":"https://api.github.com/repos/CheckPointSW/ExportObjects/issues/comments/376499170","html_url":"https://github.com/CheckPointSW/ExportObjects/issues/1#issuecomment-376499170","issue_url":"https://api.github.com/repos/CheckPointSW/ExportObjects/issues/1","id":376499170,"user":{"login":"chkp-rdecker","id":26377847,"avatar_url":"https://avatars2.githubusercontent.com/u/26377847?v=4","gravatar_id":"","url":"https://api.github.com/users/chkp-rdecker","html_url":"https://github.com/chkp-rdecker","followers_url":"https://api.github.com/users/chkp-rdecker/followers","following_url":"https://api.github.com/users/chkp-rdecker/following{/other_user}","gists_url":"https://api.github.com/users/chkp-rdecker/gists{/gist_id}","starred_url":"https://api.github.com/users/chkp-rdecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chkp-rdecker/subscriptions","organizations_url":"https://api.github.com/users/chkp-rdecker/orgs","repos_url":"https://api.github.com/users/chkp-rdecker/repos","events_url":"https://api.github.com/users/chkp-rdecker/events{/privacy}","received_events_url":"https://api.github.com/users/chkp-rdecker/received_events","type":"User","site_admin":false},"created_at":"2018-03-27T12:00:59Z","updated_at":"2018-03-27T12:00:59Z","author_association":"COLLABORATOR","body":"Thank you for pointing us to this issue.\r\nWill be fixed ASAP."}}
{"actor":{"display_login":"chkp-rdecker"}}