Quote:
Originally Posted by NASCARaddicted
now, before I become totally confused:
"utf8 without bom" is the same as "ansi as utf8" right ?
Because, when I open one of the files in notepad in the right corner it says ansi as utf8, but under encodings, it says utf8 without bom.
So it seems as if the files are already coded as utf8 without bom
By the way, the epubs that I created with calibre are all based on utf8 files. Should I change them to uft8 without bom ? I googled and all I found was the recommendation to use utf8. No page ever mentioned bom.
|
I wouldn't get too worried about the BOM. If it says 'UTF-8 without BOM' under the Encodings menu then you're fine. ePub readers shouldn't need a BOM (which is a bit archaic) anyway.
Quote:
The most interesting 2: The <!DOCTYPE> tag is missing
And something is also wrong with the media content.
I just looked at the basic source html file that was also included and it is also missing there. So I let the validator check the source file and within 3300 lines, it found 106 errors. Some of them are very strange, like: it used div style when it should use div class ....
|
You'll want the top of each xhtml file to have
Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
at the very least, and more properly
Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
But if there are strange errors in the source then that might be the root of your problems. Calibre isn't very strict about checking the syntax, which is why I always use Sigil instead.