W3C home > Mailing lists > Public > www-validator@w3.org > May 2008

Re: [VE][46] Add Subject Here

From: Michael Adams <linux_mike@paradise.net.nz>
Date: Thu, 29 May 2008 07:47:07 +1200
To: www-validator@w3.org
Message-id: <20080529074707.678abbc9.linux_mike@paradise.net.nz>

On Wed, 28 May 2008 09:22:10 -0400
Valdy Rossit wrote:

> Using Expressionsweb to create website. Appears fine in IE but not
> well in Firefox.
> First error upon Validating Output was
> Line 1, Column 0: character "" not allowed in prolog.
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3

The three characters "" are the BOM of UTF-8 encoded using
ISO-8859-1. Your server is sending your page as ISO-8859-1 instead of
UTF-8 in the HTTP header[1].

I believe some Windows programs always add a BOM to UTF-8 documents
which is unnecessary but allowed in many protocols.

Note that the validator will determine the character encoding from the
HTTP header in preference to the meta Content-Type.

You have two choices, change your server settings, or change the
encoding you use in the document.

The above link will probably be broken as it spreadds across 2 lines,
but the tinyURL below will work for the same thing:


All shall be well, and all shall be well, and all manner of things shall
be well

 - Julian of Norwich 1342 - 1416
Received on Wednesday, 28 May 2008 19:46:28 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:30:58 UTC