View Single Post
Old 08-20-2024, 09:13 PM   #1
scottstephens
Junior Member
scottstephens began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2024
Device: Kindle
[Editor Plugin] FTFY Encoding Fixer

About

This is a Calibre editing plugin to run the ftfy algorithm on book content.

It can be used to fix "mojibake" and other gitches in Unicode text, for instance turning text like this:

> “’Sides, ’tis only for a moon. That ain’t long.�

Into this:

> "'Sides, 'tis only for a moon. That ain't long."

Usage

1. Install the plugin
2. Open Calibre, and open a book for editing
3. In the plugins menu, click the "FTFY Fix Text" entry.
4. If you like the changes that have been made, save the book or save a copy. If not, you can revert changes from the Edit->Revert to... menu item.

Development

Code is available on github if anybody is interested: https://github.com/scottstephens/calibre-ftfy
Attached Files
File Type: zip calibre-ftfy_1.0.0.zip (68.9 KB, 86 views)
scottstephens is offline   Reply With Quote