06-27-2016, 09:28 AM | #1 |
Connoisseur
Posts: 51
Karma: 10
Join Date: Jun 2016
Location: Best place in the World: my house.
Device: Kindle 3, Kindle Voyage
|
Faulty ePub to mobi conversion
Hi all,
I normally use kindlegen to make the conversion from epub to mobi in files previously ddrmed, in Spanish language. From time to time, I find that the conversion is far to be perfect: every accented word is not correctly converted, displaying accented vowels by weird symbols. The same epub is flawlessly converted by Calibre, however. I use both programs using the defaults. And that is baffling me ¡a lot! I am on a MacBook Pro running 'El Capitan', DeDRM ver 6.4.3, kindlegen V 2.9 build 1028-0897292 and calibre 2.60. I'd like to know the reason for this, as I'd like to be as far as possible from calibre (for the purpose of conversion) and keep on using kindlegen. Thank very much in advance and forgive me: English is not my mother tongue. Check these snapshots, kindlegen conversion (left), calibre conversion (right) |
06-27-2016, 11:35 AM | #2 |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
That looks like an encoding issue. Try the following:
Open the book with Sigil and re-save it. That should fix all encoding issues. BTW, there's also a Sigil KindleGen plugin (which I wrote) that allows you to generate books with Kindlegen. |
Advert | |
|
06-27-2016, 11:56 AM | #3 |
Connoisseur
Posts: 51
Karma: 10
Join Date: Jun 2016
Location: Best place in the World: my house.
Device: Kindle 3, Kindle Voyage
|
It functions like a charm. Thanks, Doitsu!
Anyway, do you know how to do it without Sigil, just using an editor and Kindlegen? TIA |
06-27-2016, 12:47 PM | #4 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
You'd either have to unpack each epub, open each (X)HTML file and save it as utf-8 or use a script to unpack the epub and resave it as utf-8 Calibre also has command line tools that allows you to do an epub-to-epub conversion. |
|
06-27-2016, 04:29 PM | #5 | |
Connoisseur
Posts: 51
Karma: 10
Join Date: Jun 2016
Location: Best place in the World: my house.
Device: Kindle 3, Kindle Voyage
|
Quote:
Well, I'll not lose any more time with this annoyance. Again, thank you very much. Last edited by troubledMan; 06-28-2016 at 03:42 AM. |
|
Advert | |
|
06-27-2016, 06:44 PM | #6 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Sigil usually adds the following for epub2 files: Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
06-28-2016, 03:44 AM | #7 | |
Connoisseur
Posts: 51
Karma: 10
Join Date: Jun 2016
Location: Best place in the World: my house.
Device: Kindle 3, Kindle Voyage
|
Quote:
|
|
06-29-2016, 10:15 AM | #8 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
I've never had a problem uploading epubs to the KDP. They convert just fine, though it's best not to include a cover in an epub. Once in a rare while, you wind up with a double cover.
But then, I create my epubs with Sigil. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Conversion from mobi (to mobi, or epub) breaks internal links | bounder | Conversion | 1 | 10-09-2012 11:56 AM |
EPUB to MOBI Conversion | sarafnikit | Conversion | 0 | 03-27-2012 04:40 AM |
.epub to .mobi after conversion | illustrata | Conversion | 9 | 05-10-2011 06:09 AM |
Epub to Mobi conversion | MichaelGray | Calibre | 2 | 08-12-2010 01:08 PM |