View Single Post
Old 08-18-2010, 10:27 PM   #10
NASCARaddicted
Addict
NASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and grace
 
Posts: 340
Karma: 43106
Join Date: Apr 2009
Location: Germany
Device: BeBook One, Pocketbook Touch, Pocketbook Touch HD
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.


Oh, but to throw that in: I know the base source file for epub have to be xhtml 1.1 valid. So I guess the same appeals to the html files in the epub ? Because I just opened one with a validator and it gave me 8 errors.

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 ....

I guess that is the main problem. I expected the whole thing xhtml valid ... so when it comes to epubs, never rely on others using valid xhtml files.
NASCARaddicted is offline   Reply With Quote