W3C home > Mailing lists > Public > www-validator@w3.org > September 2003

Re: Validator says my ISO-8859-1 page is not US-ASCII

From: Martin Duerst <duerst@w3.org>
Date: Fri, 05 Sep 2003 16:40:00 -0400
Message-Id: <4.2.0.58.J.20030905163819.00a86958@localhost>
To: Bjoern Hoehrmann <derhoermi@gmx.net>, Jan Egil Kristiansen <janegil@landsbank.fo>
Cc: www-validator@w3.org

Bjoern is correct, the document should be interpreted as US-ASCII.
One way to fix that is to change the content type to application/xml.

I guess the validator should give more explanations if it complains about
encoding issues.

Regards,    Martin.

At 15:42 03/09/05 +0200, Bjoern Hoehrmann wrote:

>* Jan Egil Kristiansen wrote:
> >http://validator.w3.org/check?uri=http%3A%2F%2Fheima.olivant.fo%2F%7Estyr 
> heim%2Fblog.rss.xml&ss=1&outline=1&sp=1&verbose=1
> >
> >The validator complains that the page "contained one or
> >more bytes that I cannot interpret as us-ascii".
> >
> >The page is declared to be ISO-8859-1, so naturally it
> >contains non-ASCII. It is validated by XML Spy, so why
> >can't validator.w3.org accept it?
>
>http://cgi.w3.org/cgi-bin/headers?url=http%3A%2F%2Fheima.olivant.fo%2F%7Est 
>yrheim%2Fblog.rss.xml
>
>Your document is delivered as text/xml with no charset parameter;
>implementations of the text/xml MIME type must assume us-ascii in
>this case regardless of what the XML declaration might say.
Received on Friday, 5 September 2003 17:40:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:09 GMT