View Single Post
Old 11-10-2015, 09:47 AM   #4
crankypants
Hmm.
crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.
 
Posts: 124
Karma: 2016606
Join Date: Oct 2015
Device: Android 4.2 Google Play Reader
Quote:
Originally Posted by Toxaris View Post
You must use UTF-8 for that. All reading systems will expect that. The error you mention is because another error probably.
I already specified utf-8 in the header of each XHTML file. I edited my original post to add the XHTML header.

What else do I need to do? Modifiy some of the other files like content.opf? This is the top of my content.opf file which already specifies utf8.

Quote:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="BookId" version="2.0">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlnspf="http://www.idpf.org/2007/opf">
<dc:identifier id="BookId" opf:scheme="UUID">urn:uuid:a507e61b-f4b4-4982-be43-0cc046f4b053</dc:identifier>
<dc:title>Pblah</dc:title>
<dc:creator opf:role="aut">author name</dc:creator>
<dc:language>en</dc:language>
<dc:date opf:event="modification">2015-11-10</dc:date>
</metadata>
I even pasted some German text into Sigil, and made my XHTML headers match exactly what Sigil produced. I still get an error in EPUBreader.

Last edited by crankypants; 11-10-2015 at 09:50 AM.
crankypants is offline   Reply With Quote