<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Brett,<br>
<br>
you don't mention mimetype, so this may be your concern.<br>
a URL would help.<br>
<br>
seems off topic for this list, which relates to web standards,
rather than support.<br>
though a friendly bunch<br>
<br>
~:" <br>
<pre class="moz-signature" cols="72">Jonathan Chetwynd
<a class="moz-txt-link-freetext" href="http://www.gnote.org">http://www.gnote.org</a>
Eyetracking in HTML5</pre>
On 26/03/13 08:19, Brett Ryan wrote:
<blockquote
cite="mid:B6D8664C-32F2-47FB-BEAC-3B0F6D25CE60@gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div>I continually get this validation error, though I have
verified that the page is in fact encoded in windows-1252.</div>
<div><br>
</div>
<div><span style="font-family: Arial, 'Liberation Sans', 'DejaVu
Sans', sans-serif; font-size: 14px; line-height: 18px;
text-align: left; background-color: rgb(238, 238, 238); ">Internal
encoding declaration “iso-8859-1” disagrees with the actual
encoding of the document (“utf-8”).</span></div>
<div><br>
</div>
<div>I have verified the document by downloading from the server
using cURL and uploading to the w3 checker (<a
moz-do-not-send="true" href="http://validator.w3.org/check">http://validator.w3.org/check</a>)
which validates the document as the correct encoding (apart from
the encoding name of windows-1252).</div>
<div><br>
</div>
<div>I've taken the following steps to ensure encoding is correct:</div>
<div><br>
</div>
<div>
<ol style="margin: 0px 0px 1em 30px; padding: 0px; border: 0px;
font-size: 14px; vertical-align: baseline; background-color:
rgb(255, 255, 255); list-style-position: initial;
list-style-image: initial; font-family: Arial, 'Liberation
Sans', 'DejaVu Sans', sans-serif; line-height: 18px;
text-align: left; ">
<li style="margin: 0px; padding: 0px; border: 0px;
vertical-align: baseline; background-color: transparent;
word-wrap: break-word; ">Process that starts forces <code
style="margin: 0px; padding: 0px; border: 0px;
vertical-align: baseline; background-color: rgb(238, 238,
238); font-family: Consolas, Menlo, Monaco, 'Lucida
Console', 'Liberation Mono', 'DejaVu Sans Mono',
'Bitstream Vera Sans Mono', 'Courier New', monospace,
serif; ">LANG='iso-8859-1'</code></li>
<li style="margin: 0px; padding: 0px; border: 0px;
vertical-align: baseline; background-color: transparent;
word-wrap: break-word; ">Forcing <code style="margin: 0px;
padding: 0px; border: 0px; vertical-align: baseline;
background-color: rgb(238, 238, 238); font-family:
Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation
Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono',
'Courier New', monospace, serif; ">file.encoding</code> on
tomcat startup <code style="margin: 0px; padding: 0px;
border: 0px; vertical-align: baseline; background-color:
rgb(238, 238, 238); font-family: Consolas, Menlo, Monaco,
'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono',
'Bitstream Vera Sans Mono', 'Courier New', monospace,
serif; ">-Dfile.encoding=iso-8859-1</code>, this is
confirmed by checking <code style="margin: 0px; padding:
0px; border: 0px; vertical-align: baseline;
background-color: rgb(238, 238, 238); font-family:
Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation
Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono',
'Courier New', monospace, serif; ">Charset.defaultCharset()</code> which
reports <code style="margin: 0px; padding: 0px; border: 0px;
vertical-align: baseline; background-color: rgb(238, 238,
238); font-family: Consolas, Menlo, Monaco, 'Lucida
Console', 'Liberation Mono', 'DejaVu Sans Mono',
'Bitstream Vera Sans Mono', 'Courier New', monospace,
serif; ">ISO-8859-1</code>.</li>
<li style="margin: 0px; padding: 0px; border: 0px;
vertical-align: baseline; background-color: transparent;
word-wrap: break-word; ">Maven project resources are copied
with <code style="margin: 0px; padding: 0px; border: 0px;
vertical-align: baseline; background-color: rgb(238, 238,
238); font-family: Consolas, Menlo, Monaco, 'Lucida
Console', 'Liberation Mono', 'DejaVu Sans Mono',
'Bitstream Vera Sans Mono', 'Courier New', monospace,
serif; ">iso-8859-1</code>: <code style="margin: 0px;
padding: 0px; border: 0px; vertical-align: baseline;
background-color: rgb(238, 238, 238); font-family:
Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation
Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono',
'Courier New', monospace, serif; "><project.build.sourceEncoding>iso-8859-1</project.build.sourceEncoding></code></li>
<li style="margin: 0px; padding: 0px; border: 0px;
vertical-align: baseline; background-color: transparent;
word-wrap: break-word; ">JSP <code style="margin: 0px;
padding: 0px; border: 0px; vertical-align: baseline;
background-color: rgb(238, 238, 238); font-family:
Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation
Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono',
'Courier New', monospace, serif; ">page</code> directive
specifies encoding: <code style="margin: 0px; padding: 0px;
border: 0px; vertical-align: baseline; background-color:
rgb(238, 238, 238); font-family: Consolas, Menlo, Monaco,
'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono',
'Bitstream Vera Sans Mono', 'Courier New', monospace,
serif; "><%@page contentType="text/html;
charset=ISO-8859-1" pageEncoding="ISO-8859-1" %></code></li>
<li style="margin: 0px; padding: 0px; border: 0px;
vertical-align: baseline; background-color: transparent;
word-wrap: break-word; "><code style="margin: 0px; padding:
0px; border: 0px; vertical-align: baseline;
background-color: rgb(238, 238, 238); font-family:
Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation
Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono',
'Courier New', monospace, serif; ">Content-Type</code> has
been set in page head: <code style="margin: 0px; padding:
0px; border: 0px; vertical-align: baseline;
background-color: rgb(238, 238, 238); font-family:
Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation
Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono',
'Courier New', monospace, serif; "><meta
http-equiv="content-type" content="text/html;
charset=iso-8859-1"></code></li>
<li style="margin: 0px; padding: 0px; border: 0px;
vertical-align: baseline; background-color: transparent;
word-wrap: break-word; ">Tomcat <code style="margin: 0px;
padding: 0px; border: 0px; vertical-align: baseline;
background-color: rgb(238, 238, 238); font-family:
Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation
Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono',
'Courier New', monospace, serif; ">URIEncoding</code> set: <code
style="margin: 0px; padding: 0px; border: 0px;
vertical-align: baseline; background-color: rgb(238, 238,
238); font-family: Consolas, Menlo, Monaco, 'Lucida
Console', 'Liberation Mono', 'DejaVu Sans Mono',
'Bitstream Vera Sans Mono', 'Courier New', monospace,
serif; "><Connector port="80" protocol="HTTP/1.1"
connectionTimeout="20000" URIEncoding="iso-8859-1"
redirectPort="8443" /></code></li>
</ol>
</div>
<div>This is following from the SO question I have <a
moz-do-not-send="true"
href="http://stackoverflow.com/questions/15610618/why-does-my-html-validator-keep-reporting-a-different-encoding-to-that-of-the-pa">Why
does my HTML validator keep reporting a different encoding to
that of the page?</a></div>
<div><br>
</div>
<div>To the moderator, I apologise I accidentally sent the
original message from my other email account.</div>
<div><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Help mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Help@lists.whatwg.org">Help@lists.whatwg.org</a>
<a class="moz-txt-link-freetext" href="http://lists.whatwg.org/listinfo.cgi/help-whatwg.org">http://lists.whatwg.org/listinfo.cgi/help-whatwg.org</a>
</pre>
</blockquote>
<br>
</body>
</html>