Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 07-27-2011, 11:47 PM   #1
jenlen
Junior Member
jenlen began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2011
Device: Kindle DX
HTML to MOBI question

Hello all!

I convert a lot of HTML Ebooks to MOBI (to read on my Kindle DX). I have a very weird problem though. Often, quotes and apostrophes turn into this:

“

So, a sentence like this: "She's walking the dog now, and then we'll have lunch."

Looks like this "“She“s walking the dog now, and then we“ll have lunch.“

Here is another example:

HTML:
“Fascinating and extremely important…. [A] synopsis doesn’t do credit to the immense subtlety of this book.”

MOBI Output:
“Fascinating and extremely important…. [A] synopsis doesn’t do credit to the immense subtlety of this book.�

I see this in both the MOBI viewer and on the Kindle.

Makes for difficult reading!

I can import the HTML into Word and it fixes it, but that causes even worse problems of making the entire book do weird justifies, plus it bloats the HTML into double the file size.


I tried putting cp1252 into the place the FAQ suggests, but it doesn't solve this.

Anyone have any ideas?

Thanks in advance!
jenlen is offline   Reply With Quote
Old 07-27-2011, 11:49 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,804
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
try UTF-8
theducks is offline   Reply With Quote
Old 07-28-2011, 12:12 AM   #3
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by jenlen View Post
I tried putting cp1252 into the place the FAQ suggests, but it doesn't solve this.
Just to be clear, you need to be following #2 of this section of the FAQ. After you put cp1252 in the html to zip plugin (Preferences - Plugins - File type plugins - HTML to Zip plugin) you have to delete the zip format file and re-add the html to the calibre book record. You can delete and re-add the formats via the formats of area of the edit metadata window.
Attached Thumbnails
Click image for larger version

Name:	htmltozip plugin.jpg
Views:	173
Size:	40.1 KB
ID:	74878  
DoctorOhh is offline   Reply With Quote
Old 07-28-2011, 07:37 AM   #4
jenlen
Junior Member
jenlen began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2011
Device: Kindle DX
UTF-8!

Quote:
Originally Posted by theducks View Post
try UTF-8
That did it!

Thank you!

jenlen is offline   Reply With Quote
Old 07-28-2011, 10:04 AM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,804
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by jenlen View Post
That did it!

Thank you!

The clue was a single character being shown as multiple (>2) characters.
UTF-16 is another choice
theducks is offline   Reply With Quote
Old 10-15-2011, 08:23 PM   #6
jenlen
Junior Member
jenlen began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2011
Device: Kindle DX
I am still having horrors with some HTML to MOBI conversions, cp1252, utf-8, or what have you.

Quotes and dashes turn into these little diamonds with question marks inside, sometimes!

Example:
He asked, �Are you looking at the mountains�or beyond them?"

The first diamond should be a quote symbol, the second one should be a dash.

Even running this one through Word doesn't fix it. I am at a total loss.
jenlen is offline   Reply With Quote
Old 10-15-2011, 09:36 PM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Can you post the header of the HTML?
JSWolf is online now   Reply With Quote
Old 10-15-2011, 10:08 PM   #8
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by jenlen View Post
I am still having horrors with some HTML to MOBI conversions, cp1252, utf-8, or what have you.
You also have to be concerned with encoding when actually adding the html to calibre prior to attempting a conversion. Read this section of the FAQ.
DoctorOhh is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting .html to .mobi Question gilvezan Conversion 1 05-30-2011 01:14 PM
html to MOBI: TOC question robijunior Conversion 2 03-22-2011 02:44 AM
Convert HTML to MOBI (HTML recognized as ZIP file) pdubois Conversion 1 01-25-2011 12:55 PM
mobi -> html mor0o0o Calibre 13 12-05-2009 08:02 AM
HTML to mobi How to AlexBell Calibre 0 06-30-2009 01:17 AM


All times are GMT -4. The time now is 11:24 AM.


MobileRead.com is a privately owned, operated and funded community.