Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-28-2011, 12:47 AM   #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 doesnt 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-28-2011, 12:49 AM   #2
theducks
Grand Sorcerer
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: 15,259
Karma: 6020309
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
try UTF-8
theducks is offline   Reply With Quote
Old 07-28-2011, 01: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: 8,908
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: 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:	50
Size:	40.1 KB
ID:	74878  
DoctorOhh is offline   Reply With Quote
Old 07-28-2011, 08: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, 11:04 AM   #5
theducks
Grand Sorcerer
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: 15,259
Karma: 6020309
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
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, 09: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, 10: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: 38,528
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Can you post the header of the HTML?
JSWolf is offline   Reply With Quote
Old 10-15-2011, 11: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: 8,908
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: 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

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 05:18 AM.


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