FBReaderJ
FBReaderJ copied to clipboard
reader shows part of book as "encrypted" though it isn't
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.
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" />
Which file do you download? I downloaded ePub from the link, there is no id="chapter14" inside.
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.
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.
There is a reason for that: https://github.com/geometer/FBReaderJ/issues/398