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:
|
try:
|
||||||
return unicode(data, chardet.detect(data)['encoding'])
|
return unicode(data, chardet.detect(data)['encoding'])
|
||||||
except:
|
except:
|
||||||
while True:
|
return unicode(data, u'cp1252')
|
||||||
try:
|
|
||||||
return unicode(data, self.encoding)
|
|
||||||
except:
|
|
||||||
self.encoding = retrieve_windows_encoding()
|
|
Loading…
Reference in New Issue
Block a user