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

RE: html5 validator error for <meta charset="UTF-8">

From: Clive Barton <clive.barton@sky.com>
Date: Thu, 29 May 2014 15:26:24 +0100
To: "'Jukka K. Korpela'" <jkorpela@cs.tut.fi>, <www-validator@w3.org>
Message-ID: <001001cf7b49$f8c03990$ea40acb0$@sky.com>
Hi Yucca,

Thanks for replying... Sorry about the W3Wchools thing - I didn't realise
they were a separate organisation (shame on them)!

I did change something on the page shortly after contacting you about this
issue:
The line <meta charset="UTF-8"> was just before the </head> tag. I since
discovered that it needs to be in the first 1024 bytes of the file in order
to validate correctly, so I moved it up to the top and the validation was
successful.

Sorry I couldn't pre-warn you (save you wasting your time)... I was waiting
for an opportunity!

Thanks for your kind attention and swift response.

Regards,
Clive Barton

-----Original Message-----
From: Jukka K. Korpela [mailto:jkorpela@cs.tut.fi] 
Sent: 28 May 2014 11:29
To: Clive Barton; www-validator@w3.org
Subject: Re: html5 validator error for <meta charset="UTF-8">

2014-05-27 2:48, Clive Barton wrote:

> I used your html5 validator on my website home page:
> www.styleinteriordesigns.co.uk <http://www.styleinteriordesigns.co.uk>
>
> It shows an error for the line: <meta charset="UTF-8"> /(Inside the 
> <head> area of the web page)/

There is no error reported when I test it:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.styleinteriordesigns.co.u
k%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

There is one warning message, with text that says that there are two
warnings (there is something wrong with the way the validator counts
warnings).

> I copied this line directly from W3Schools charset info (pertaining to 
> html5), so I think this may be an error in the validator.

W3Schools is very unreliable, and it is no no way affiliated with the W3C.
See http://w3fools.com. But the tag <meta charset="UTF-8"> is correct.

Did you change something on the page, or did you use some special settings
in the user interface of the validator?

Yucca
Received on Thursday, 29 May 2014 16:30:14 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:11 UTC