![]() |
#1 |
MalcolmRM
![]() Posts: 9
Karma: 10
Join Date: May 2014
Location: Ireland
Device: any and all
|
![]()
I'm sure this has cropped up before but I can't find any such thread. Sigil inserts a query in a black diaper-shape box instead of any accented character, en rule, em rule, paragraph indent ... just about anything that isn't plain-ascii, 0-128. I'm importing from a WordXP Filtered HTML file and changing stuff in the header to fit XHTML specs. There is only one font in the book: Times New Roman (Unicode) ... text, headings ... everything. After doing everything else Sigil creates a perfect epub except for those substituted queries.
|
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
That indicates an encoding issue. Sigil assumes utf8 (utf8/16 are the only valid character encodings for epub). When you get those little black question marks, it means the file you added wasn't utf-8--and Sigil is displaying it with the assumption that it is.
Note that adding the utf-8 declaration to a file does not actually MAKE it a utf-8 file. You're likely dealing with some special characters in a cp-1252 encoded file. Last edited by DiapDealer; 05-05-2014 at 10:46 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,909
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
That is a 'missing glyph' symbol, most probably for the reason stated by Diapdealer
|
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
It's also possible that you've changed the display font for Sigil to a font that doesn't have those characters. Always best to check on a target reading device/app.
|
![]() |
![]() |
![]() |
#5 |
MalcolmRM
![]() Posts: 9
Karma: 10
Join Date: May 2014
Location: Ireland
Device: any and all
|
Thanks everyone. I use TextPad for my text editor because of it's GREP-like search capabilities, but, because this is the first time I've used it with HTML files I didn't notice that it can save specifically in utf-8!
Malcolm-with-a-red-face |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
No need to be embarrassed. Character encoding can be a weird, complicated and confusing bugbear. Glad you got it resolved.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Media Queries | eggheadbooks1 | Kindle Formats | 4 | 12-16-2013 02:32 AM |
Two Queries.... | OBoyle | Calibre | 1 | 03-06-2013 12:08 PM |
¿Convert unicode decomposed characters to unique/normal characters? | JohnQwerty | Calibre | 3 | 04-05-2012 12:08 PM |
queries @ ROBERT N ALL | asdx | Astak EZReader | 8 | 01-15-2010 05:16 PM |
SQL Queries | iain_benson | Calibre | 9 | 06-04-2009 06:08 PM |