{"action":"created","issue":{"url":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues/2894","labels_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues/2894/labels{/name}","comments_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues/2894/comments","events_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues/2894/events","html_url":"https://github.com/SiCKRAGETV/SickRage/pull/2894","id":111887926,"number":2894,"title":"Saving downloaded subtitles with utf-8 encoding","user":{"login":"mbiernacik","id":1859410,"avatar_url":"https://avatars.githubusercontent.com/u/1859410?v=3","gravatar_id":"","url":"https://api.github.com/users/mbiernacik","html_url":"https://github.com/mbiernacik","followers_url":"https://api.github.com/users/mbiernacik/followers","following_url":"https://api.github.com/users/mbiernacik/following{/other_user}","gists_url":"https://api.github.com/users/mbiernacik/gists{/gist_id}","starred_url":"https://api.github.com/users/mbiernacik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbiernacik/subscriptions","organizations_url":"https://api.github.com/users/mbiernacik/orgs","repos_url":"https://api.github.com/users/mbiernacik/repos","events_url":"https://api.github.com/users/mbiernacik/events{/privacy}","received_events_url":"https://api.github.com/users/mbiernacik/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-10-16T18:39:27Z","updated_at":"2015-10-18T19:41:57Z","closed_at":"2015-10-16T18:43:47Z","pull_request":{"url":"https://api.github.com/repos/SiCKRAGETV/SickRage/pulls/2894","html_url":"https://github.com/SiCKRAGETV/SickRage/pull/2894","diff_url":"https://github.com/SiCKRAGETV/SickRage/pull/2894.diff","patch_url":"https://github.com/SiCKRAGETV/SickRage/pull/2894.patch"},"body":"While saving subtitles there was not specified encoding. As a result saved subtitles with specials characters (e.g. polish signs: ąężźćńół) were not correctly encoded."},"comment":{"url":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues/comments/149041380","html_url":"https://github.com/SiCKRAGETV/SickRage/pull/2894#issuecomment-149041380","issue_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues/2894","id":149041380,"user":{"login":"medariox","id":2893509,"avatar_url":"https://avatars.githubusercontent.com/u/2893509?v=3","gravatar_id":"","url":"https://api.github.com/users/medariox","html_url":"https://github.com/medariox","followers_url":"https://api.github.com/users/medariox/followers","following_url":"https://api.github.com/users/medariox/following{/other_user}","gists_url":"https://api.github.com/users/medariox/gists{/gist_id}","starred_url":"https://api.github.com/users/medariox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/medariox/subscriptions","organizations_url":"https://api.github.com/users/medariox/orgs","repos_url":"https://api.github.com/users/medariox/repos","events_url":"https://api.github.com/users/medariox/events{/privacy}","received_events_url":"https://api.github.com/users/medariox/received_events","type":"User","site_admin":false},"created_at":"2015-10-18T19:41:57Z","updated_at":"2015-10-18T19:41:57Z","body":"@Kravatak76 \r\nCan you please try to replace this line: https://github.com/SiCKRAGETV/SickRage/blob/master/sickbeard/subtitles.py#L138\r\nwith this one: `subliminal.save_subtitles(video, found_subtitles[video].encode('utf-8'), directory=subtitles_path, single=not sickbeard.SUBTITLES_MULTI)`\r\nand see if that works out for you?\r\nOtherwise I will implement the guess_encoding()"}}