mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 09:23:41 +02:00
MOBI Input: Change default encoding for files that don't specify a codepage from cp1251 to cp1252
This commit is contained in:
parent
92e1466404
commit
b433d2db0e
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ def __init__(self, raw, ident, user_encoding, log, try_extra_data_fix=False):
|
|||
if ident == 'TEXTREAD':
|
||||
self.codepage = 1252
|
||||
if len(raw) <= 16:
|
||||
self.codec = 'cp1251'
|
||||
self.codec = 'cp1252'
|
||||
self.extra_flags = 0
|
||||
self.title = _('Unknown')
|
||||
self.language = 'ENGLISH'
|
||||
|
|
|
|||
Loading…
Reference in a new issue