FBReaderJ icon indicating copy to clipboard operation
FBReaderJ copied to clipboard

reader shows part of book as "encrypted" though it isn't

Open malenki opened this issue 8 years ago • 5 comments

The introduction of the epub version of this book the android FBReader shows as encrypted (German: verschlüsselt) though it isn't. The Linux FBreader has no problems displaying it.

malenki avatar Jun 25 '16 18:06 malenki

I noticed that this happens when chapter has strange characters in its (file)name (long dash '–' or ellipsis '…'). As in: <item id="chapter14" href="chaptername….html" media-type="application/xhtml+xml" />

ghost avatar Jun 09 '17 11:06 ghost

Which file do you download? I downloaded ePub from the link, there is no id="chapter14" inside.

geometer avatar Jun 11 '17 01:06 geometer

Let me provide this example: https://ulozto.net/!h5fbtcQRW0eF/epub-zip (I tried uploading it here but github had problems with it). There is a zip file with two epubs that are almost identical. When I open one, I can read all (four) chapters. When I open the other it says Encrypted section instead of last chapter in FBReader on Android (from F-droid). Linux FBReader displays last chapter in both files just fine.

ghost avatar Jun 12 '17 00:06 ghost

F-Droid :( I tried with the latest version (2.8 beta 21) of official FBReader, everything looks good. I afraid F-Droid is based on very old sources.

geometer avatar Jun 12 '17 03:06 geometer

There is a reason for that: https://github.com/geometer/FBReaderJ/issues/398

ildar avatar Jun 12 '17 06:06 ildar