T
Trevor L.
When I validate xhtml by http://validator.w3.org/ I get this message
The character encoding specified in the HTTP header (utf-8) is different
from the value in the <meta> element (iso-8859-1). I will use the value from
the HTTP header (utf-8) for this validation.
A typical header reads
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- index_main.html -->
<head>
<title>Index Main</title>
<meta name="Author" content="Trevor Lawrence"/>
<meta http-equiv="Content-Language" content="en-au"/>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
I can't see anywhere that I have specified encoding of utf-8
I used to have this line at the top of my page, before the <!DOCTYPE >
<?xml version="1.0" encoding="UTF-8"?>
but Murray said that this causes IE6 to enter quirks mode.
Since removing it I found that IE6 does in fact behave differently - some
fonts that I specified as reasonably small are now displaying as specified,
whereas before they were much larger.
Is there some way I can get the best of both worlds?
I want IE6 to behave correctly, and the code to validate as iso-8869-1.
(In one case I had an accented e, which failed the validator, so I had to
change it a plain e)
The character encoding specified in the HTTP header (utf-8) is different
from the value in the <meta> element (iso-8859-1). I will use the value from
the HTTP header (utf-8) for this validation.
A typical header reads
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- index_main.html -->
<head>
<title>Index Main</title>
<meta name="Author" content="Trevor Lawrence"/>
<meta http-equiv="Content-Language" content="en-au"/>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
I can't see anywhere that I have specified encoding of utf-8
I used to have this line at the top of my page, before the <!DOCTYPE >
<?xml version="1.0" encoding="UTF-8"?>
but Murray said that this causes IE6 to enter quirks mode.
Since removing it I found that IE6 does in fact behave differently - some
fonts that I specified as reasonably small are now displaying as specified,
whereas before they were much larger.
Is there some way I can get the best of both worlds?
I want IE6 to behave correctly, and the code to validate as iso-8869-1.
(In one case I had an accented e, which failed the validator, so I had to
change it a plain e)