View Single Post
Old 02-24-2014, 02:03 AM   #9
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,737
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by roger64 View Post
So even if the DOCTYPE is required formally, it is not needed technically if all the code is made out of UTF-16 characters.
I agree with Arios: there seems to be absolutely no compatibility problems arising from this suppression of the DOCTYPE as long as the EPUB 2 contains only UTF-16 characters.
According to the ePub 2.01 specs, files can be encoded either as utf-8 or utf-16 files. I.e., there's no need to use utf-16 files just because you want to avoid including a DOCTYPE. Also, by definition, utf-16 files are at least twice the size of utf-8 files and offer no advantages for languages that use the Latin alphabet.
Doitsu is offline   Reply With Quote