Open up Archive. Choose add book from menu and select file ns1.htm. Importer runs for a while. Run it through the converter to LRF. That runs for a while. As far as I can tell the files are encoded in 7bit ASCII which I am presuming is fairly standard for the older web page
Then try to display it with the built in viewer and get the following message.
Code:
UnicodeDecodeError: 'utf16' codec can't decode bytes in position 416-417: illegal UTF-16 surrogate
Failed to render document
Detailed traceback:
Traceback (most recent call last):
File "build/bdist.linux-i686/egg/calibre/gui2/lrf_renderer/main.py", line 33, in run
File "build/bdist.linux-i686/egg/calibre/ebooks/lrf/lrfparser.py", line 28, in parse
File "build/bdist.linux-i686/egg/calibre/ebooks/lrf/lrfparser.py", line 56, in _parse_objects
File "build/bdist.linux-i686/egg/calibre/ebooks/lrf/objects.py", line 840, in initialize
File "build/bdist.linux-i686/egg/calibre/ebooks/lrf/objects.py", line 701, in add_text
File "/usr/lib/python2.5/encodings/utf_16_le.py", line 16, in decode
return codecs.utf_16_le_decode(input, errors, True)
UnicodeDecodeError: 'utf16' codec can't decode bytes in position 416-417: illegal UTF-16 surrogate
Works fine with mobipocket creator but I am hoping the html2lrf will give me a better page layout. Everything seems squashed with mobipocket.
Am running Calibre on Ubuntu linux.
Thanks for any help.