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 01-14-2012, 11:17 AM   #1
gafitz
Junior Member
gafitz began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jun 2007
Location: Toronto, Canada
Device: PRS-500
Strange punctuation

Hello.
There are instances where an epub in my ereader is properly formatted in all other respects except for quotes and apostrophes. So paragraphs and indents are correct and end of sentence punctuation is also correct, but quotes and apostrophes are question marks (?). So a sentence will read: ?I didn?t do it.?, he said. ?Did you??
When I open the epub in Sigil to do a search and replace or in Calibre reader, in neither instance does the program see the strange punctuation. In both these programs the above sentence reads: I didnt do it., he said. Did you?
Does anyone know why this happens and how to fix it?
Many thanks in advance and in hope.
gafitz is offline   Reply With Quote
Old 01-14-2012, 11:44 AM   #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,798
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 gafitz View Post
Hello.
There are instances where an epub in my ereader is properly formatted in all other respects except for quotes and apostrophes. So paragraphs and indents are correct and end of sentence punctuation is also correct, but quotes and apostrophes are question marks (?). So a sentence will read: ?I didn?t do it.?, he said. ?Did you??
When I open the epub in Sigil to do a search and replace or in Calibre reader, in neither instance does the program see the strange punctuation. In both these programs the above sentence reads: I didnt do it., he said. Did you?
Does anyone know why this happens and how to fix it?
Many thanks in advance and in hope.
The wrong code page (encoding) specified or the Font you are using (on your device) does not support those characters.
Probably
Code:
“ ” ’
theducks is offline   Reply With Quote
Advert
Old 01-15-2012, 09:51 AM   #3
gafitz
Junior Member
gafitz began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jun 2007
Location: Toronto, Canada
Device: PRS-500
Thanks for the reply.
While not understanding the technicalities of your answer (don't know what a code page is or how to access/change it on an ereader) I can understand your logic. However, I'm not sure that I follow it; your explanation allows me to understand why the punctuation is faulty on the ereader but doesn't explain why there is no visible punctuation in Calibre's built-in ereader.
Thanks again and hoping for an answer.
gafitz is offline   Reply With Quote
Old 01-15-2012, 10:15 AM   #4
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,798
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 gafitz View Post
Thanks for the reply.
While not understanding the technicalities of your answer (don't know what a code page is or how to access/change it on an ereader) I can understand your logic. However, I'm not sure that I follow it; your explanation allows me to understand why the punctuation is faulty on the ereader but doesn't explain why there is no visible punctuation in Calibre's built-in ereader.
Thanks again and hoping for an answer.
Your reader is like me going to Montreal
I don't speak French.

Your reader only has certain alphabets (code pages) and either needs the font or needs to be told (inside the book), which of the existing ones to use.

Your computer is loaded with many more fonts.
theducks is offline   Reply With Quote
Old 01-15-2012, 11:47 AM   #5
gafitz
Junior Member
gafitz began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jun 2007
Location: Toronto, Canada
Device: PRS-500
Thanks TheDucks, but.......
I know that my computer has lots more fonts etc. But the point of my question was not why my computer's Calibre built-in reader got the punctuation right but rather why it did not display any punctuation at all except for sentence ending punctuation.
The ereader got it wrong, yes, but it at least it knew that there should be punctuation. The Calibre reader was devoid of anything other than sentence ending punctuation and in places where there should have been punctuation, quotes, apostrophes etc, there was nothing.
My sense is that somewhere between the two punctuation protocols lies the answer to how I can solve my problem.
Thanks for your continued patience!
gafitz is offline   Reply With Quote
Advert
Old 01-15-2012, 12:36 PM   #6
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,798
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 gafitz View Post
Thanks TheDucks, but.......
I know that my computer has lots more fonts etc. But the point of my question was not why my computer's Calibre built-in reader got the punctuation right but rather why it did not display any punctuation at all except for sentence ending punctuation.
The ereader got it wrong, yes, but it at least it knew that there should be punctuation. The Calibre reader was devoid of anything other than sentence ending punctuation and in places where there should have been punctuation, quotes, apostrophes etc, there was nothing.
My sense is that somewhere between the two punctuation protocols lies the answer to how I can solve my problem.
Thanks for your continued patience!
Nothing or Blanks? They are different.
In the Calibre viewer: Right click: Inspect to see the underlying code. abc def is a blank (or non-rendered character) between c and d . abcdef is nothing (what was there is gone)

Last edited by theducks; 01-15-2012 at 12:40 PM.
theducks is offline   Reply With Quote
Old 01-15-2012, 02:18 PM   #7
gafitz
Junior Member
gafitz began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jun 2007
Location: Toronto, Canada
Device: PRS-500
Neat!
I did a screen grab of two sentences in Inspect Mode and as they appear in the viewer. The first sentence has no indication of punctuation in the inspector and none appears in the viewer; in the second, all the correct punctuation is in place in the inspector but in the viewer, no punctuation.
Not a great way to spend your Sunday, but much appreciated.
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2012-01-15 at 2.10.17 PM15-01-2012.png
Views:	240
Size:	30.5 KB
ID:	81374   Click image for larger version

Name:	Screen Shot 2012-01-15 at 2.10.38 PM15-01-2012.png
Views:	232
Size:	53.8 KB
ID:	81375  
gafitz is offline   Reply With Quote
Old 01-15-2012, 02:45 PM   #8
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,798
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 gafitz View Post
Neat!
I did a screen grab of two sentences in Inspect Mode and as they appear in the viewer. The first sentence has no indication of punctuation in the inspector and none appears in the viewer; in the second, all the correct punctuation is in place in the inspector but in the viewer, no punctuation.
Not a great way to spend your Sunday, but much appreciated.
Wow!
as you surmised, #1 does not contain punctuation

#2. Those are straight (double) quotes, right?
They have to be some odd-alternate character that only looks like a quote
theducks is offline   Reply With Quote
Old 01-15-2012, 07:07 PM   #9
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
You could try running an epub-to-epub conversion with the Look&Feel - Transliterate unicode chars to ASCII box checked
jackie_w is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Punctuation problems Halk Calibre 0 10-13-2011 09:02 PM
Loss of Punctuation Marks AllyBally Calibre 2 12-30-2010 03:03 PM
Punctuation Dresden Calibre 7 08-31-2010 05:14 AM
Punctuation jgray Workshop 10 04-14-2010 07:38 AM
Vanishing punctuation Robotech_Master Calibre 25 06-01-2009 10:24 PM


All times are GMT -4. The time now is 06:38 PM.


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