View Single Post
Old 07-18-2011, 02:36 PM   #49
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by kazbates View Post
Do I do this on each of the html files? Do I need to reload the epub file into Sigil somehow?

I changed the first line of one of the files, the one that read:

<?xml version="1.0"?>

to the one you gave me, saved it and exited. I tried to view it with Reader Library and it still had the other characters. When I brought it back up in Sigil, the line was back to the old code: <?xml version="1.0"?> . I have no idea why.

If I don't bring the epub file up in Sigil, the original displays with the correct characters. When I bring it up in Sigil and save, the wrong characters are there (are they Ascii? - I don't know what to call them).
The are UTF-8 being shown as ASCII. I am not sure why Sigil would switch the top line to remove the entry. That is really strange but you can also encode the same information in the <head> section as:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

Either should work but if both are in a file they must agree. Yes, you will need the fix in every file.

Dale
DaleDe is offline   Reply With Quote