Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-13-2010, 08:04 PM   #1
mikij
Connoisseur
mikij doesn't littermikij doesn't litter
 
Posts: 98
Karma: 161
Join Date: May 2010
Location: Quebec, Canada
Device: PRS-600
Exclamation HTML2ePub conversion (question mark instead single quote)


Hello,

I tried to convert an ebook from html to epub for my SONY PRS-600. However, instead of single quotes, I have question marks. Q.m. appear also sometimes even if there is no single quote in the original text (OK I think I'll fix it by replacing — by -).

In Calibre, I see single quotes correctly, but not on my reader.
What to do?
Thanks.

P.S. It seems fine now after replacing replacing "—" by " - ". Maybe it'll help somebody else.

Last edited by mikij; 07-13-2010 at 08:28 PM.
mikij is offline   Reply With Quote
Old 07-13-2010, 09:23 PM   #2
Poppa1956
Evangelist
Poppa1956 ought to be getting tired of karma fortunes by now.Poppa1956 ought to be getting tired of karma fortunes by now.Poppa1956 ought to be getting tired of karma fortunes by now.Poppa1956 ought to be getting tired of karma fortunes by now.Poppa1956 ought to be getting tired of karma fortunes by now.Poppa1956 ought to be getting tired of karma fortunes by now.Poppa1956 ought to be getting tired of karma fortunes by now.Poppa1956 ought to be getting tired of karma fortunes by now.Poppa1956 ought to be getting tired of karma fortunes by now.Poppa1956 ought to be getting tired of karma fortunes by now.Poppa1956 ought to be getting tired of karma fortunes by now.
 
Poppa1956's Avatar
 
Posts: 487
Karma: 344188
Join Date: May 2010
Location: Oregon, USA
Device: Verizon Ellipsis Tablit w/Kindle and Nook apps.
On my WinXP I've been entering single and double curly quote in Sigil using Alt+0145 for ‘ and Alt+0146 for ’, double quotes (an em-dash is Alt+0151, or you can put "—" in the code view) I've done that with some PDFs converted to epub using Calibre (which conversions were probably done sloppily because I have yet to read the manual.)
Poppa1956 is offline   Reply With Quote
Advert
Old 07-13-2010, 10:04 PM   #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 mikij View Post
I tried to convert an ebook from html to epub for my SONY PRS-600. However, instead of single quotes, I have question marks. Q.m. appear also sometimes even if there is no single quote in the original text (OK I think I'll fix it by replacing — by -).
This FAQ section explains how to get around this without mass editing. Pay particular attention to part 2.

I use trial and error when specifying the encoding, I start with calibre's default (which works fine for me most of the time). If I run into a problem I try the below character encodings one at a time.

cp1252
cp1251
latin1
utf-8
ascii

This has to be specified before adding the html book to calibre. The problem you're seeing is before conversion, it happens when the html book is added to calibre.

Last edited by DoctorOhh; 07-14-2010 at 02:31 AM.
DoctorOhh is offline   Reply With Quote
Old 07-30-2010, 10:35 AM   #4
mikij
Connoisseur
mikij doesn't littermikij doesn't litter
 
Posts: 98
Karma: 161
Join Date: May 2010
Location: Quebec, Canada
Device: PRS-600
I got a couple of Eiji Yoshikawa's books in English, but they contain several Japanese characters , like special "o" in shōgun. They are also replaced by a question mark. Anybody have an idea which character set should I use to see these characters correctly on my Sony? In Calibre view and in HTML (ePub), they are correct.

Thanks,
Mike
mikij is offline   Reply With Quote
Old 07-30-2010, 10:57 AM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The SONY probably doesn't have the fonts needed to display those characters. Either hack your sony to install needed fonts or use the extra css to point to appropriate font files on the sony. Search these forums for instructions on how to do either.
kovidgoyal is offline   Reply With Quote
Advert
Old 08-07-2010, 02:15 AM   #6
mikij
Connoisseur
mikij doesn't littermikij doesn't litter
 
Posts: 98
Karma: 161
Join Date: May 2010
Location: Quebec, Canada
Device: PRS-600
Quote:
Originally Posted by kovidgoyal View Post
The SONY probably doesn't have the fonts needed to display those characters. Either hack your sony to install needed fonts or use the extra css to point to appropriate font files on the sony. Search these forums for instructions on how to do either.
Today I discovered where to put the fonts in my reader and I had some scripts CSS I tried - it worked seamlessly.

Thanks.
mikij is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Conversion Question bschase2 Calibre 2 12-22-2009 09:51 PM
Mobigen Mass Batch conversion of HTML-Single-File ebooks to .mobi ebooks cklammer Kindle Formats 9 11-20-2009 03:00 AM
Conversion Question kpfeifle Sony Reader 1 11-04-2009 07:41 AM
conversion question Indigo Ink Kindle Formats 3 03-09-2009 11:02 AM
PRS-500 Conversion question gczobel Sony Reader Dev Corner 1 01-15-2008 01:36 AM


All times are GMT -4. The time now is 07:25 AM.


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