|
|
@ -168,8 +168,8 @@ class Subtitle(Subtitle_):
|
|
|
|
# http://scratchpad.wikia.com/wiki/Character_Encoding_Recommendation_for_Languages
|
|
|
|
# http://scratchpad.wikia.com/wiki/Character_Encoding_Recommendation_for_Languages
|
|
|
|
|
|
|
|
|
|
|
|
if self.language.alpha3 == 'zho':
|
|
|
|
if self.language.alpha3 == 'zho':
|
|
|
|
encodings.extend(['cp936', 'gb2312', 'gbk', 'gb18030', 'hz', 'iso2022_jp_2', 'cp950', 'gb18030', 'big5',
|
|
|
|
encodings.extend(['cp936', 'gb2312', 'gbk', 'hz', 'iso2022_jp_2', 'cp950', 'big5hkscs', 'big5',
|
|
|
|
'big5hkscs', 'utf-16'])
|
|
|
|
'gb18030', 'utf-16'])
|
|
|
|
elif self.language.alpha3 == 'jpn':
|
|
|
|
elif self.language.alpha3 == 'jpn':
|
|
|
|
encodings.extend(['shift-jis', 'cp932', 'euc_jp', 'iso2022_jp', 'iso2022_jp_1', 'iso2022_jp_2',
|
|
|
|
encodings.extend(['shift-jis', 'cp932', 'euc_jp', 'iso2022_jp', 'iso2022_jp_1', 'iso2022_jp_2',
|
|
|
|
'iso2022_jp_2004', 'iso2022_jp_3', 'iso2022_jp_ext', ])
|
|
|
|
'iso2022_jp_2004', 'iso2022_jp_3', 'iso2022_jp_ext', ])
|
|
|
|