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

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 09-17-2012, 09:52 PM   #1
irow
Member
irow began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Sep 2012
Device: none
I am getting strange characters when i load an ebook

Hi

I am new here so I hope I posted in the right place.

I borrowed an epub ebook from my library to read and when i load it into the calibre library and double click on it, I get this:



I take it this is not normal? Can you tell me the exact step-by-step instructions to fix it? Calibre has a lot of settings and I feel overwhelmed looking at them.
irow is offline   Reply With Quote
Old 09-17-2012, 10:39 PM   #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: 14,841
Karma: 5654321
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by irow View Post
Hi

I am new here so I hope I posted in the right place.

I borrowed an epub ebook from my library to read and when i load it into the calibre library and double click on it, I get this:



I take it this is not normal? Can you tell me the exact step-by-step instructions to fix it? Calibre has a lot of settings and I feel overwhelmed looking at them.
(force)Set the conversion Codepage option to CP1252 (there are balloon help hints for others, if that one does not solve it)
Those appear to be 'curly quotes" and your source does nt clearly define which CP was used. Calibre guessed wrong, so you need to force it
theducks is offline   Reply With Quote
Old 09-17-2012, 10:43 PM   #3
irow
Member
irow began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Sep 2012
Device: none
ok, but can you tell me the exact step by step guide? i am new to this calibre program

this is what i see

irow is offline   Reply With Quote
Old 09-18-2012, 03:01 AM   #4
paw3pals
Enthusiast
paw3pals doesn't litterpaw3pals doesn't litter
 
paw3pals's Avatar
 
Posts: 47
Karma: 112
Join Date: Mar 2012
Device: nook tablet
Heuristic Processing solved this problem for me for one stubborn ePub file.

Select ebook, Convert books, Convert individually, select Heuristic Processing on the left and enable it.

Quote:
Originally Posted by irow View Post
Hi

I am new here so I hope I posted in the right place.

I borrowed an epub ebook from my library to read and when i load it into the calibre library and double click on it, I get this:



I take it this is not normal? Can you tell me the exact step-by-step instructions to fix it? Calibre has a lot of settings and I feel overwhelmed looking at them.
paw3pals is offline   Reply With Quote
Old 09-18-2012, 10:05 AM   #5
irow
Member
irow began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Sep 2012
Device: none
it still doesn't work =(.

here is some addtional info, the book was originally for adobe digital editions, if that helps.
irow is offline   Reply With Quote
Old 09-18-2012, 12:27 PM   #6
Section8
Zealot
Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.
 
Section8's Avatar
 
Posts: 101
Karma: 1129710
Join Date: Oct 2011
Location: Arlington, TX
Device: Nook Color (daughter), Sony PRST1
Ah - this solves a mystery I encountered a couple of months ago. I got an epub that rendered correctly in ADE, but looked like this in Calibre's viewer as well as my Sony T1 (which I understand is based on ADE).

I ended up just fixing these characters in Sigil (which also rendered those characters incorrectly). I would find a garbled character in Sigil, look at that page in ADE if I couldn't figure out from the context what it was supposed to be, and do a global replace in Sigil (across all html files) to change it to the equivalent html & code. These rendered correctly everywhere.

I think I found them all, but haven't read the book yet to be sure.
Section8 is offline   Reply With Quote
Old 09-18-2012, 12:58 PM   #7
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,228
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
I don't recommend you use heuristics to solve this - it will change other things about your ebook which you don't want changed. Heuristics are intended to "guess" their way to a better structure and will do nasty things if you have the wrong options ticked - if the structure is fine to begin with you will end up with something worse than what you started.

The suggestion by theducks is spot on for 99% of these cases. Just open the conversion dialog, at the top choose to do an epub to epub conversion, click on the "Look & Feel" tab, and in the fifth box down where it says "Input character encoding" change it to "cp1252" and do your conversion.

There are still some circumstances where that won't fix the issue, usually because someone has mangled things even further along the way. In that scenario I use Tweak ePub, open all the html files up in Notepad++, do a bulk find/replace across the files after fiddling with the encodings and saving them as utf-8. It's a pain but it is the minority of times this needs to be done.
kiwidude is offline   Reply With Quote
Old 09-18-2012, 02:21 PM   #8
irow
Member
irow began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Sep 2012
Device: none
Quote:
Originally Posted by kiwidude View Post
I don't recommend you use heuristics to solve this - it will change other things about your ebook which you don't want changed. Heuristics are intended to "guess" their way to a better structure and will do nasty things if you have the wrong options ticked - if the structure is fine to begin with you will end up with something worse than what you started.

The suggestion by theducks is spot on for 99% of these cases. Just open the conversion dialog, at the top choose to do an epub to epub conversion, click on the "Look & Feel" tab, and in the fifth box down where it says "Input character encoding" change it to "cp1252" and do your conversion.

There are still some circumstances where that won't fix the issue, usually because someone has mangled things even further along the way. In that scenario I use Tweak ePub, open all the html files up in Notepad++, do a bulk find/replace across the files after fiddling with the encodings and saving them as utf-8. It's a pain but it is the minority of times this needs to be done.
yes!!! this worked, thanks for the advice!
irow 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
Strange Handling of Cyrillic Characters (DR800S) martienne iRex 2 08-07-2011 06:57 AM
Strange Characters â??s mufc Recipes 2 12-24-2010 06:25 PM
Export from Indesign = strange characters luthar28 Workshop 6 08-16-2010 04:17 PM
after converting to epub, it shows as strange characters? mhmohamadi Calibre 1 05-23-2010 03:03 PM
strange characters jomaweb Calibre 0 01-27-2010 06:10 AM


All times are GMT -4. The time now is 10:12 PM.


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