mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-03 10:25:32 +01:00
Fix #188
This commit is contained in:
parent
d0434f5915
commit
e7f96c2ee0
1 changed files with 1 additions and 1 deletions
|
|
@ -387,7 +387,7 @@ def fget(self):
|
|||
if len(src) != self.uncompressed_info_size:
|
||||
raise LRFException("Decompression of document meta info\
|
||||
yielded unexpected results")
|
||||
candidate = unicode(src, 'utf-16')
|
||||
candidate = unicode(src, 'utf-16', 'replace')
|
||||
# LRF files produced with makelrf dont have a correctly
|
||||
# encoded metadata block.
|
||||
# Decoding using latin1 is the most useful for me since I
|
||||
|
|
|
|||
Loading…
Reference in a new issue