From 07c2c5d9051e04a4461463140e57d90a8f6caef4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 19 May 2009 21:31:47 -0700 Subject: [PATCH] ... --- src/calibre/ebooks/html/input.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/calibre/ebooks/html/input.py b/src/calibre/ebooks/html/input.py index 82c4f795d4..f880d8731c 100644 --- a/src/calibre/ebooks/html/input.py +++ b/src/calibre/ebooks/html/input.py @@ -262,13 +262,6 @@ class HTMLInput(InputFormatPlugin): ), ]) - def decode(self, raw): - if self.opts.input_encoding: - raw = raw.decode(self.opts.input_encoding, 'replace') - print 111111, type(raw) - return xml_to_unicode(raw, verbose=self.opts.verbose, - strip_encoding_pats=True, resolve_entities=True)[0] - def convert(self, stream, opts, file_ext, log, accelerators): from calibre.ebooks.metadata.meta import get_metadata