[WEB4LIB] RE: New W3C Validator and character encoding

Andrew Cunningham andrewc at mail.vicnet.net.au
Tue Nov 26 18:19:30 EST 2002


I'd assume that the validator is comparing the character encoding in 
three places:

1) the http header
2) the xml declaration
3) the meta tag

at least in theory it should.

Robert Sullivan wrote:
>>The XML encoding and the HTML character set need to be the same.
>>Either UTF-8, iso-8859-1, or us-ascii, just make them the same in both
>>places. Any of the three would probably be correct enough, though
>>us-ascii is the narrowest match.
> 
> 
> Thomas Dowling suggested removing the meta tag which contained the
> encoding, and that seemed to work.
> 
> 
>>When I validated your home page by saving it locally then uploading it
>>post-edit,
>>the validator complained that my browser wasn't sending the right
>>encoding request in the HTTP header - until I stopped using MSIE and
>>used Mozilla instead.
> 
> 
> I got that too when I checked a local file, but not after I uploaded it.
> Must be an Internet Explorer quirk.
> 
> Thanks for the suggestions on and off the list.
> 
> Bob Sullivan  <rsullivan at sals.edu>
> Schenectady County Public Library (NY)  <http://www.scpl.org/>
> Schenectady Digital History Archive
> <http://www.schenectadyhistory.org/>
> 
> 
> .
> 


-- 
Andrew Cunningham
Multilingual  Technical Officer
OPT, Vicnet
State Library of Victoria
Australia

andrewc at vicnet.net.au

Ph: +61-3-8664-7001
Fax: +61-3-9639-2175

http://home.vicnet.net.au/~andrewc/
http://www.openroad.net.au/




More information about the Web4lib mailing list