11-13-2008, 02:31 PM | #1 |
Stroppy Ginger Scotsman
Posts: 62
Karma: 284
Join Date: Sep 2008
Location: Altrincham, UK
Device: Sony PRS-505
|
Help - Calibre stripping out apostrophes and quotes
Hi,
I have an eReader book which I've converted to HTML using ereader2html.py. The HTML has single quotes (apostrophes) and double quotes present in the source and they all show okay when I view the HTML in IE. However, when I use Calibre to convert the HTML to LRF to put onto my Sony the resulting file has all the qoutes (single and double) stripped out and replaced by spaces. Am I missing some setting/switch which is obviously called "don't remove quotes" or something like that? Or do I have an unusual problem. Is it Calibre or should I have done something different during the conversion from eReader? Thanks in advance for any help. Cheers, Terry. |
11-13-2008, 03:24 PM | #2 |
Resident Curmudgeon
Posts: 75,899
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Take a look at the HTML. See what is being used for the quotes and anisotropies. Then if need be replace them with something that works. I really cannot give much more of a hint/help without seeing the HTML code in question.
|
Advert | |
|
11-13-2008, 04:14 PM | #3 |
creator of calibre
Posts: 44,351
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
your html source is probably using non ascii characters for quotes. The default fonts n the reader dont have glyphs for those characters, so they're rendered as blanks
|
11-13-2008, 04:31 PM | #4 |
Stroppy Ginger Scotsman
Posts: 62
Karma: 284
Join Date: Sep 2008
Location: Altrincham, UK
Device: Sony PRS-505
|
I tried using Wordpad to globally replace all instances of ' with the XML equivalent, ' but that didn't do it.
I asumed that ereader2html would not create non-ascii characters - I'll look at other ways of replacing the characters. Thanks for your replies. Cheers, Terry. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Change single quotes to double quotes | Elfwreck | Workshop | 16 | 04-26-2013 10:06 AM |
Calibre and Smart Quotes | salasnet | Calibre | 9 | 09-27-2010 04:32 AM |
convert straight quotes to curly quotes | alansplace | Calibre | 3 | 09-25-2010 03:51 PM |
Kobo reader cannot parse html file names with space/apostrophes. Can calibre fix this | Bismar | Calibre | 1 | 05-20-2010 01:12 PM |
Calibre stripping quotation marks | gxtal | Calibre | 3 | 12-15-2009 06:30 AM |