Add a "Encode HTML in UTF-8" option strip charset meta tags and re-encode in UTF-8 for books that do not display correctly in calibre viewer

Change the UI appearance to look more balanced.

The main change for this release is this new option to prevent another common circumstance requiring an ePub->ePub conversion. A number of ePubs have the HTML delcared with the incorrect encoding in their <meta> tags. You can see the effect of this by characters like Â appearing when viewed with the calibre ebook viewer, and/or â appearing instead of quotes etc. These epubs will render correctly in ADE, but not most other places. This new option will strip any existing meta tags, and put a UTF-8 xml declaration at the top of each file, which almost always will be sufficient to resolve the issue for both viewing in calibre/web browsers and/or editing with Sigil.

Just added 1.3.0. The utf-8 update checkbox now appears, however calibre still shows "1 updated plugins" link at bottom of screen - even following a restart. Clicking on the link brings up the plugin add screen again.

This list of installed plug-ins says I have 1.2.11 installed - see attachment

When I look at changelog.txt in the zip I downloaded, I see

Code:

Version 1.3.0 - 04 Nov 2012
Add a "Encode HTML in UTF-8" option strip charset meta tags and re-encode in UTF-8 for books that do not display correctly in calibre viewer
Change the UI appearance to look more balanced.
Version 1.2.10 - 31 Aug 2012
Rewrite the playOrder to make sure it is an incremental sequence after actions that delete from the TOC.
Change indenting from mucking up self-closing tags in NCX.
...

And I think the dialogue is different - curvy group boxes looking a bit - iPhoney

Just added 1.3.0. The utf-8 update checkbox now appears, however calibre still shows "1 updated plugins" link at bottom of screen - even following a restart. Clicking on the link brings up the plugin add screen again.

It appears the plugin is numbered 1.2.11 instead of 1.3 so the update message will show until Kiwidude corrects the minor naming issue. It still should work fine.

Hello there, just a quick question.
I got the update to the modify epub plugin today and now when I add a book, convert and then modify, it says that nothing was modified? and then when I do a quality check, today's added books come up as still having non dc metadata etc which the modify epub plugin previously took care of for me.
Thank you if you are able to advise me about this and I appreciate all the hard work that goes into calibre and it's plugins. I've never had the modify epub plugin fail to work for me before today's update

You haven't given me an awful lot to go on in terms of telling me what options you have checked that you expected it to change the ePub. There should be absolutely no difference in behaviour of the existing options between this version and the previous version - it is just a new option that was added. And remove non dc metadata will continue to conflict with if you have "Update metadata" tciked in this plugin, because there is still an ordering issue. It is something I had forgotten to take a look at after Man Eating Duck mentioned it a month or so ago.

Hi kiwidude, thanks for the reply and the welcome. Here goes with better details.

(I do not have the Update metadata ticked.)

Under Known Artifacts- all boxes are ticked.
Under Manifest- I have just the dc metadata ticked.
Under Adobe I have all boxes ticked.
Under Metadata Jackets I have remove all metadata jackets and remove legacy jackets ticked.
Under HTML Styles I have remove embedded fonts, smarten punctuation and remove inline javascript files ticked.
Under Metadata and Covers I have Remove broken image pages ticked.

That is the Modify epub setup that I have been using and when I convert and modify this has always resulted in a successful modification message.
Now it says No books where modified.
I ran the quality check for the non dc metadata as a test and prior to today all non dc metadata was successfully removed, now I get the no books modified message after running the plugin and when I run the quality test the files have indeed not been modified.

Thanks for the details. However those options all work fine for me. Modify ePub will say no changes if it detects there is no changes to be made. Perhaps you have a duplicate in your library or something. If you still have issues PM me a link to your ePub, but I don't see any issues at the moment.

EDIT: Just saw your response - glad to hear it is now working for you. And yeah calibre always needs restarting after updating a plugin.

Ensure than the "Remove non dc: metadata" option will always run after "Update metadata" if both are selected.

Reorganise some of the layout and groups.

I forgot to make the remove non dc: thing run last like was requested a while ago, so now you don't have to do a second pass if you want that option on at the same time as the "Update metadata" one.

I also fiddled with a little bit of the dialog layout/grouping again, so apologies for those of you who have memorised a particular spot to click on for those "one off" enabling/disabling of options but I think it makes a little more sense now for the longer term.