Dejan Kozina skrev:

The encoding declaration in the XML prolog is required only if you use an encoding that's not utf-8 or utf-16. XHTML documents default to utf-8 if not otherwise specified, while HTML (4.01) documents have no default charset.

http://www.w3.org/TR/xhtml-media-types/

"Authors should also be careful about character encoding issues. A typical misunderstanding is that since an XHTML document is an XML document, the character encoding of an XHTML document should be treated as UTF-8 or UTF-16 in the absence of an explicit character encoding information. This is *NOT* the case when an XHTML document is served as 'text/html'."

/Anders
******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to