{"action":"created","issue":{"url":"https://api.github.com/repos/woollybogger/srt-to-vtt-cl/issues/3","labels_url":"https://api.github.com/repos/woollybogger/srt-to-vtt-cl/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/woollybogger/srt-to-vtt-cl/issues/3/comments","events_url":"https://api.github.com/repos/woollybogger/srt-to-vtt-cl/issues/3/events","html_url":"https://github.com/woollybogger/srt-to-vtt-cl/pull/3","id":85262163,"number":3,"title":"Don't use UTF8 conversion for non-UTF8 encoded files","user":{"login":"mitsnosrap","id":5825829,"avatar_url":"https://avatars.githubusercontent.com/u/5825829?v=3","gravatar_id":"","url":"https://api.github.com/users/mitsnosrap","html_url":"https://github.com/mitsnosrap","followers_url":"https://api.github.com/users/mitsnosrap/followers","following_url":"https://api.github.com/users/mitsnosrap/following{/other_user}","gists_url":"https://api.github.com/users/mitsnosrap/gists{/gist_id}","starred_url":"https://api.github.com/users/mitsnosrap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitsnosrap/subscriptions","organizations_url":"https://api.github.com/users/mitsnosrap/orgs","repos_url":"https://api.github.com/users/mitsnosrap/repos","events_url":"https://api.github.com/users/mitsnosrap/events{/privacy}","received_events_url":"https://api.github.com/users/mitsnosrap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-04T20:25:59Z","updated_at":"2015-06-05T15:14:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/woollybogger/srt-to-vtt-cl/pulls/3","html_url":"https://github.com/woollybogger/srt-to-vtt-cl/pull/3","diff_url":"https://github.com/woollybogger/srt-to-vtt-cl/pull/3.diff","patch_url":"https://github.com/woollybogger/srt-to-vtt-cl/pull/3.patch"},"body":"I was recently using this excellent tool to convert a large number of SRT caption files to VTT.  A fair amount of them were detected as ANSI encoded.  When using the UTF-8 conversion, the files would be truncated at the first accented character it came across.  I made the following change which fixed the issue for my files.\r\n\r\nI also added some code to print out the file's detected encoding during the conversion process.\r\n\r\nI don't have access to a Windows machine, so I've only updated the Mac binary."},"comment":{"url":"https://api.github.com/repos/woollybogger/srt-to-vtt-cl/issues/comments/109324281","html_url":"https://github.com/woollybogger/srt-to-vtt-cl/pull/3#issuecomment-109324281","issue_url":"https://api.github.com/repos/woollybogger/srt-to-vtt-cl/issues/3","id":109324281,"user":{"login":"woollybogger","id":5128013,"avatar_url":"https://avatars.githubusercontent.com/u/5128013?v=3","gravatar_id":"","url":"https://api.github.com/users/woollybogger","html_url":"https://github.com/woollybogger","followers_url":"https://api.github.com/users/woollybogger/followers","following_url":"https://api.github.com/users/woollybogger/following{/other_user}","gists_url":"https://api.github.com/users/woollybogger/gists{/gist_id}","starred_url":"https://api.github.com/users/woollybogger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woollybogger/subscriptions","organizations_url":"https://api.github.com/users/woollybogger/orgs","repos_url":"https://api.github.com/users/woollybogger/repos","events_url":"https://api.github.com/users/woollybogger/events{/privacy}","received_events_url":"https://api.github.com/users/woollybogger/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T15:14:28Z","updated_at":"2015-06-05T15:14:28Z","body":"Awesome!\r\nIf you're comfortable with squashing commits, could you please squash your 3 commits into 1?"}}