I've converted a fairly decent sized html book (50+ chapters each ~30k) using the defaults of html2lrf with --ignore-tables. The conversion process seems to go smooth, not one single error or warning after tossing on the --ignore-tables parameter.
However when I open the lrf with lrfviewer I get the following error.
Code:
UnicodeDecodeError: 'utf16' codec can't decode bytes in position 1392-1393: illegal encoding
Failed to render document
Detailed traceback:
Traceback (most recent call last):
File "build/bdist.linux-i686/egg/calibre/gui2/lrf_renderer/main.py", line 32, in run
File "build/bdist.linux-i686/egg/calibre/ebooks/lrf/lrfparser.py", line 27, in parse
File "build/bdist.linux-i686/egg/calibre/ebooks/lrf/lrfparser.py", line 55, in _parse_objects
File "build/bdist.linux-i686/egg/calibre/ebooks/lrf/objects.py", line 819, 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 1392-1393: illegal encoding
I know lrfviewer is for testing purposes so I've also tried it on my 500 and WOW, instant hard lock and complete hard reboot after about a minute.
Any idea on what I should toss onto html2lrf to successfully generate the lrf?