View Single Post
Old 03-08-2010, 02:23 PM   #1
paulpeer
Zealot
paulpeer is on a distinguished road
 
paulpeer's Avatar
 
Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
Encoding declaration in OPF and TOC?

I've made a lot of books with Sigil and sometimes I import them in Calibre. After having done that, I see that often accented characters are shown in the wrong way (e.g. Chinese characters instead of Latin ones) in the TOC and in the meta data.

About the first problem (TOC) I wrote to the programmer of Calibre and his response was "Bug fixed: When decoding NCX toc files, if no encoding is declared and detection has less that 100% confidence, assume UTF-8."

So I understand that the TOC should have an encoding declaration. Can this be added so that Sigil does that automatically? As I understand Sigil delivers perfect utf-8 but doesn't declare so.

Also about the second problem (errors in the meta data) I wrote to Calibre, and the answer was similar: stick an encoding declaration in the OPF.

Hence my similar question: Can Sigil add an encoding declaration to the OPF?

Thanks!
paulpeer is offline   Reply With Quote