Quote:
Originally Posted by llasram
The issue with the links is a detail of the way I'm generating beginning-of-file links in oeb2mobi. The Mobipocket renderers seem to handle them fine, but I'll make sure it generates something Mobiperl's mobi2html can handle cleanly.
|
Actually, I take it back. The Mobiperl 'mobi2html' errors with the Mobipocket book I've generated appear to be errors with Mobiperl's handling of UTF-8 encoded books. With UTF-8 encoding, each text record is followed by 0 or more "overlapping" bytes finishing the current multibyte character, plus an 8-bit integer count of the overlapping bytes as an additional byte. These additional bytes are not counted as part of the content length for the purposes of computing the "filepos" of link targets.