Click to See Complete Forum and Search --> : DocType


zincoxide
02-18-2008, 03:13 AM
I'm trying to make my page XHTML compliant.

Can anyone please tell me what type of character encoding should I set?

Centauri
02-18-2008, 06:14 AM
I'm trying to make my page XHTML compliant.

If it is fully xhtml compliant, then IE will not read it, as xhtml should be served as application/xhtml. When xhtml is served as text/html, then the browser is treating it as html with syntax errors. No real need to go past html 4.01 strict.

As far as encoding goes, UTF-8 is usually recognised as being the most appropriate.