Quote:
Originally Posted by ChrisI
Also, why does the meta tag confuse Sigil, but not the Sony Reader?
|
I've explained this several times.
In the XML declaration, you are saying that the file is encoded in encoding A. In the meta tag, you are saying it's in encoding B. Sigil has no way of knowing which of these is correct. Specifying both makes loading this file a coin toss: some applications will load it as having encoding A, and some will load it as having encoding B. The applications are not at fault.
Firefox is one of the applications that will look at the meta tag first, as will Sigil. RMSDK (which is in the Sony Reader) on the other hand looks at the XML declaration first and picks that encoding.
None of these applications are wrong or right: the epub is saying two different things, and it's a matter of chance what will be believed.
It goes without saying that the spec forbids listing two different encodings, and that a file that
actually has two different encodings is not even theoretically possible. Thus when you specify two, only one can be correct.
So you need to remove the incorrect one, which in this specific instance was the meta tag.