{"action":"created","issue":{"url":"https://api.github.com/repos/ebroecker/canmatrix/issues/7","labels_url":"https://api.github.com/repos/ebroecker/canmatrix/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/ebroecker/canmatrix/issues/7/comments","events_url":"https://api.github.com/repos/ebroecker/canmatrix/issues/7/events","html_url":"https://github.com/ebroecker/canmatrix/issues/7","id":117488202,"number":7,"title":"Export encoding vs. comment encoding?","user":{"login":"altendky","id":543719,"avatar_url":"https://avatars.githubusercontent.com/u/543719?v=3","gravatar_id":"","url":"https://api.github.com/users/altendky","html_url":"https://github.com/altendky","followers_url":"https://api.github.com/users/altendky/followers","following_url":"https://api.github.com/users/altendky/following{/other_user}","gists_url":"https://api.github.com/users/altendky/gists{/gist_id}","starred_url":"https://api.github.com/users/altendky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/altendky/subscriptions","organizations_url":"https://api.github.com/users/altendky/orgs","repos_url":"https://api.github.com/users/altendky/repos","events_url":"https://api.github.com/users/altendky/events{/privacy}","received_events_url":"https://api.github.com/users/altendky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-18T01:06:30Z","updated_at":"2015-11-19T19:00:58Z","closed_at":null,"body":"I am working over in [altendky/canmatrix](https://github.com/altendky/canmatrix) with a couple short term goals.\r\n\r\n* Support Python3\r\n* Support at least importing of [PEAK/PCAN Explorer](http://www.peak-system.com/PCAN-Explorer-5.249.0.html?&L=1) .sym files\r\n\r\nIn the context of the Python3 situation, `encode()` now returns bytes rather than a string which `write()` doesn't like.  I noticed that if there were only a single encoding specified then it could simply be specified via [`open()`](https://docs.python.org/3/library/functions.html#open) rather than encoding each line individually.  But, there are two encodings specified.\r\n\r\nIn what situation would it make sense to encode the content and comments differently and does that really result in a valid file?\r\n\r\nThanks for any explanation you can provide."},"comment":{"url":"https://api.github.com/repos/ebroecker/canmatrix/issues/comments/158158048","html_url":"https://github.com/ebroecker/canmatrix/issues/7#issuecomment-158158048","issue_url":"https://api.github.com/repos/ebroecker/canmatrix/issues/7","id":158158048,"user":{"login":"altendky","id":543719,"avatar_url":"https://avatars.githubusercontent.com/u/543719?v=3","gravatar_id":"","url":"https://api.github.com/users/altendky","html_url":"https://github.com/altendky","followers_url":"https://api.github.com/users/altendky/followers","following_url":"https://api.github.com/users/altendky/following{/other_user}","gists_url":"https://api.github.com/users/altendky/gists{/gist_id}","starred_url":"https://api.github.com/users/altendky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/altendky/subscriptions","organizations_url":"https://api.github.com/users/altendky/orgs","repos_url":"https://api.github.com/users/altendky/repos","events_url":"https://api.github.com/users/altendky/events{/privacy}","received_events_url":"https://api.github.com/users/altendky/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T19:00:58Z","updated_at":"2015-11-19T19:00:58Z","body":"I was expecting to finish the importer, but thanks!  I was looking around and didn't find any references to supporting enumerations (ENUMS). Did I miss the code or is that not implemented yet?"}}