I've found a problem in MobiPerl 0.43, specifically in the mobi2html section. When run on a Mobipocket version 6 file that has the extra data flags set, it doesn't decode the text properly, as it doens't know to ignore the extra data at the end of each text record.
I've raised an issue on the mobiperl tracker, and attached my attempt at a fix, which is working for me but could probably be a lot neater because I don't really know Perl.
I found out about this while trying to fix a problem in a certain Mobipocket DRM removal script.
|