For reference, there's more info about this issue over in the "Modify ePub"
thread. Here's the gist of it, though...
I've added a pair of very similar routines to the Modify ePub plugin, both related to removing excess gunk from EPUB books. However, in some circumstances, I'm running into a Unicode translation issue that I've been unable to solve. I've tried explicitly converting both items to Unicode during the comparison, along with a few similar approaches, but nothing seems to work and I've hit a wall. Can anyone lend a hand, if only by simply pointing me in the right direction?
There's a bug report
here*, and my first link above is to a post with the latest version of the code. That's not the version I'm currently using, though; I've reverted to
this version until I can find a working Unicode fix.
* As
successive posts make clear, the bug reporter is not actually trying to "remove kobo drm," but rather to remove bloated code left behind in ex-kepubs after removal of the Kobo DRM by another tool - which, of course, shall remain nameless. The Modify ePub plugin itself does not remove DRM, but the whole point of one of the new routines is to clean up ex-kepubs and get them closer to being true EPUBs, just as the non-beta version of the plugin already does for the META tags left behind by ADEPT DRM.