add thai tis-620 subtitle encoding support; fixes #174

This commit is contained in:
panni
2016-07-23 06:38:23 +02:00
parent 139be845e0
commit abeb2c96b1
@@ -86,6 +86,8 @@ class PatchedSubtitle(Subtitle):
encodings.extend(['gb18030', 'big5'])
elif self.language.alpha3 == 'jpn':
encodings.append('shift-jis')
elif self.language.alpha3 == 'tha':
encodings.append('tis-620')
elif self.language.alpha3 == 'ara':
encodings.append('windows-1256')
elif self.language.alpha3 == 'heb':