View Single Post
Old 04-24-2010, 09:07 PM   #4
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by FizzyWater View Post
Valoric, I have epubs that look fine in Calibre, but when I open them in Sigil (1.9), all the special characters are displayed as gobblydegook.
Create a new issue on the tracker and attach one such file.

As a guess, your file probably specifies two encoding for the XHTML files: one in the XML declaration, and one in the meta tag. Sigil picks the meta tag encoding first (Firefox-like behavior) and Calibre picks the XML tag encoding first.

Goes without saying that a file that specifies two encodings is faulty (it's impossible to have two encodings for one byte stream). The odds that a Reading System will pick the correct one (since only one encoding can be correct) in such a situation is 50-50.
Valloric is offline   Reply With Quote