Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 02-01-2014, 05:37 PM   #1
mrp1978
Junior Member
mrp1978 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2014
Device: Kobo Aura
Square box before apostrophe

Hi, I'm sorry to bother people. I'm sure this is the kind of question that anyone who understood e-books and e-readers would immediately know the answer to. Unfortunately I am not one of those people, so would really appreciate some help.

I have an ebook in epub format that reads fine through sigil and calibre, but when put on my Kobo Aura, it displays a square before every apostrophe. For example instead of john's it would display john[]'s (if you imagine that the [] is actually a square).

I have converted the file to mobi in calibre and put it on my kindle and it reads fine that way too. I have checked that my Kobo's software is fully up to date.


Does anyone know what this problem might be?
Sorry to bother.

Thanks
mrp1978 is offline   Reply With Quote
Old 02-01-2014, 07:08 PM   #2
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
There is probably an "invisible" character sitting before the apostrophe... it could have been a leftover from a conversion from X format into Y format.

Can't know specifically what the mystery character is unless you attach an actual sample. I am going to take an educated guess and assume it is some sort of unicode "joining" character, or some sort of no width space.

Explanation:

On your computer, you most likely have font support for nearly every character under the sun... take an easy example, the Greek letters: alpha (α), beta (β), gamma (γ).

In Sigil + Calibre + your web browser, the Greek letters will appear/work fine.

BUT, your ereader can't support every symbol under the sun. They may have decided to only support a subset of characters used in English: A-Z + punctuation + some very commonly used accented characters (á, è, í, ç).

Let us say I tried to use a character OUTSIDE of that subset, (let us say, Ancient Greek or Chinese characters)... the device will not be able to display that character so it will replace it with "unknown character" square, or maybe this symbol (looks like a black diamond with a white '?'):



There are a ton of different "spaces" of different widths/usages, for example, this site lists 20 of them:

http://www.cs.tut.fi/~jkorpela/chars/spaces.html

Side Note:

You typically only run into this situation when dealing with accented/rare characters. For example, here are some I ran into during my book conversions, which turn into a box when read on my Nook:

(This was used in a Turkish name) I with a dot over it: İ
s with a cedilla: ş
(This is common in Czech) c with a caron: č
(This was a part of ancient greek quotes) lowercase alpha with a psili and oxia:

Last edited by Tex2002ans; 02-01-2014 at 07:20 PM.
Tex2002ans is offline   Reply With Quote
Advert
Old 02-01-2014, 07:16 PM   #3
mrp1978
Junior Member
mrp1978 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2014
Device: Kobo Aura
Thank you so much. I really appreciate the time you took to give that reply. I shall read, digest and then have a look at the file again.

Thanks
mrp1978 is offline   Reply With Quote
Old 02-01-2014, 07:44 PM   #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,781
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
that might be a:
thin space or en space that is not supported in the current font ( try setting it to use a different, more complete font)

The new editor in Caliber will show the character number on the status line
theducks is online now   Reply With Quote
Old 02-01-2014, 08:23 PM   #5
mrp1978
Junior Member
mrp1978 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2014
Device: Kobo Aura
Thank you very much to both respondents. Very helpful. I think I've both a) sorted my problem, and amazingly b) kind of understood what the problem actually was.

Much appreciated.
mrp1978 is offline   Reply With Quote
Advert
Old 02-01-2014, 08:45 PM   #6
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by mrp1978 View Post
Thank you very much to both respondents. Very helpful. I think I've both a) sorted my problem, and amazingly b) kind of understood what the problem actually was.
Great to hear that you understood/solved the problem.

But let us know how you solved it, and/or how you think you initially got into this situation (did you run a .doc through Calibre?, did you run a .rtf through Calibre? Is this a book you got from Project Gutenberg? Did you pull HTML from a website and plop it into an EPUB? Is this a document you created in Microsoft Word? etc. etc.)!

It is extremely helpful for anyone else who stumbles upon this topic in the future, when they run into the same problem.
Tex2002ans is offline   Reply With Quote
Old 02-01-2014, 09:07 PM   #7
mrp1978
Junior Member
mrp1978 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2014
Device: Kobo Aura
It was a document I downloaded from a forum. Not sure how it had been made, but possibly it was a converted scan of a pdf. It was only a short little thing - about 12 pages on my reader, so fortunately my solution while inelegant (and impractical for a full length book) was fine here. I just opened the document in Sigil and highlighted and typed over all the apostrophes and the letters either side, hopefully replacing whatever unrecognised symbol was hidden in there. I did notice that when I typed an apostrophe it looked slightly different to the ones I was replacing.

I then saved the document, put it back on my reader and all the squares were gone. Probably not the best solution but it got the job done. Not really the answer for a proper book-length epub though. Would have taken ages.
mrp1978 is offline   Reply With Quote
Old 02-02-2014, 02:30 AM   #8
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by mrp1978 View Post
I did notice that when I typed an apostrophe it looked slightly different to the ones I was replacing.
You probably replaced the existing curly apostrophes with the easier-to-type straight ones.
Jellby is offline   Reply With Quote
Old 02-04-2014, 06:14 AM   #9
LadyKate
Fanatic
LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.
 
Posts: 515
Karma: 1470724
Join Date: Jul 2013
Location: Quebec CA
Device: android 4 (samsung tablet and asus tablet)
I find it useful to convert the problem file to html and setting the encoding to utf8 use the w3c verification page to find the problem characters. It takes me less time than going through to find each instance and every time the file is unable to verify because of a problem character I do a search and replace for that character.

http://www.ascii.cl/htmlcodes.htm is a good reference for the most common problem characters.
LadyKate is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apostrophe in book title scheife Kindle Formats 8 10-24-2017 04:55 AM
Code view displays square box instead of non latin characters mashru Sigil 10 08-20-2013 11:09 AM
Need help with an apostrophe mr ploppy Writers' Corner 27 02-17-2012 03:17 PM
apostrophe's deborahjeanne Calibre 4 09-08-2011 09:38 PM
0.5.14 apostrophe's missing... Amalthia Calibre 24 08-11-2009 08:15 PM


All times are GMT -4. The time now is 10:56 AM.


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