changed fallback to cp1252

This commit is contained in:
Philip Ridout 2013-08-14 06:07:23 +01:00
parent 711fa05dc1
commit d724a6c872

View File

@ -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')