![]() |
#1 |
Tech appreciator
![]() Posts: 26
Karma: 10
Join Date: Jul 2012
Device: Onyx Boox Kepler Pro (wow I love this reader!)
|
character encoding conversion without other changes?
I use Sigil for most changes I want to make to any of my files. But occasionally I still resort to Calibre conversion when I get something with a non-UTF character encoding. Usually when this happens, I'm not changing the file type, just going from one epub to another epub.
Ideally I'd like the file to look the same afterward, with all the font sizes the same and page layouts etc... Mostly they are, but some of the margins get changed, and some of the font sizes. Can someone suggest how I should have the settings configured to get as close as possible to the appearance of the original file? Thanks! |
![]() |
![]() |
![]() |
#2 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,722
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
You can use the Modify ePub plugin, with the latest feature I put in of 'encode HTML in UTF8'. This will handle the 99% of cases.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Tech appreciator
![]() Posts: 26
Karma: 10
Join Date: Jul 2012
Device: Onyx Boox Kepler Pro (wow I love this reader!)
|
I am thoroughly wowed - that is a thing of rare awesomeness! And I have voted with my wallet.
![]() Is it written in Python? I'm thinking about taking a python programming course so I can learn how to do some of these myself. |
![]() |
![]() |
![]() |
#4 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,722
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Thanks for the vote, much appreciated
![]() Yes all plugins for calibre are python, just open up the zip file to look at the code. |
![]() |
![]() |
![]() |
#5 |
Tech appreciator
![]() Posts: 26
Karma: 10
Join Date: Jul 2012
Device: Onyx Boox Kepler Pro (wow I love this reader!)
|
After a few days of using, one final thought... It would be really cool to have this as a standalone app, in addition to the plugin version. That way I wouldn't have to import to Calibre for the sole purpose of doing the conversion. Already using mobi-unpack and certain other to-remain-nameless tools that way.
Maybe if you don't feel like adding that, I'll work on doing it myself after I learn enough python to be dangerous. ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
|
Quote:
The resources I found most useful for getting started were: http://manual.calibre-ebook.com/creating_plugins.html : this is a really good guide to calibre user interface plugins with a simple example that you can use as a starting point for your own UI plugins. For learning Python: http://docs.python.org/2/tutorial/index.html http://www.diveintopython.net/ For reference: http://manual.calibre-ebook.com/plugins.html#plugins |
|
![]() |
![]() |
![]() |
#7 |
Tech appreciator
![]() Posts: 26
Karma: 10
Join Date: Jul 2012
Device: Onyx Boox Kepler Pro (wow I love this reader!)
|
Agama, wow, thank you SO much for the suggestions. I will squirrel them away somewhere for when I'm ready to dig in further.
I don't have much background in programming, just self-taught with vba, and a bit of SQL, and such, and recently with Sigil, have been picking up the HTML/CSS stuff. But I do tend to be pretty adventurous, and have registered for a course in the fundamentals of programming that's based on python. So I have great hopes that it will give the grounding I need to get somewhere with contributing to the plugin bonanza. Again, thanks - it's nice to get the encouragement! |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with character encoding | thesuker | Calibre | 2 | 11-09-2012 10:11 PM |
What character encoding am I seeing? | Claghorn | Conversion | 1 | 08-22-2012 10:02 AM |
Problem with font or character encoding | no harmony | Calibre | 2 | 11-25-2011 09:50 AM |
how to tell the character encoding??? | rheostaticsfan | Calibre | 23 | 06-21-2010 03:26 PM |
Character encoding in the filesystem | Jellby | Bookeen | 1 | 03-30-2008 05:36 AM |