forked from openlp/openlp
changed fallback to cp1252
This commit is contained in:
parent
711fa05dc1
commit
d724a6c872
@ -227,8 +227,4 @@ class SongShowPlusImport(SongImport):
|
||||
try:
|
||||
return unicode(data, chardet.detect(data)['encoding'])
|
||||
except:
|
||||
while True:
|
||||
try:
|
||||
return unicode(data, self.encoding)
|
||||
except:
|
||||
self.encoding = retrieve_windows_encoding()
|
||||
return unicode(data, u'cp1252')
|
Loading…
Reference in New Issue
Block a user